joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40abb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x40abbf
pop dword [ebp - 0x50]
mov eax, 0x99860354
add eax, 0x66baa86b
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x711d8d55
sub dword [ebp - 0x60], 0x22cb480a
mov dword [ebp - 0x5c], 0x9013ce2f
add dword [ebp - 0x5c], 0xa21f7e16
mov dword [ebp - 0x58], 0xcab9ed57
add dword [ebp - 0x58], 0x819256d7
mov dword [ebp - 0x54], 0x2109bf79
sub dword [ebp - 0x54], 0x2109bf79
lea eax, [ebp - 0x60]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0xddc3d7cf
add dword [ebp - 0x60], 0x96ae9187
mov dword [ebp - 0x5c], 0x13615122
add dword [ebp - 0x5c], 0x2e0b1053
mov dword [ebp - 0x58], 0x2a7117f8
sub dword [ebp - 0x58], 0xc701ab8c
mov dword [ebp - 0x54], 0xcb0f2f81
sub dword [ebp - 0x54], 0xcb0f2f81
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x37b90
push 0
call eax
mov ecx, 0xd3a6e220
add ecx, 0x2c5959a6
xor ebx, ebx
add ebx, eax
mov esi, 0xf937e11a
sub esi, 0xf8f6211a
add esi, dword [ebp - 0x50]
mov edi, 0xd2f676ec
add dword [ebp - 0x30], edi
mov edx, dword [esi]
xor dword [ebp - 0x1c], edx
add edx, edi
add dword [ebp - 0x40], 0x7e72b7c3
mov dword [ebx], edx
mov dword [ebp - 8], 0x160b134a
add ebx, 4
add esi, 0xa2c78c5b
sub esi, 0xa2c78c57
loop 0x40acd3
add eax, 0xbb8bb2bf
sub eax, 0xbb8ad0d4
xor ebx, ebx
add ebx, eax
add eax, 0xcc89b42
add eax, 0xf33764c3
mov ecx, 0x400000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

Function at 0x410b90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 4
mov esi, ecx
call main
pop ecx
xor ecx, ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x410bac
mov dword [eax], ecx
jmp 0x410bae
mov eax, ecx
push ecx
push ecx
push esi
push 0x410c20
push ecx
push ecx
mov dword [esi + 0x10], eax
call dword [sym.imp.kernel32.dll_CreateThread]
mov ecx, dword [esi + 0x10]
pop esi
mov dword [ecx], eax
leave
ret
Function at 0x408d50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e1f8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4d3f84]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0x3c], 0
je 0x408d90
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x408d9c
mov al, 1
jmp 0x408f3f
mov dword [ebp - 0x10], 8
call fcn.0040e7f0
push eax
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x68]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x3c], eax
call fcn.0040e7f0
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.0040e6e0
add esp, 8
movzx eax, al
test eax, eax
je 0x408ddf
xor al, al
jmp 0x408f3f
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.00408050
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.00401120
mov ecx, eax
call fcn.00408b10
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.004011a0
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.00401120
mov ecx, eax
call fcn.00408b10
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x68]
mov ecx, dword [edx + 0x3c]
call fcn.0040a7e0
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x408e5a
cmp dword [ebp - 0x6c], 1
je 0x408e61
cmp dword [ebp - 0x6c], 3
je 0x408efb
jmp 0x408f13
mov eax, dword [ebp - 0x68]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
call fcn.00401120
mov ecx, eax
call fcn.00408b10
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x408ec4
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x34]
call fcn.00401120
mov ecx, eax
call fcn.00408b10
push eax
call fcn.0047c304
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x408ec4
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00403420
mov al, byte [ebp - 0x61]
jmp 0x408f3f
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x408ee7
mov byte [ebp - 0x62], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00403420
mov al, byte [ebp - 0x62]
jmp 0x408f3f
cmp dword [ebp - 0x38], 0
jne 0x408ef9
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.00401f90
jmp 0x408f2b
mov byte [ebp - 0x63], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00403420
mov al, byte [ebp - 0x63]
jmp 0x408f3f
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00403420
mov al, byte [ebp - 0x64]
jmp 0x408f3f
jmp 0x408df2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004788df
mov esp, ebp
pop ebp
ret
Function at 0x40fc50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x10]
mov cl, byte [eax + 0x100]
mov byte [ebp - 2], cl
mov edx, dword [ebp + 0x10]
mov al, byte [edx + 0x101]
mov byte [ebp - 1], al
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 0
jmp 0x40fc86
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
jge 0x40fd36
movzx ecx, byte [ebp - 2]
add ecx, 1
and ecx, 0x800000ff
jns 0x40fca9
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [ebp - 2], cl
movzx edx, byte [ebp - 2]
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + edx]
movzx edx, byte [ebp - 1]
add ecx, edx
and ecx, 0x800000ff
jns 0x40fccd
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [ebp - 1], cl
movzx eax, byte [ebp - 1]
add eax, dword [ebp - 0x10]
push eax
movzx ecx, byte [ebp - 2]
add ecx, dword [ebp - 0x10]
push ecx
call fcn.0040fd60
add esp, 8
movzx edx, byte [ebp - 2]
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + edx]
movzx edx, byte [ebp - 1]
mov eax, dword [ebp - 0x10]
movzx edx, byte [eax + edx]
add ecx, edx
and ecx, 0x800000ff
jns 0x40fd10
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [ebp - 9], cl
movzx eax, byte [ebp - 9]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + eax]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
movzx ecx, byte [eax]
xor ecx, edx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
mov byte [edx], cl
jmp 0x40fc7d
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 2]
mov byte [eax + 0x100], cl
mov edx, dword [ebp + 0x10]
mov al, byte [ebp - 1]
mov byte [edx + 0x101], al
mov esp, ebp
pop ebp
ret

