joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420730
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf8
mov eax, dword [0x46ab5c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xf8], ecx
mov dword [ebp - 0xe8], 0
mov byte [ebp - 0xe4], 0
xor eax, eax
mov dword [ebp - 0xe3], eax
mov dword [ebp - 0xdf], eax
mov dword [ebp - 0xdb], eax
mov dword [ebp - 0xd7], eax
mov word [ebp - 0xd3], ax
mov byte [ebp - 0xd1], al
mov dword [ebp - 0xf4], 0
xor ecx, ecx
mov dword [ebp - 0xf0], ecx
mov dword [ebp - 0xec], ecx
mov word [ebp - 0xd0], 0
push 0xc6
push 0
lea edx, [ebp - 0xce]
push edx
call sub.MSVCR80.dll_memset
add esp, 0xc
push str.Chinese_simplified
push 0
call dword [sym.imp.MSVCR80.dll_setlocale]
add esp, 8
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xf8]
add ecx, 0x14
call fcn.004010a0
mov ecx, dword [ebp - 0xf8]
call fcn.00420dd0
push 1
lea ecx, [ebp - 0xe4]
push ecx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea edx, [ebp - 0xe4]
push edx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov dword [ebp - 0xf4], 0xc
lea eax, [ebp - 0xe4]
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0xf8]
add ecx, 0x18
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.GlobalBFD88F2D_0990_4de4_AD0F_764F5894389A__d
lea edx, [ebp - 0xd0]
push edx
call fcn.00421a10
add esp, 0xc
lea eax, [ebp - 0xd0]
push eax
push 1
push 1
lea ecx, [ebp - 0xf4]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edx, dword [ebp - 0xf8]
mov dword [edx + 8], eax
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0xf8]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0xf8]
cmp dword [edx + 8], 0
je 0x420898
mov eax, dword [ebp - 0xf8]
cmp dword [eax + 0xc], 0
jne 0x42089c
xor eax, eax
jmp 0x4208df
push 0
push 0
mov ecx, dword [ebp - 0xf8]
push ecx
push 0x420ad0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 0xf8]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0xf8]
cmp dword [eax + 0x10], 0
jne 0x4208cf
xor eax, eax
jmp 0x4208df
mov dword [ebp - 0xe8], 1
mov eax, dword [ebp - 0xe8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044be2c
mov esp, ebp
pop ebp
ret 4

Function at 0x420ca0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x420ce3
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 1
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCR80.dll_fwrite]
add esp, 0x10
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
push 2
push 1
push 0x457d14
call dword [sym.imp.MSVCR80.dll_fwrite]
add esp, 0x10
mov esp, ebp
pop ebp
ret 8
Function at 0x420d20
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
push 0
push 0x80
push 3
push 0
push 3
push closesocket
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x420d59
xor eax, eax
jmp 0x420d82
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x420d75
mov dword [ebp - 4], 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4

Function at 0x420d90
Capabilities:
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov esp, ebp
pop ebp
ret 8

