joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44dcf0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aa216
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x4d9320]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x238], 0
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x21c]
cmp word [ebp - 0x21c], 0
je 0x44dd99
jmp 0x44dd90
add eax, 2
cmp word [eax], 0
jne 0x44dd90
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.00420c70
push 0x4b8d28
lea edx, [ebp - 0x234]
mov dword [ebp - 4], 1
mov ecx, 0x4ea140
call fcn.00420e80
add esp, 4
cmp dword [ebp - 0x220], 8
jb 0x44dde3
push dword [ebp - 0x234]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, 0x4ea140
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a285c
mov esp, ebp
pop ebp
ret 4

Function at 0x44deb0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aa27b
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x4d9320]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x224], 0
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
mov dword [ebp - 0x220], 0x4ea15c
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [0x4ea170], 7
mov dword [0x4ea16c], 0
mov word [0x4ea15c], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x21c]
cmp word [ebp - 0x21c], 0
je 0x44df5a
add eax, 2
cmp word [eax], 0
jne 0x44df51
push eax
lea eax, [ebp - 0x21c]
mov ecx, 0x4ea15c
push eax
call fcn.00420c70
mov eax, 0x4ea15c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a285c
mov esp, ebp
pop ebp
ret 4
Function at 0x44e990
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aa497
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x4d9320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x24c], 0
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
cmp word [ebp - 0x218], 0
je 0x44ea39
lea esp, [esp]
add eax, 2
cmp word [eax], 0
jne 0x44ea30
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00420c70
push str.lddownloader_
lea edx, [ebp - 0x230]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.00420e80
add esp, 4
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0044e4d0
cmp dword [ebp - 0x234], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x44ea91
push dword [ebp - 0x248]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x234], 7
cmp dword [ebp - 0x21c], 8
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
jb 0x44eac2
push dword [ebp - 0x230]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov dword [ebp - 4], 3
lea eax, [ebp - 0x218]
cmp word [ebp - 0x218], 0
je 0x44eaff
add eax, 2
cmp word [eax], 0
jne 0x44eaf6
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00420c70
sub esp, 0x18
mov dword [ebp - 4], 4
mov ecx, esp
lea edx, [ebp - 0x230]
push str.lddownloaderlddownloader.log
call fcn.00420e80
add esp, 4
mov ecx, edi
call fcn.0044e570
add esp, 0x18
cmp dword [ebp - 0x21c], 8
jb 0x44eb4f
push dword [ebp - 0x230]
call esi
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a285c
mov esp, ebp
pop ebp
ret

Function at 0x44fad0
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
mov esi, ecx
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x44fb1e
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x44fafa
mov esi, dword [esi]
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push 0
push str.LDPlayer4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x453270
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x4d9320]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, edx
mov esi, ecx
cmp dword [edi + 0x14], 8
jb 0x453293
mov eax, dword [edi]
jmp 0x453295
mov eax, edi
cmp dword [esi + 0x14], 8
jb 0x45329d
mov ecx, dword [esi]
push 1
push 0
push eax
push ecx
push str.shell_filename____s___param____s___runas___d__show___d
call fcn.00451d00
push 0x118
lea eax, [ebp - 0x124]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0x20
mov dword [ebp - 0x128], 0x11c
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x4532f5
lea eax, [ebp - 0x128]
mov dword [ebp - 0x128], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [edi + 0x14], 8
jb 0x4532fd
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x453305
mov esi, dword [esi]
push 5
push 0
push edi
push esi
push 0x4c5c20
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x453343
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.shellEx_failed____lastError___d
call fcn.00451d00
add esp, 8
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a285c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.004a285c
mov esp, ebp
pop ebp
ret
Function at 0x453360
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aae48
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x4d9320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
cmp dword [esi + 0x14], 8
jb 0x45339b
mov eax, dword [esi]
jmp 0x45339d
mov eax, esi
cmp dword [edi + 0x14], 8
jb 0x4533a5
mov ecx, dword [edi]
push eax
push ecx
push str.createProcess_filename____s___param____s_
call fcn.00451d00
push edi
mov edx, 0x4b87d8
lea ecx, [ebp - 0x40]
call fcn.00418300
push 0x4b87d8
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004183f0
add esp, 0x14
mov byte [ebp - 4], 2
cmp dword [ebp - 0x2c], 8
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x4533f0
push dword [ebp - 0x40]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp dword [esi + 0x10], eax
je 0x45343d
push esi
mov edx, 0x4c5d48
lea ecx, [ebp - 0x58]
call fcn.00418300
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00420890
mov byte [ebp - 4], 2
cmp dword [ebp - 0x44], 8
jb 0x45343d
push dword [ebp - 0x58]
call edi
add esp, 4
push 0x40
lea eax, [ebp - 0xac]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0xb0], 0x44
lea ecx, [ebp - 0x68]
mov dword [ebp - 0xac], 0
xor eax, eax
mov dword [ebp - 0xa8], 0
cmp dword [ebp - 0x14], 8
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x80], eax
push ecx
push 0
push 0
push 0x10
push 0
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push 0
push eax
push 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0x84], 1
movdqu xmmword [ebp - 0x68], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4534d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.createProcess_failed____lastError___d
call fcn.00451d00
add esp, 8
xor esi, esi
jmp 0x4534e5
push dword [ebp - 0x64]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x68]
cmp dword [ebp - 0x14], 8
jb 0x4534f3
push dword [ebp - 0x28]
call edi
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a285c
mov esp, ebp
pop ebp
ret
Function at 0x454250
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.004a2de0
mov eax, dword [0x4d9320]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
mov dword [ebp - 0x1008], edx
push 0x7fe
push eax
mov word [ebp - 0x804], ax
mov ebx, ecx
lea eax, [ebp - 0x802]
mov dword [ebp - 0x100c], 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x804]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4542cc
lea eax, [ebp - 0x804]
push 0x5c
push eax
call dword [sym.imp.MSVCR120.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x4542cc
xor ecx, ecx
mov word [eax + 2], cx
push esi
lea eax, [ebp - 0x804]
push edi
push eax
call dword [sym.imp.MSVCR120.dll__wcslwr]
mov esi, eax
add esp, 4
mov edx, 0x4e67c6a7
movzx edi, word [esi]
test di, di
je 0x45430e
lea ecx, [ecx]
mov ecx, edx
lea esi, [esi + 2]
mov eax, edx
shl ecx, 5
shr eax, 2
add ecx, eax
movzx eax, di
movzx edi, word [esi]
add ecx, eax
xor edx, ecx
test di, di
jne 0x4542f0
push dword [ebp - 0x1008]
and edx, 0x7fff
lea eax, [ebp - 0x1004]
push edx
push str.20160302_bbbb_bbbb__04x_0000_08x
push eax
call fcn.00457bd0
add esp, 0x10
mov dword [ebx + 0x14], 7
xor eax, eax
mov dword [ebx + 0x10], 0
mov word [ebx], ax
pop edi
pop esi
cmp word [ebp - 0x1004], ax
jne 0x454351
xor ecx, ecx
jmp 0x45436f
lea ecx, [ebp - 0x1004]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x454360
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x1004]
mov ecx, ebx
push eax
call fcn.00407f60
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004a285c
mov esp, ebp
pop ebp
ret

Function at 0x456740
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4d9320]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x20]
push eax
call fcn.00454390
cmp dword [ebp - 0xc], 8
lea eax, [ebp - 0x20]
push 0
cmovae eax, dword [ebp - 0x20]
push eax
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
jne 0x45677d
xor esi, esi
jmp 0x4567a8
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x28], 0
push ecx
push eax
mov dword [ebp - 0x24], 0xffffffff
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea eax, [ebp - 0x28]
push eax
push 0x456600
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [ebp - 0x28]
cmp dword [ebp - 0xc], 8
jb 0x4567ba
push dword [ebp - 0x20]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 8]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004a285c
mov esp, ebp
pop ebp
ret 4
Function at 0x45cb00
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4abe88
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x4d9320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x1a0], ebx
call fcn.0045cd70
mov esi, eax
cmp word [edi], bx
je 0x45cb59
cmp word [edi + 2], 0x3a
jne 0x45cb59
mov eax, edi
jmp 0x45cb90
mov ecx, esi
call fcn.00459730
test al, al
jne 0x45cc6e
push edi
lea eax, [ebp - 0x19c]
mov ecx, esi
push eax
call fcn.00458e70
mov ebx, 1
mov dword [ebp - 4], 0
mov ecx, eax
mov dword [ebp - 0x1a0], ebx
call fcn.00459540
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x118]
call fcn.00458c60
mov dword [ebp - 4], 2
test bl, 1
je 0x45cbb5
lea ecx, [ebp - 0x19c]
call fcn.00458d50
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0x118]
call fcn.00459540
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x45cc5c
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x45cc5c
push esi
mov dword [ebp - 0x1a8], 0
call fcn.00457d00
add esp, 4
mov dword [ebp - 0x1a0], eax
lea ecx, [ebp - 0x1a8]
push 0
push ecx
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1a8], esi
jne 0x45cc4e
mov eax, dword [ebp - 0x1a4]
lea ecx, [ebp - 0x118]
mov dword [ebp - 4], 0xffffffff
mov dword [eax], esi
call fcn.00458d50
mov eax, dword [ebp - 0x1a0]
jmp 0x45cd3f
push dword [ebp - 0x1a0]
call sub.MSVCR120.dll_void___cdecl_operator_delete___void__
add esp, 4
lea ecx, [ebp - 0x118]
mov dword [ebp - 4], 0xffffffff
call fcn.00458d50
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x94]
call fcn.00458c60
push 0x4ba4fc
push 0x4b8d24
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 3
call fcn.00459980
lea eax, [ebp - 0x94]
mov ecx, 0x4dcc44
push eax
call fcn.00462790
mov esi, eax
mov eax, dword [0x4dcc44]
cmp esi, eax
je 0x45ccd7
lea ecx, [esi + 0x10]
call fcn.00459540
push eax
lea ecx, [ebp - 0x94]
call fcn.00458f00
test al, al
mov dword [ebp - 0x1a0], esi
mov eax, dword [0x4dcc44]
je 0x45ccdd
mov dword [ebp - 0x1a0], eax
lea esi, [ebp - 0x1a0]
mov esi, dword [esi]
cmp esi, eax
je 0x45cd1d
mov ebx, dword [esi + 0xa4]
push ebx
call fcn.00457d00
add esi, 0x94
add esp, 4
mov edi, eax
cmp dword [esi + 0x14], 0x10
jb 0x45cd08
mov esi, dword [esi]
push ebx
push esi
push edi
call sub.MSVCR120.dll_memcpy
mov eax, dword [ebp - 0x1a4]
add esp, 0xc
mov dword [eax], ebx
jmp 0x45cd2b
mov eax, dword [ebp - 0x1a4]
xor edi, edi
mov dword [eax], 0
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.00458d50
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a285c
mov esp, ebp
pop ebp
ret
Function at 0x45cfe0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4abec6
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x4d9320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x118]
push eax
call fcn.0045c820
add esp, 4
push esi
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0
push ecx
mov ecx, eax
call fcn.00458e70
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.00458d50
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0x94]
call fcn.00459540
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x45d0da
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x45d115
cmp esi, 0x400000
ja 0x45d115
push esi
mov dword [ebp - 0x11c], 0
call fcn.00457d00
add esp, 4
mov edi, eax
lea eax, [ebp - 0x11c]
push 0
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x11c], esi
jne 0x45d0cf
push esi
push edi
call fcn.0045d3b0
add esp, 8
push edi
call sub.MSVCR120.dll_void___cdecl_operator_delete___void__
add esp, 4
jmp 0x45d115
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x11c], 0
push eax
push esi
call fcn.0045cb00
mov esi, eax
add esp, 8
test esi, esi
je 0x45d115
mov eax, dword [ebp - 0x11c]
cmp eax, 0xa
jbe 0x45d115
push eax
push esi
call fcn.0045d3b0
push esi
call sub.MSVCR120.dll_void___cdecl_operator_delete___void__
add esp, 0xc
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.00458d50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a285c
mov esp, ebp
pop ebp
ret

Function at 0x45d620
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
test ax, ax
mov ecx, 8
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x45d645
or esi, 2
push 1
call edi
test ax, ax
jns 0x45d651
or esi, 1
push 0x10
call edi
test ax, ax
jns 0x45d65d
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x45d669
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x45fff0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, ecx
push esi
push edi
xor esi, esi
lea ecx, [ebx + 0x354]
call fcn.00475ba0
mov edi, dword [ebp + 8]
test eax, eax
jle 0x46004b
nop
push esi
lea ecx, [ebx + 0x354]
mov byte [ebp + 0xb], 0
call fcn.00458e60
lea ecx, [ebp + 0xb]
push ecx
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0xc]
push edi
call dword [edx]
cmp byte [ebp + 0xb], 0
jne 0x4601b0
lea ecx, [ebx + 0x354]
inc esi
call fcn.00475ba0
cmp esi, eax
jl 0x460010
sub edi, 0x100
je 0x460138
sub edi, 4
je 0x4600c8
sub edi, 2
jne 0x46012d
cmp dword [ebx + 0xe0], edi
je 0x46012d
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp + 8], eax
call dword [sym.imp.MSVCR120.dll_toupper]
mov ecx, dword [ebx + 0xe0]
lea edx, [ebp + 8]
add esp, 4
mov word [ebp + 8], ax
mov eax, dword [ecx]
push 0x80000012
push edx
push 0x462b80
call dword [eax + 0x114]
mov esi, eax
test esi, esi
je 0x46012d
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x108]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x20]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebx + 0xe4]
test eax, eax
je 0x46012d
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movdqu xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
movq qword [ebp - 0xc], xmm0
mov word [ebp - 0xc], ax
mov eax, dword [ebx + 0xf4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0xf8]
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x10], eax
call fcn.0045d620
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xe4]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x46012d
mov ecx, dword [ebx + 0xe4]
test ecx, ecx
je 0x460197
mov eax, dword [ecx]
mov eax, dword [eax + 0xdc]
call eax
test al, al
je 0x460197
mov ecx, dword [ebx + 0xe4]
mov eax, dword [ecx]
mov eax, dword [eax + 0xec]
call eax
test al, al
je 0x460197
mov ecx, dword [ebx + 0xe4]
push str.RichEdit
mov eax, dword [ecx]
call dword [eax + 0x10]
push eax
call dword [sym.imp.MSVCR120.dll_wcsstr]
add esp, 8
test eax, eax
je 0x460197
mov ecx, dword [ebx + 0xe4]
call fcn.0048cc90
test al, al
jne 0x46012d
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, ebx
setns al
movzx eax, al
push eax
call fcn.00461930
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4613b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov edi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
cmp byte [ebp + 0xc], 0
mov esi, dword [ebp + 8]
je 0x4613eb
mov ecx, dword [edi + 0x84]
cmp eax, ecx
je 0x4613eb
cmp esi, dword [edi + 0xe4]
je 0x4613eb
cmp byte [edi + 0xdc], 0
jne 0x4613eb
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0xe4]
cmp esi, eax
je 0x4614e6
test eax, eax
je 0x46145a
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movdqu xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0x20], 0x14
movq qword [ebp - 0xc], xmm0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xe4]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
push 1
push 0
push 0
push 0
push str.killfocus
push dword [edi + 0xe4]
mov ecx, edi
call fcn.00460f20
mov dword [edi + 0xe4], 0
test esi, esi
je 0x4614e6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
cmp eax, edi
jne 0x4614e6
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xdc]
call eax
test al, al
je 0x4614e6
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xec]
call eax
test al, al
je 0x4614e6
xorps xmm0, xmm0
mov dword [edi + 0xe4], esi
movdqu xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 4], 0
movq qword [ebp - 0xc], xmm0
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xe4]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
push 1
push 0
push 0
push 0
push str.setfocus
push dword [edi + 0xe4]
mov ecx, edi
call fcn.00460f20
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4622b0
Capabilities:
Log keystrokes via input method manager

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0xfffffffffffffff0
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je 0x46235f
push dword [esi]
call dword [sym.imp.USER32.dll_GetParent]
mov ebx, eax
mov ecx, 0x4dca84
mov dword [ebp - 4], ebx
call fcn.00475ba0
dec eax
mov dword [ebp + 8], eax
js 0x4623a1
push eax
mov ecx, 0x4dca84
call fcn.00458e60
cmp dword [ebp - 4], 0
mov edi, eax
je 0x462348
mov ecx, edi
call fcn.0045cae0
cmp dword [esi], eax
je 0x46231b
mov ecx, edi
call fcn.0045cae0
cmp ebx, eax
jne 0x46233b
push esi
mov ecx, edi
call fcn.00462250
test al, al
jne 0x462356
lea eax, [ebp - 8]
mov ecx, edi
push eax
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
call fcn.0045fff0
push ebx
call dword [sym.imp.USER32.dll_GetParent]
mov ebx, eax
test ebx, ebx
jne 0x462305
mov eax, dword [ebp + 8]
dec eax
mov dword [ebp + 8], eax
js 0x4623a1
mov ebx, dword [ebp - 4]
jmp 0x4622f2
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x4dca84
xor edi, edi
call fcn.00475ba0
test eax, eax
jle 0x4623a1
nop
mov ecx, 0x4dca84
call fcn.00475ba0
push edi
mov ecx, 0x4dca84
call fcn.00458e60
mov ebx, eax
mov ecx, ebx
call fcn.0045cae0
cmp dword [esi], eax
je 0x4623aa
mov ecx, 0x4dca84
inc edi
call fcn.00475ba0
cmp edi, eax
jl 0x462370
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push esi
mov ecx, ebx
call fcn.00462250
test al, al
jne 0x462356
cmp dword [esi + 8], 0xe5
jne 0x4623c9
push dword [esi]
call sub.IMM32.dll_ImmGetVirtualKey
mov dword [esi + 8], eax
lea eax, [ebp - 8]
mov ecx, ebx
push eax
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
call fcn.0045fff0
pop edi
test al, al
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x463d20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x463d65
cmp byte [ebp + 8], 0
je 0x463d59
cmp byte [ebp + 0xc], 0
mov ecx, 1
mov eax, 4
cmovne eax, ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
xor eax, eax
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8