Function at 0x410250
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x49bbe0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4d3f84]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 8]
push 0x4d3140
push ecx
mov dword [esp + 0x34], 0
call fcn.00402a90
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], 1
call fcn.00403590
cmp dword [esp + 0x1c], 0x10
mov byte [esp + 0x28], 0
jb 0x4102be
mov edx, dword [esp + 8]
push edx
call fcn.00477f41
add esp, 4
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, dword [esp + 0xc]
imul ecx, ecx, 0x64
add ecx, dword [esp + 0xe]
mov edx, 0x4b0
cmp cx, dx
jb 0x4102ee
push 2
push 0x49f6fc
lea ecx, [esp + 0x38]
call fcn.00401020
push 1
push 3
push 0
push 1
push 1
push 1
lea eax, [esp + 0x48]
push 1
push eax
call fcn.0049b9a0
add esp, 0x20
cmp dword [esp + 0x48], 0x10
jb 0x41031d
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00477f41
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
add esp, 0x28
ret
Function at 0x4112c0
Capabilities:
Accept command line arguments
Check mutex on windows

Disassembly:
sub esp, 0x9c
mov eax, dword [0x4d3f84]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xb0]
call fcn.004977f0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
xor ebx, ebx
mov ebp, 0xf
mov ecx, esi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
cmp al, bl
jne 0x411304
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x1c]
call fcn.00403b70
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.0049b5d0
add esp, 8
cmp dword [esp + 0x2c], 0x10
jb 0x41133a
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00477f41
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push 4
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str..run
mov byte [ecx + 4], bl
call fcn.00403b70
call fcn.00410250
add esp, 0x1c
push str.tpop3.exe_20160802
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4113a7
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0xd
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str..failed_isrun
mov byte [ecx + 4], bl
call fcn.00403b70
call fcn.00410250
add esp, 0x1c
jmp 0x411434
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push edi
call fcn.00497810
push edi
call dword [0x4b3848]
add esp, 8
lea ecx, [esp + 0x6c]
call fcn.00411960
cmp dword [0x4d3104], ebx
push 0xffffffffffffffff
push ebx
setne dl
push 0x4d3194
lea ecx, [esp + 0x40]
mov byte [esp + 0x3c], dl
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
call fcn.00403590
push 0xffffffffffffffff
push ebx
push 0x4d31b0
lea ecx, [esp + 0x5c]
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
call fcn.00403590
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x70]
call fcn.00411990
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0x30]
call fcn.004105d0
lea ecx, [esp + 0x6c]
call fcn.004105d0
call fcn.0049b660
cmp esi, ebx
je 0x411444
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0xa8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004788df
add esp, 0x9c
ret 0x10
Function at 0x418d9a
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
xor edi, edi
call esi
test ax, ax
jge 0x418db0
push 8
pop edi
push 2
call esi
test ax, ax
jge 0x418dbc
or edi, 1
push 1
call esi
test ax, ax
jge 0x418dc8
or edi, 2
push 0x10
call esi
test ax, ax
jge 0x418dd4
or edi, 4
push 0x12
call esi
test ax, ax
jge 0x418de0
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret

Function at 0x418f5e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4d3f84]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x214], 0
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.004788f0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0xffffffffffffffff
lea eax, [ebp - 0x210]
push eax
mov ecx, esi
call sym.tpop3.exe_public:_void___thiscall_DuiLib::CDuiString::constructor_wchar_t_const___int_
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004788df
leave
ret