Function at 0x421f90
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x421fac
mov eax, dword [ebp - 4]
jmp 0x422087
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
shr ecx, 3
xor eax, 0xffffffff
test ecx, ecx
je 0x422062
push ebp
mov ebp, ecx
xor edx, edx
xor ecx, ecx
mov edi, edi
mov ebx, dword [esi]
add esi, 4
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x457d30]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x457d30]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x457d30]
mov cl, bh
xor eax, edi
mov ebx, dword [esi]
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x457d30]
add esi, 4
xor eax, edi
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x457d30]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x457d30]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x457d30]
mov cl, bh
xor eax, edi
xor cl, al
shr eax, 8
xor eax, dword [ecx*4 + 0x457d30]
dec ebp
jne 0x421fcc
pop ebp
mov ecx, dword [ebp + 0x10]
xor edx, edx
and ecx, 7
je 0x42207e
mov dl, byte [esi]
inc esi
xor dl, al
shr eax, 8
xor eax, dword [edx*4 + 0x457d30]
dec ecx
jne 0x42206c
xor eax, 0xffffffff
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x422090
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0xc]
push eax
push 1
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4220de
jmp 0x422113
mov dword [ebp - 8], 4
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
push 0
push 0x458130
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42210d
jmp 0x422113
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0xc], 0
je 0x42212a
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x422140
Capabilities:
Get proxy
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x46ab5c]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x414], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x410], 0
mov dword [ebp - 0x40c], 0
mov al, byte [0x454aff]
mov byte [ebp - 0x408], al
push 0x3ff
push 0
lea ecx, [ebp - 0x407]
push ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
lea edx, [ebp - 0x410]
push edx
push 1
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4221c1
jmp 0x422216
mov dword [ebp - 0x40c], 0x400
lea eax, [ebp - 0x40c]
push eax
lea ecx, [ebp - 0x408]
push ecx
push 0
push 0
push str.ProxyServer
mov edx, dword [ebp - 0x410]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4221fc
jmp 0x422216
lea eax, [ebp - 0x408]
push eax
mov ecx, dword [ebp + 8]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov dword [ebp - 0x414], 1
cmp dword [ebp - 0x410], 0
je 0x422236
mov ecx, dword [ebp - 0x410]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x410], 0
mov eax, dword [ebp - 0x414]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0044be2c
mov esp, ebp
pop ebp
ret
Function at 0x422aa0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4500c8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x46ab5c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x10]
call fcn.004068d0
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], str.www.baidu.com
mov dword [ebp - 0x24], str.www.qq.com
mov dword [ebp - 0x20], str.www.sina.com
mov dword [ebp - 0x1c], str.www.sohu.com
mov dword [ebp - 0x18], str.www.xunlei.com
mov dword [ebp - 0x14], str.www.163.com
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCR80.dll_srand]
add esp, 4
call dword [sym.imp.MSVCR80.dll_rand]
xor edx, edx
mov ecx, 6
div ecx
mov dword [ebp - 0x34], edx
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp + edx*4 - 0x28]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x422b4e
jmp 0x422bbd
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx]
movsx ecx, byte [eax + 3]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
movsx edx, byte [ecx + 2]
and edx, 0xff
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
movsx eax, byte [edx + 1]
and eax, 0xff
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx]
movsx ecx, byte [eax]
and ecx, 0xff
push ecx
push str._d._d._d._d
lea edx, [ebp - 0x10]
push edx
call fcn.0041cd50
add esp, 0x18
lea ecx, [ebp - 0x10]
call fcn.0040f280
push eax
call fcn.00422bf0
add esp, 4
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401080
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x422bf0
Capabilities:
Send icmp echo request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x46ab5c]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x414], 0xffffffff
mov eax, dword [str.test_net]
mov dword [ebp - 0x408], eax
mov ecx, dword [0x4582bc]
mov dword [ebp - 0x404], ecx
mov dl, byte [0x4582c0]
mov byte [ebp - 0x400], dl
push 0x3f7
push 0
lea eax, [ebp - 0x3ff]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0x410], 0
mov dword [ebp - 0x40c], 1
call sub.IPHLPAPI.DLL_IcmpCreateFile
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 0xffffffff
jne 0x422c79
jmp 0x422ceb
push 0x41c
call fcn.0044be20
add esp, 4
mov dword [ebp - 0x418], eax
mov ecx, dword [ebp - 0x418]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x422c9f
jmp 0x422ceb
push 0x2710
push 0x41c
mov edx, dword [ebp - 4]
push edx
push 0
push 0x400
lea eax, [ebp - 0x408]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_inet_addr]
push eax
mov edx, dword [ebp - 0x414]
push edx
call sub.IPHLPAPI.DLL_IcmpSendEcho
mov dword [ebp - 0x410], eax
cmp dword [ebp - 0x410], 0
je 0x422ceb
mov dword [ebp - 0x40c], 0
cmp dword [ebp - 0x414], 0xffffffff
je 0x422d00
mov eax, dword [ebp - 0x414]
push eax
call sub.IPHLPAPI.DLL_IcmpCloseHandle
cmp dword [ebp - 4], 0
je 0x422d1e
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x41c], ecx
mov edx, dword [ebp - 0x41c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [ebp - 0x40c]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0044be2c
mov esp, ebp
pop ebp
ret

Function at 0x422fb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push str.SOFTWAREMyDriversDriverGenius
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x422ff9
jmp 0x423086
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0x204
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 4]
push eax
push 0
push str.AppPath
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x423039
cmp dword [ebp - 4], 1
jne 0x423039
cmp dword [ebp - 0x18], 6
jae 0x42303d
jmp 0x423086
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.MSVCR80.dll_wcslen]
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dx, word [ecx + eax*2 - 2]
mov word [ebp - 0x1c], dx
movzx eax, word [ebp - 0x1c]
cmp eax, 0x5c
je 0x42307f
movzx ecx, word [ebp - 0x1c]
cmp ecx, 0x2f
je 0x42307f
push 0x4552a0
lea edx, [ebp + 8]
push edx
call fcn.004230a0
add esp, 8
mov dword [ebp - 0xc], 1
cmp dword [ebp - 8], 0
je 0x423096
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x4257b0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
push str.support.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov edx, dword [ebp - 8]
cmp dword [edx], 0
je 0x425888
push str.GetRegInfo
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
push str.ShowSupportCenter
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 8]
mov dword [edx + 8], eax
push str.ShowRenewWin
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
push str.ShowRegWin
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 8]
mov dword [edx + 0x10], eax
push str.InitLibary
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 8]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x14], 0
je 0x42587c
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x10], 0
je 0x42587c
mov edx, dword [ebp - 8]
cmp dword [edx + 0xc], 0
je 0x42587c
mov eax, dword [ebp - 8]
cmp dword [eax + 8], 0
je 0x42587c
mov ecx, dword [ebp - 8]
cmp dword [ecx + 4], 0
jne 0x425881
or eax, 0xffffffff
jmp 0x42588b
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x42b040
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 8]
and ecx, 9
mov edx, dword [ebp - 8]
mov byte [edx + 8], cl
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 8]
and ecx, 1
je 0x42b0b5
mov edx, dword [ebp - 8]
movzx eax, byte [edx + 8]
and eax, 8
jne 0x42b0b5
push 0xfffffffffffffff0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
and edx, 0x10000000
je 0x42b0b5
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 8]
or ecx, 4
mov edx, dword [ebp - 8]
mov byte [edx + 8], cl
mov eax, dword [ebp - 4]
and eax, 0x21000000
jne 0x42b0b5
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + 8]
or edx, 2
mov eax, dword [ebp - 8]
mov byte [eax + 8], dl
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + 8]
and edx, 2
je 0x42b0de
push 8
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 8]
call fcn.00429b10
jmp 0x42b0ed
push 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret 4
Function at 0x42ca60
Capabilities:
Copy file
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450a48
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x46ab5c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.00401000
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
call fcn.00416520
add esp, 4
lea ecx, [ebp - 0x14]
call fcn.0040f280
push eax
call fcn.004169d0
add esp, 4
push 0
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.MSVCR80.dll__waccess]
add esp, 8
test eax, eax
je 0x42cae5
jmp 0x42cb99
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x42cb3a
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00417a80
add esp, 8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x42cb25
jmp 0x42cb99
mov dword [ebp - 0x10], 1
push 1
mov ecx, 0x46b648
call fcn.004234b0
jmp 0x42cb92
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x24]
call fcn.00401000
mov byte [ebp - 4], 1
push 0x456c4c
lea ecx, [ebp - 0x24]
call fcn.004069b0
lea ecx, [ebp - 0x24]
call fcn.0040f280
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, 0x46b7c0
call fcn.0043b330
mov edx, dword [ebp + 8]
push edx
mov ecx, 0x46b7a8
call fcn.00439d00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00401080
mov dword [ebp - 0x1c], 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
push 0x14
call fcn.00441870
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x1c]
push eax
push str.UpdateFile_return:_d__src:_ws__dst:_ws
push 0x46afbc
call fcn.00420980
add esp, 0x14
lea ecx, [ebp - 0x18]
call fcn.004068d0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1c], 0
jne 0x42cbe2
mov dword [ebp - 0x30], 0x45aaa4
jmp 0x42cbe9
mov dword [ebp - 0x30], 0x45aa9c
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x45aa84
lea eax, [ebp - 0x18]
push eax
call fcn.0040a500
add esp, 0x10
cmp dword [ebp - 0x10], 0
je 0x42cc1b
cmp dword [ebp - 0x1c], 0
jne 0x42cc1b
push 0x45aa74
lea ecx, [ebp - 0x18]
call fcn.004069b0
lea ecx, [ebp - 0x18]
call fcn.0040f280
push eax
call fcn.00421e50
add esp, 4
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00401080
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401080
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x42d980
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450be0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x46ab5c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x20], 0xffffffff
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x46b648
call fcn.0042fbf0
mov dword [ebp - 4], 0
push str..txt
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 8]
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.0040a290
add esp, 0xc
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x34], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.0040aa40
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.00401080
push 0x45aa54
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.0040aa40
add esp, 0xc
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x2c]
call fcn.0042e220
test eax, eax
je 0x42da3e
mov dword [ebp - 0x14], 0
jmp 0x42daac
push 0
lea ecx, [ebp - 0x1c]
call fcn.0040f280
push eax
lea ecx, [ebp - 0x10]
call fcn.0040f280
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x42da84
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x20]
push edx
push str.KChannel::RecursiveBackupIndex_fail__error:_d__path:_ws
push 0x46afbc
call fcn.00420980
add esp, 0x10
push 0x4563e8
lea ecx, [ebp - 0x10]
call fcn.0040f280
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.0042daf0
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x42daa5
jmp 0x42daac
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.00401080
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00401080
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00401080
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x42e220
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450d28
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x46ab5c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0x14]
call fcn.004068d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004068d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.004068d0
mov byte [ebp - 4], 2
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov ecx, 0x46b648
call fcn.00430500
test eax, eax
je 0x42e297
jmp 0x42e3b8
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x46b648
call fcn.0042fbf0
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x44], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x44]
push edx
lea ecx, [ebp - 0x10]
call fcn.004027e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00401080
push str..txt
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 8]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.0040a290
add esp, 0xc
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x4c]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.0040aa40
add esp, 0xc
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x54], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x54]
push edx
lea ecx, [ebp - 0x14]
call fcn.004027e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.00401080
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00401080
push 0x45aa54
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x34]
push ecx
call fcn.0040aa40
add esp, 0xc
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x18]
call fcn.004027e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.00401080
lea ecx, [ebp - 0x18]
call fcn.0040f280
push eax
push 0
push 0x45afcc
push str.info
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x14]
call fcn.0040f280
push eax
push 0
push 0x45afcc
push str.info
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x1c]
xor edx, edx
cmp ecx, dword [ebp - 0x20]
setg dl
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 8]
mov eax, dword [edx]
push eax
push str.KChannel::IsScrollBack_name:_ws_return:_d
push 0x46afbc
call fcn.00420980
add esp, 0x10
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00401080
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00401080
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401080
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret