joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45f896
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x4ca1ee
call fcn.004c7e20
sub esp, 0x2cc
mov eax, dword [0x4ed384]
push ebx
push esi
push edi
push 0x4001
push 0x2b4
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x2c4]
push eax
xor esi, esi
push esi
push 0x4d1350
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov edi, dword [ebp + 8]
push eax
push 1
add edi, 4
push 0x1003
push dword [edi]
mov dword [ebp - 0x2c8], edi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x2000140
xor eax, eax
xor ecx, ecx
call fcn.00403c51
mov dword [ebp - 0x2d8], esi
mov dword [ebp - 0x2d4], esi
mov dword [ebp - 0x2d0], esi
mov dword [ebp - 0x2cc], esi
push 0x7c
push 5
lea eax, [ebp - 0x2d8]
push eax
push 0x815c
mov dword [ebp - 4], esi
call fcn.0049e1bc
add esp, 0x10
cmp dword [ebp - 0x2d4], esi
jbe 0x45f9b4
mov edi, dword [ebp - 0x2d8]
or ebx, 0xffffffff
push ebx
push esi
push dword [edi]
push esi
push dword [ebp - 0x2c8]
push 0x78
pop edx
call fcn.00405a79
cmp dword [ebp - 0x2d4], 1
jbe 0x45f9b4
push ebx
push esi
push dword [edi + 4]
push 1
push dword [ebp - 0x2c8]
push 0x64
pop edx
call fcn.00405a79
cmp dword [ebp - 0x2d4], 2
jbe 0x45f9b4
push ebx
push esi
push dword [edi + 8]
push 2
push dword [ebp - 0x2c8]
push 0x78
pop edx
call fcn.00405a79
cmp dword [ebp - 0x2d4], 3
jbe 0x45f9b4
push ebx
push esi
push dword [edi + 0xc]
push 3
push dword [ebp - 0x2c8]
push 0x32
pop edx
call fcn.00405a79
cmp dword [ebp - 0x2d4], 4
ja 0x45f9be
push 0x80070057
call fcn.004010ca
push ebx
push 0
push dword [edi + 0x10]
mov edi, dword [ebp - 0x2c8]
push 4
push edi
xor esi, esi
mov edx, 0x12c
call fcn.00405a79
mov esi, dword [ebp + 8]
push 0
push 0
push 0x101f
push dword [edi]
add esi, 0x48
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi], eax
push 4
xor eax, eax
xor ecx, ecx
mov edi, esi
call fcn.00403c51
lea esi, [ebp - 0x2d8]
call fcn.004553c8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.004c7b01
leave
ret 4
Function at 0x460866
Capabilities:
Get disk information