Function at 0x41b507
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esi]
mov ebx, dword [ebp + 8]
cmp eax, ecx
je 0x41b52c
cmp ebx, dword [esi + 0x54]
je 0x41b52c
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x54]
cmp ebx, eax
je 0x41b5ee
push edi
test eax, eax
je 0x41b57f
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + pe_nt_image_headers32]
xor edi, edi
push edi
push edi
push edi
push str.killfocus
push dword [esi + 0x54]
mov ecx, esi
call sym.tpop3.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
mov dword [esi + 0x54], edi
test ebx, ebx
je 0x41b5ed
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp eax, esi
jne 0x41b5ed
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc8]
test al, al
je 0x41b5ed
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xd4]
test al, al
je 0x41b5ed
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [esi + 0x54], ebx
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + pe_nt_image_headers32]
xor eax, eax
push eax
push eax
push eax
push str.setfocus
push dword [esi + 0x54]
mov ecx, esi
call sym.tpop3.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41b7eb
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xd0]
mov ecx, edi
xor ebx, ebx
call sym.tpop3.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x41b83a
push ebx
mov ecx, edi
mov byte [ebp - 1], 0
call sym.tpop3.exe_public:_void____thiscall_DuiLib::CStdPtrArray::operator___int_const
mov edx, dword [eax]
lea ecx, [ebp - 1]
push ecx
push dword [ebp + 0x10]
mov ecx, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [edx]
cmp byte [ebp - 1], 0
jne 0x41b89b
mov ecx, edi
inc ebx
call sym.tpop3.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp ebx, eax
jl 0x41b809
mov eax, dword [ebp + 8]
sub eax, 0x100
je 0x41b8f4
sub eax, 4
je 0x41b89f
dec eax
dec eax
jne 0x41b8eb
push dword [ebp + 0xc]
mov word [ebp + 8], ax
lea edi, [ebp + 0xa]
stosw word es:[edi], ax
call fcn.0047b13b
pop ecx
mov ecx, dword [esi + 0x50]
push reloc.WS2_32.dll_ioctlsocket
lea edx, [ebp + 8]
push edx
mov word [ebp + 8], ax
mov eax, dword [ecx]
push sym.tpop3.exe_private:_static_class_DuiLib::CControlUI____stdcall_DuiLib::CPaintManagerUI::__FindControlFromShortcut_class_DuiLib::CControlUI___void__
call dword [eax + 0xfc]
mov esi, eax
test esi, esi
je 0x41b8eb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf0]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov al, 1
jmp 0x41b8ed
cmp dword [esi + 0x54], 0
je 0x41b8eb
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x10], ax
mov eax, dword [esi + 0x64]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x68]
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x14], eax
call fcn.00418d9a
mov word [ebp - 0xe], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
push edx
call dword [eax + pe_nt_image_headers32]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x41b8eb
cmp dword [esi + 0x54], 0
je 0x41b943
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x41b943
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0xd4]
test al, al
je 0x41b943
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
push str.RichEditUI
call dword [eax + 0xc]
push eax
call fcn.004790e6
pop ecx
pop ecx
test eax, eax
je 0x41b943
mov ecx, dword [esi + 0x54]
call sym.tpop3.exe_public:_bool___thiscall_DuiLib::CRichEditUI::IsWantTab_void_
test al, al
jne 0x41b8eb
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setge al
movzx eax, al
push eax
mov ecx, esi
call sym.tpop3.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::SetNextTabControl_bool_
jmp 0x41b89b
Function at 0x42c169
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x4d3f84]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp byte [esi + 0x18], bl
je 0x42c1da
cmp dword [esi + 0x10], ebx
je 0x42c1da
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
inc edi
lea eax, [edi + edi]
call fcn.0047d280
mov dword [ebp - 8], esp
cmp esp, ebx
je 0x42c1da
push edi
push dword [ebp - 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push dword [ebp - 8]
add ecx, 0x1b8
call fcn.00418315
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
push ebx
push ebx
push ebx
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call sym.tpop3.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
xor eax, eax
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004788df
leave
ret 0x10

Function at 0x4307f7
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x4d4], ebx
je 0x43085f
cmp dword [ebp + 8], 0x100
jne 0x43084e
cmp word [ebp + 0xc], 0xd
jne 0x43084e
cmp byte [esi + 0x4da], bl
je 0x430835
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x43084e
cmp byte [esi + 0x4db], bl
jne 0x43084e
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
je 0x43084a
push ebx
push ebx
push ebx
push str.return
push esi
call sym.tpop3.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
xor eax, eax
jmp 0x430862
mov eax, dword [esi + 0x4d4]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop esi
pop ebx
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x439e09
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x439e14
xor eax, eax
ret
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x14]
not eax
mov ecx, 0xff
cmp edi, 8
jb 0x439ecf
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4a7530]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4a7530]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4a7530]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4a7530]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4a7530]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4a7530]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4a7530]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4a7530]
inc edx
sub edi, 8
dec esi
jne 0x439e34
pop ebx
test edi, edi
je 0x439ee8
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x4a7530]
inc edx
dec edi
jne 0x439ed3
pop edi
not eax
pop esi
ret

Function at 0x43a37f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x43a3b3
push 0
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43a3ae
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x43a3db
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x43a3c4
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x10]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.0047acc0
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret

Function at 0x43b179
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4d3f84]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x43b223
movzx ecx, word [esi]
test cx, cx
je 0x43b223
mov eax, esi
mov edx, esi
movzx ecx, cx
cmp cx, 0x2f
je 0x43b1b7
cmp cx, 0x5c
jne 0x43b1b9
mov eax, edx
inc edx
inc edx
movzx ecx, word [edx]
test cx, cx
jne 0x43b1ab
cmp eax, esi
je 0x43b1f7
push edi
sub eax, esi
mov edi, eax
sar edi, 1
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0047d235
xor eax, eax
mov word [ebp + edi*2 - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.0043b179
add esp, 0x14
pop edi
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.0047c94d
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0047c91f
add esp, 0x10
push 0
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004788df
leave
ret
Function at 0x43c754
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x43c7cf
cmp dword [esi + 4], 0xffffffff
jne 0x43c7cf
push edi
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x4a7b2c
push edi
call fcn.0047c91f
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop edi
jne 0x43c7a1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x43c7a1
mov eax, 0x2000000
jmp 0x43c7d4
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043a195
add esp, 0x10
test eax, eax
jne 0x43c7bf
mov eax, dword [ebp + 0x10]
jmp 0x43c7d4
push eax
call fcn.0043c350
mov dword [esi], eax
mov eax, dword [0x4d5fc4]
pop ecx
jmp 0x43c7d4
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x4447de
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
mov eax, dword [esi + 8]
push edi
mov edi, eax
and edi, 7
je 0x444803
cmp eax, edi
jge 0x4447fb
mov eax, esi
call fcn.00444192
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
xor ecx, ecx
cmp dword [esi + 8], ecx
jle 0x444825
mov al, byte [esi + 0xc]
shr dword [esi + 0xc], 8
add dword [esi + 8], 0xfffffff8
mov byte [ebp + ecx - 4], al
inc ecx
cmp dword [esi + 8], 0
jg 0x44480a
cmp ecx, 4
jge 0x444844
mov edi, dword [esi + 4]
mov eax, dword [esi]
cmp eax, edi
jb 0x444832
xor eax, eax
jmp 0x44483a
mov dl, byte [eax]
inc eax
mov dword [esi], eax
movzx eax, dl
mov byte [ebp + ecx - 4], al
inc ecx
cmp ecx, 4
jl 0x444828
movzx edi, byte [ebp - 3]
movzx eax, byte [ebp - 4]
movzx ecx, byte [ebp - 2]
shl edi, 8
add edi, eax
movzx eax, byte [ebp - 1]
shl eax, 8
add eax, ecx
mov ecx, edi
xor ecx, 0xffff
cmp eax, ecx
je 0x444876
mov eax, str.zlib_corrupt
call fcn.00441daf
jmp 0x4448b1
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x444886
mov eax, str.read_past_buffer
jmp 0x44486f
mov eax, dword [esi + 0x10]
add eax, edi
cmp eax, dword [esi + 0x18]
jbe 0x44489b
mov ecx, edi
call fcn.004441bd
test eax, eax
je 0x4448b1
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.0047acc0
add dword [esi], edi
add dword [esi + 0x10], edi
xor eax, eax
add esp, 0xc
inc eax
pop edi
pop esi
leave
ret

Function at 0x4488b0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x4d3f84]
xor eax, esp
mov dword [esp + 0x190], eax
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x448902
mov eax, dword [esp]
cmp al, 2
jne 0x4488fc
shr eax, 8
cmp al, 2
jne 0x4488fc
xor eax, eax
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.004788df
add esp, 0x194
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x190]
xor ecx, esp
mov eax, 2
call fcn.004788df
add esp, 0x194
ret