Disassembly:
mov eax, 0x4c873f
call fcn.004c7e20
sub esp, 0x220
mov eax, dword [0x4ed384]
push edi
xor edi, edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x21c], edi
lea eax, [ebp - 0x21c]
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
cmp eax, edi
jge 0x4608b6
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
cmp eax, edi
je 0x4608af
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x460a1a
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push edi
push 0xb
add esi, 0x58
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x220], edi
push 0x4d1174
lea edi, [ebp - 0x22c]
call fcn.00402f03
push 0x43
pop eax
mov byte [ebp - 4], 1
mov dword [ebp + 8], eax
mov dword [ebp - 0x228], eax
lea ebx, [ebp - 0x22c]
call fcn.004033df
mov edi, dword [ebp - 0x22c]
mov ax, word [ebp + 8]
push edi
mov word [edi], ax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 5
jne 0x4609ba
mov eax, dword [ebp - 0x21c]
xor ebx, ebx
push ebx
lea edx, [ebp - 0x224]
push edx
push ebx
push edi
push ebx
push ebx
mov dword [ebp - 0x224], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp eax, ebx
jl 0x4609ba
mov edx, dword [ebp - 0x21c]
xor eax, eax
mov word [ebp - 0x218], bx
mov ecx, 0x81
lea edi, [ebp - 0x216]
rep stosd dword es:[edi], eax
push ebx
stosw word es:[edi], ax
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x224]
call fcn.00492fe8
push ebx
push dword [ebp - 0x224]
xor ecx, ecx
inc ecx
call fcn.0049304c
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x220]
push esi
call fcn.00405aee
push dword [ebp - 0x228]
inc dword [ebp - 0x220]
push eax
push esi
call fcn.0041cd2b
push dword [ebp - 0x224]
call dword [0x4f27e0]
mov edi, dword [ebp - 0x22c]
inc dword [ebp + 8]
inc dword [ebp - 0x228]
cmp word [ebp + 8], 0x5a
jbe 0x4608f0
push 0xfffffffffffffffe
xor ebx, ebx
push ebx
push esi
call fcn.00414756
push ebx
push 1
push 0xb
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push esi
call fcn.004147a6
lea eax, [edi - 0xc]
cmp eax, dword [0x4f0984]
je 0x4609fe
push eax
call fcn.004013aa
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
pop esi
cmp eax, ebx
pop ebx
je 0x460a14
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop edi
call fcn.004c7b01
leave
ret 4
Function at 0x460ea9
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2b8
mov eax, dword [0x4ed384]
push ebx
push ebp
mov ebp, dword [esp + 0x2c4]
push esi
push edi
push 0x428
push dword [ebp + 4]
mov dword [esp + 0x2cc], eax
lea esi, [ebp + 0x58]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0x4020
push 0
push 0x1036
push eax
mov dword [esi], eax
call ebx
mov edi, dword [esi]
call fcn.0049ece1
push 0x4001
push 0x2b4
lea eax, [esp + 0x18]
push eax
push 0
mov edi, 0x4d1350
push edi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push eax
push 1
push 0x1003
push dword [esi]
call ebx
or ebx, 0xffffffff
push ebx
push 0
push edi
push 0
push esi
xor esi, esi
mov edx, 0x12c
call fcn.00405a79
push ebp
call fcn.00460866
mov ecx, dword [esp + 0x2c4]
pop edi
pop esi
xor eax, eax
pop ebp
inc eax
pop ebx
call fcn.004c7b01
add esp, 0x2b8
ret 4
Function at 0x46497c
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x4c8bde
call fcn.004c7e20
sub esp, 0x2c0
mov eax, dword [0x4ed384]
push ebx
mov dword [ebp - 0x10], eax
push edi
and dword [ebp - 4], 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetMenuItemCount]
mov ebx, eax
jmp 0x4649ce
mov edi, dword [esi + 0x90]
test edi, edi
je 0x4649bd
lea eax, [ebx + 0x7f58]
push eax
call fcn.0046d7a7
push 0x400
push ebx
push dword [ebp + 8]
call fcn.00430efe
add esp, 0xc
dec ebx
cmp ebx, 2
jge 0x4649a7
lea ecx, [esi + 0x240]
or eax, 0xffffffff
xor edi, edi
call fcn.00470032
push 0x4001
mov ebx, 0x2b4
push ebx
lea eax, [ebp - 0x2c4]
push eax
push edi
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push 0x4d1350
call edi
cmp dword [esi + 0x90], 0
mov dword [ebp - 0x2cc], eax
je 0x464a9c
lea eax, [ebp - 0x2c8]
push eax
call fcn.0049e952
mov dword [esp], 0x4001
push ebx
lea ecx, [ebp - 0x2c4]
push ecx
push 0
push dword [eax]
call edi
mov eax, dword [ebp - 0x2c8]
add eax, 0xfffffff4
cmp eax, dword [0x4f0984]
je 0x464a4f
push eax
call fcn.004013aa
push 0
push dword [ebp - 0x2c0]
push dword [ebp - 0x2cc]
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
test eax, eax
mov dword [ebp - 0x2c8], eax
je 0x464a9c
mov edi, dword [esi + 0x90]
mov ebx, 0x7f58
push ebx
call fcn.0046d7a7
mov eax, dword [esi + 0x90]
push ebx
push dword [ebp - 0x2c8]
call fcn.0046e96f
push dword [ebp - 0x2c8]
call dword [sym.imp.USER32.dll_DestroyIcon]
push dword [ebp - 0x2cc]
mov ecx, esi
push 0x60
push 9
push 0x7f59
push dword [ebp + 8]
call fcn.00464afe
push 0
push 0
push 0x800
push dword [ebp + 8]
mov edi, eax
call dword [sym.imp.USER32.dll_AppendMenuW]
push dword [ebp - 0x2cc]
lea eax, [edi + 0x7f59]
push 0x20
push 0x11
push eax
push dword [ebp + 8]
mov ecx, esi
call fcn.00464afe
mov ecx, dword [ebp - 0xc]
add eax, edi
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.004c7b01
leave
ret 4
Function at 0x467982
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4cdcc1
call fcn.004c7e20
sub esp, 0xc
mov eax, dword [ebp + 8]
call fcn.00462fb8
cmp eax, 0xffffffff
je 0x467a29
push esi
push eax
mov eax, dword [ebp + 8]
lea esi, [ebp + 8]
call fcn.004631b7
cmp dword [ebp + 8], 0
je 0x467a28
mov eax, dword [0x4f0980]
push dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
call fcn.004040fe
push dword [eax]
lea eax, [ebp - 0x10]
push str._e__select___s_
push eax
call fcn.00405986
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff4
add esp, 0xc
cmp eax, dword [0x4f0984]
je 0x4679ed
push eax
call fcn.004013aa
mov esi, dword [ebp - 0x10]
push 1
push 0
push esi
push str.explorer.exe
push 0x4d4218
push dword [0x4f2c70]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [esi - 0xc]
cmp eax, dword [0x4f0984]
je 0x467a1c
push eax
call fcn.004013aa
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
call fcn.004040d8
pop esi
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov dword fs:[0], ecx
leave
ret 4

Function at 0x468678
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4ca1bf
call fcn.004c7e20
sub esp, 0xc
lea eax, [ebp - 0x10]
push eax
call fcn.0049e952
mov dword [esp], str.Internet_Exploreriexplore.exe
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00403120
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff4
cmp eax, dword [0x4f0984]
je 0x4686b7
push eax
call fcn.004013aa
mov eax, dword [0x4f0980]
mov dword [ebp - 0x10], eax
push 0x8291
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00408e92
push dword [eax]
lea eax, [ebp - 0x10]
push str._s_lrcsearch.html
push eax
call fcn.00405986
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff4
add esp, 0x10
cmp eax, dword [0x4f0984]
je 0x4686f7
push eax
call fcn.004013aa
push esi
mov esi, dword [ebp - 0x10]
push edi
mov edi, dword [ebp - 0x18]
push 1
push 0
push esi
push edi
push 0x4d4218
push dword [0x4f2c70]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.0049ea35
lea eax, [esi - 0xc]
cmp eax, dword [0x4f0984]
je 0x46872c
push eax
call fcn.004013aa
lea eax, [edi - 0xc]
cmp eax, dword [0x4f0984]
pop edi
pop esi
je 0x46873f
push eax
call fcn.004013aa
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov dword fs:[0], ecx
leave
ret
Function at 0x46bad8
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov si, word [eax + 0xc]
cmp si, 0x2e
push edi
mov edi, ecx
jne 0x46bafd
push 0
push 0x7f13
push 0x111
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x46bb26
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
and ax, 0xfffe
je 0x46bb26
or esi, 0x20
cmp si, 0x61
jne 0x46bb26
push 0xb
push 2
push 0xffffffffffffffff
add edi, 0x504
push edi
call fcn.004146d6
pop edi
xor eax, eax
pop esi
ret
Function at 0x46e4c1
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov ebx, ecx
mov esi, eax
lea eax, [ebx - 0x20]
neg ebx
sbb ebx, ebx
and ebx, eax
cmp dword [ebp + 0xc], 0
push edi
mov dword [ebp - 4], 1
je 0x46e52f
push dword [ebp + 8]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
or dword [ebp - 8], 0xffffffff
mov edi, eax
call fcn.004151fd
test eax, eax
je 0x46e524
lea ecx, [edi + 1]
push ecx
push eax
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov dword [ebp - 8], eax
or eax, 0xffffffff
mov ecx, esi
call fcn.0040306e
cmp dword [ebp - 8], edi
jge 0x46e554
and dword [ebp - 4], 0
jmp 0x46e544
push dword [esi]
push dword [ebp + 8]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
test eax, eax
mov dword [ebp - 4], eax
jne 0x46e592
push dword [ebp + 0xc]
lea esi, [ebx + 0x20]
push dword [ebp + 8]
call fcn.0044fe73
jmp 0x46e592
cmp dword [ebp + 0x10], 0
je 0x46e592
mov eax, dword [esi]
mov edx, dword [eax - 8]
mov esi, dword [ebp + 0x14]
cmp edx, esi
jle 0x46e592
push 6
pop ecx
push dword [ebp + 0xc]
xor eax, eax
push dword [ebp + 8]
mov dword [ebp - 0x2c], 1
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x24], edx
add ebx, 0x20
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x20], esi
call fcn.0044feb0
and dword [ebp - 4], 0
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x4709d3
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x4ed384]
push ebx
push esi
push edi
push 0x2001f
push dword [ebp + 0x1a0]
mov ebx, ecx
push dword [ebx]
mov dword [ebp + 0x194], eax
xor esi, esi
lea eax, [ebp - 0x70]
mov dword [ebp - 0x70], esi
call fcn.00401247
mov edi, eax
cmp edi, esi
je 0x470a23
cmp dword [ebp - 0x70], esi
je 0x470a1f
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x470a8d
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x470a3e
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x70]
call fcn.004709d3
cmp eax, esi
mov dword [ebp - 0x78], eax
jne 0x470aa5
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x100
call edi
test eax, eax
je 0x470a2b
cmp dword [ebp - 0x70], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x470a71
push dword [ebp - 0x70]
call edi
mov dword [ebp - 0x70], esi
push dword [ebp + 0x1a0]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp dword [ebp - 0x70], esi
mov ebx, eax
je 0x470a8b
push dword [ebp - 0x70]
call edi
mov eax, ebx
mov ecx, dword [ebp + 0x194]
pop edi
pop esi
pop ebx
call fcn.004c7b01
add ebp, 0x198
leave
ret 4
cmp dword [ebp - 0x70], esi
je 0x470ab3
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x78]
jmp 0x470a8d
Function at 0x470be7
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov eax, 0x10024
lea ebp, [esp - 0xffa4]
call fcn.004c7d30
mov eax, dword [0x4ed384]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push esi
push edi
mov dword [ebp + 0xffa0], eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp + 0x7fa0]
push eax
xor edi, edi
push edi
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x6c], edi
mov esi, 0x8000
push edi
jmp 0x470ccf
lea eax, [ebp - 0x74]
push eax
push 0x20019
push edi
lea eax, [ebp - 0x60]
push eax
push dword [ebp + 0xffac]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x470ce5
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x70]
push eax
push edi
push 0x20006
push edi
lea eax, [ebp + 0x7fa0]
push eax
push edi
lea eax, [ebp - 0x60]
push eax
push dword [ebp + 0xffb0]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x470d6d
push dword [ebp - 0x70]
push dword [ebp - 0x74]
call fcn.00470be7
pop ecx
pop ecx
push dword [ebp - 0x74]
mov dword [ebp - 0x64], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x64], edi
je 0x470d79
inc dword [ebp - 0x6c]
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp + 0x7fa0]
push eax
push edi
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x6c]
push dword [ebp + 0xffac]
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x64], esi
call ebx
test eax, eax
je 0x470c35
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp + 0x3fa0]
push eax
lea eax, [ebp - 0x70]
push eax
push edi
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x7fa0]
push eax
mov dword [ebp - 0x64], edi
push edi
jmp 0x470d52
push dword [ebp - 0x68]
lea eax, [ebp + 0x3fa0]
push eax
push dword [ebp - 0x70]
lea eax, [ebp + 0x7fa0]
push edi
push eax
push dword [ebp + 0xffb0]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x470d68
inc dword [ebp - 0x64]
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp + 0x3fa0]
push eax
lea eax, [ebp - 0x70]
push eax
push edi
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x7fa0]
push eax
push dword [ebp - 0x64]
push dword [ebp + 0xffac]
mov dword [ebp - 0x68], 0x4000
mov dword [ebp - 0x6c], esi
call ebx
test eax, eax
je 0x470d0c
xor eax, eax
inc eax
jmp 0x470d7b
push dword [ebp + 0xffac]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp + 0xffa0]
pop edi
pop esi
pop ebx
call fcn.004c7b01
add ebp, 0xffa4
leave
ret
Function at 0x4710e8
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x7a0]
sub esp, 0x820
mov eax, dword [0x4ed384]
push ebx
push esi
push edi
mov dword [ebp + 0x79c], eax
xor eax, eax
xor ebx, ebx
mov word [ebp - 0x64], bx
mov ecx, 0x1ff
lea edi, [ebp - 0x62]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [ebp + 0x7a8]
push 0x400
lea eax, [ebp - 0x64]
push eax
lea esi, [edi + 4]
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov dword [ebp + 0x7a8], eax
mov eax, dword [esi]
push eax
mov dword [ebp - 0x68], eax
call dword [sym.imp.USER32.dll_GetDC]
push dword [edi + 0x24]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
mov dword [ebp - 0x6c], eax
call edi
push 0x420
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x7c]
push eax
push dword [ebp + 0x7a8]
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x6c]
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp - 0x80]
push dword [ebp - 0x6c]
call edi
push dword [esi]
call dword [sym.imp.USER32.dll_GetParent]
push 2
lea ecx, [ebp - 0x7c]
push ecx
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push dword [esi]
call edi
push 0xffffffffffffffec
push dword [esi]
mov dword [ebp + 0x7a8], eax
call edi
push eax
push ebx
push dword [ebp + 0x7a8]
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
push 0x16
push ebx
push esi
lea eax, [ebp - 0x7c]
call fcn.00403c25
lea esi, [ebp - 0x6c]
call fcn.00433990
mov ecx, dword [ebp + 0x79c]
pop edi
pop esi
pop ebx
call fcn.004c7b01
add ebp, 0x7a0
leave
ret 4
Function at 0x475227
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
push dword [esi + 0x23c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, eax
xor edi, edi
cmp ebx, edi
je 0x47532f
lea eax, [ebx + ebx + 2]
add eax, 3
and eax, 0xfffffffc
call fcn.004c7d30
cmp esp, edi
mov dword [ebp - 4], esp
je 0x47532f
inc ebx
push ebx
push dword [ebp - 4]
push dword [esi + 0x23c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [ebp - 4]
call fcn.00403dd0
test eax, eax
je 0x47532f
push edi
push edi
push 0x184
push dword [esi + 0x240]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, esi
call fcn.00474e5c
mov ebx, dword [sym.imp.SHELL32.dll_ExtractIconExW]
push edi
push edi
push edi
push 0xffffffffffffffff
push dword [ebp - 4]
call ebx
mov edi, eax
test edi, edi
jle 0x4752f5
lea ecx, [esi + 0x20]
or eax, 0xffffffff
call fcn.00485ca9
mov eax, dword [esi + 0x20]
push edi
push 0
push eax
push 0
push dword [ebp - 4]
call ebx
mov edi, eax
test edi, edi
jne 0x4752d5
and word [esi + 0x34], ax
jmp 0x4752f5
or eax, 0xffffffff
lea ecx, [esi + 0x20]
call fcn.00485ca9
push 0x104
push dword [ebp - 4]
lea eax, [esi + 0x34]
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
push edi
lea edi, [esi + 0x240]
mov eax, edi
call fcn.004807db
push dword [esi + 0x30]
mov eax, edi
call fcn.0044a165
push 1
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [esi + 0x30]
push 0x10428
push 0x111
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
lea esp, [ebp - 0xc]
pop edi
pop ebx
leave
ret
Function at 0x4757f6
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x4ca15e
call fcn.004c7e20
sub esp, 0x18
push ebx
push esi
push 0xc8
push dword [edi + 4]
call fcn.0042977e
pop ecx
pop ecx
push 0
push 0x30
push 0x30
push 1
push 0x80
push dword [0x4f20a4]
call dword [sym.imp.USER32.dll_LoadImageW]
lea esi, [edi + 0x54]
push eax
call fcn.004035b4
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3f1
push dword [edi + 4]
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x8292
lea eax, [ebp - 0x1c]
call fcn.00408e92
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
mov dword [esp], str.__Unicode_
push eax
call fcn.00402fdb
push dword [ebp - 0x1c]
push 0x3f3
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov eax, dword [0x4f0980]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
push dword [0x4f2c78]
mov esi, str.ttplayer_mail.ttplayer.com
push esi
lea eax, [ebp - 0x18]
push str.mailto:_s_subjectAbout
push eax
call fcn.00405986
add esp, 0x10
push 0x3ed
push dword [edi + 4]
call ebx
lea edx, [edi + 0x58]
mov ecx, eax
mov eax, edx
call fcn.0040c5c9
push str.nanling
push dword [edi + 0x5c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ebx, dword [ebp - 0x18]
lea eax, [edi + 0x58]
call fcn.004711f3
mov eax, esi
lea esi, [edi + 0x58]
call fcn.00471277
xor eax, eax
push eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0049dde0
push dword [ebp - 0x10]
mov eax, dword [0x4f0980]
push dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push str._d__d__d
push eax
call fcn.00405986
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
add esp, 0x24
push dword [ebp - 0x14]
push 0x410
push dword [edi + 4]
call esi
mov eax, dword [0x4f0980]
push 0x81
push dword [0x4f2800]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00403692
push 0x4d5310
push 0x4d398c
lea eax, [ebp - 0x10]
push eax
call fcn.004074b1
mov ebx, dword [ebp - 0x10]
push ebx
push 0x431
push dword [edi + 4]
call esi
lea eax, [ebx - 0xc]
cmp eax, dword [0x4f0984]
pop esi
pop ebx
je 0x475985
push eax
call fcn.004013aa
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff4
cmp eax, dword [0x4f0984]
je 0x475999
push eax
call fcn.004013aa
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff4
cmp eax, dword [0x4f0984]
je 0x4759ad
push eax
call fcn.004013aa
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff4
cmp eax, dword [0x4f0984]
je 0x4759c1
push eax
call fcn.004013aa
mov ecx, dword [ebp - 0xc]
xor eax, eax
inc eax
mov dword fs:[0], ecx
leave
ret

Function at 0x476051
Capabilities:
Get graphical window text

Disassembly:
push 0
push 0xd
push 0x113
push dword [0x4f2c70]
mov dword [0x4f25e4], 1
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
ret
Function at 0x476599
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor esi, esi
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov ebx, eax
shl ebx, 0x10
cmp dword [ebp + 0x10], esi
je 0x4765bf
or ebx, 0x1000000
mov eax, dword [0x4f0980]
push 0x40
mov dword [ebp + 0x10], eax
pop edi
add edi, edi
lea esi, [ebp + 0x10]
call fcn.004151fd
lea ecx, [edi + 1]
push ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
lea ecx, [ebp + 0x10]
mov esi, eax
call fcn.0040306e
cmp esi, edi
je 0x4765ca
mov esi, dword [ebp + 8]
lea ecx, [ebp + 0x10]
call fcn.00402eaa
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff4
cmp eax, dword [0x4f0984]
je 0x47660d
push eax
call fcn.004013aa
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret