joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4081b2
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4eb018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push str.Enter
push 0x3a
push str.RegWritePca
push str.D:_thunder11_thunder11_cppsrc_setupThunderInstallThunderInstallThunderInstall.cpp
push 5
call fcn.00403339
add esp, 0x14
mov dword [ebp - 0x214], 7
xor eax, eax
lea ecx, [ebp - 0x228]
xor esi, esi
mov word [ebp - 0x228], ax
mov dword [ebp - 0x218], esi
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_AssistantPersisted
call fcn.0040263f
cmp dword [ebp - 0x214], 8
lea ecx, [ebp - 0x22c]
push ecx
push 0x2001f
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
push esi
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40829f
push 0x208
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0049d5c0
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 4
lea eax, [ebp - 0x230]
xor edi, edi
push eax
push 4
push esi
lea eax, [ebp - 0x210]
inc edi
push eax
push dword [ebp - 0x22c]
mov dword [ebp - 0x230], edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x22c]
test eax, eax
cmove esi, edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x228]
call fcn.00402600
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004250ca
leave
ret

Function at 0x408bde
Capabilities:
Create process on windows

Disassembly:
push 0x3c
mov eax, 0x4bed88
call fcn.00425b5e
xor edx, edx
xor ebx, ebx
push ecx
inc edx
mov dword [ebp - 0x44], ebx
call fcn.00407e17
pop ecx
test al, al
jne 0x408ce7
push 0x870
call fcn.004252e9
mov esi, eax
mov dword [ebp - 0x48], esi
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x40]
push 7
pop edi
xor eax, eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], edi
mov word [ebp - 0x40], ax
mov dword [esp], str._rNQ
call fcn.0040263f
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x44], 1
push 0x4de4e4
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], edi
mov word [ebp - 0x28], ax
call fcn.0040263f
push 1
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x44], 3
push eax
push 1
mov ecx, esi
call fcn.00404761
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.00402600
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00402600
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x96c80000
push 0x4dd298
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
mov ecx, esi
call fcn.0043d290
mov ecx, esi
call fcn.0043d090
push 1
push 1
mov ecx, esi
call fcn.0043daa0
mov ecx, esi
call fcn.0043d990
cmp eax, 1
jne 0x408ce3
push 5
push ebx
push ebx
push str.http:__down.sandai.net_thunderspeed_ThunderSpeed1.0.35.366.exe
push str.open
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor eax, eax
jmp 0x408cea
xor eax, eax
inc eax
call fcn.00425b19
ret
Function at 0x408cf0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x4eb018]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x408e6f
call fcn.00409330
mov edx, esi
call fcn.004082ba
mov esi, eax
test esi, esi
jne 0x408dfa
push edi
call fcn.00431e30
pop ecx
lea ecx, [esp + 0xc]
call fcn.00403e44
cmp dword [eax + 0x14], 8
jb 0x408d4c
mov eax, dword [eax]
push eax
call fcn.004321d0
pop ecx
lea ecx, [esp + 0xc]
call fcn.00402600
call fcn.00408bde
test eax, eax
je 0x408df7
push 0x844
call fcn.004252e9
pop ecx
mov ecx, eax
call fcn.00404cd4
mov edi, eax
test edi, edi
je 0x408e6f
push ebx
mov eax, SysReAllocString
mov ecx, edi
push eax
push eax
push eax
push eax
push ebx
push 0x86c80000
push 0x4dd298
push ebx
call fcn.0043d290
mov esi, eax
call fcn.00406cc9
mov dword [eax + 0x64], esi
xor esi, esi
inc esi
cmp dword [0x4ee7c0], esi
jne 0x408dd2
push ebx
push ebx
call fcn.00406cc9
mov ecx, eax
call fcn.00407111
test al, al
je 0x408dcd
push esi
push ebx
jmp 0x408de7
push 0xfffffffffffffffe
pop esi
jmp 0x408dfa
push 0x12c
mov ecx, edi
call fcn.0043d8e0
mov ecx, edi
call fcn.0043d090
push esi
push esi
mov ecx, edi
call fcn.0043daa0
call fcn.0042e710
mov esi, eax
jmp 0x408dfa
or esi, 0xffffffff
call fcn.004018fa
mov ecx, eax
call fcn.00401a81
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push str.after_MessageLoop
push 0xfe
mov ebx, str.WinMain
mov edi, str.D:_thunder11_thunder11_cppsrc_setupThunderInstallThunderInstallThunderInstall.cpp
push ebx
push edi
push 4
call fcn.00403339
add esp, 0x14
call fcn.00409340
push str.after_Unintialize7z
push 0x100
push ebx
push edi
push 4
call fcn.00403339
add esp, 0x14
call dword [sym.imp.ole32.dll_CoUninitialize]
push str.after_CoUninitialize
push 0x102
push ebx
push edi
push 4
call fcn.00403339
add esp, 0x14
mov eax, esi
jmp 0x408e71
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004250ca
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40e1e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x40e1fb
xor eax, eax
jmp 0x40e283
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
cmp dword [ebp - 4], 0x400000
jbe 0x40e216
mov dword [ebp - 0xc], 0x400000
jmp 0x40e21c
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 0
push 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 8]
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
add ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
cmp dword [ebp - 0x14], 0
jne 0x40e273
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40e283
cmp dword [ebp - 8], 0
jne 0x40e27b
jmp 0x40e281
cmp dword [ebp - 4], 0
ja 0x40e204
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x40e290
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x40e2ab
xor eax, eax
jmp 0x40e333
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
cmp dword [ebp - 4], 0x400000
jbe 0x40e2c6
mov dword [ebp - 0xc], 0x400000
jmp 0x40e2cc
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 0
push 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 8]
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
add ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
cmp dword [ebp - 0x14], 0
jne 0x40e323
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40e333
cmp dword [ebp - 8], 0
jne 0x40e32b
jmp 0x40e331
cmp dword [ebp - 4], 0
ja 0x40e2b4
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x40e8c0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
jmp 0x40e8d8
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x100
jae 0x40e92b
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
jmp 0x40e8f9
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 8
jae 0x40e91c
mov eax, dword [ebp - 8]
shr eax, 1
mov ecx, dword [ebp - 8]
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
xor eax, ecx
mov dword [ebp - 8], eax
jmp 0x40e8f0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [edx*4 + 0x4eed40], eax
jmp 0x40e8cf
jmp 0x40e936
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x800
jae 0x40e96e
mov edx, dword [ebp - 4]
mov eax, dword [edx*4 + 0x4ee940]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
and ecx, 0xff
mov edx, dword [ebp - 0x10]
shr edx, 8
xor edx, dword [ecx*4 + 0x4eed40]
mov eax, dword [ebp - 4]
mov dword [eax*4 + 0x4eed40], edx
jmp 0x40e92d
mov dword [0x4ee7dc], fcn.0040f980
call fcn.0040fc70
test eax, eax
jne 0x40e98b
mov dword [0x4ee7dc], 0x40fa90
mov esp, ebp
pop ebp
ret
Function at 0x414720
Capabilities:
Check if file exists
Create directory
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x4eb018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 1
push 0x23
lea eax, [ebp - 0x108]
mov edi, ecx
push eax
mov dword [ebp - 0x10c], edi
push 0
mov dword [ebp - 0x10c], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x41476d
push str.c:windows_temp
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea eax, [ebp - 0x108]
push eax
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, 0xffffffff
jne 0x414792
push 0
lea eax, [ebp - 0x108]
push eax
call esi
push str.Thunder_Network
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x108]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x4147bd
push 0
lea eax, [ebp - 0x108]
push eax
call esi
push str.DownloadLib
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x108]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x4147e8
push 0
lea eax, [ebp - 0x108]
push eax
call esi
lea esi, [ebp - 0x108]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
lea ecx, [esi + 1]
mov byte [edi], 0
mov al, byte [esi]
inc esi
test al, al
jne 0x414802
sub esi, ecx
cmp esi, 0xf
ja 0x41482a
push esi
lea eax, [ebp - 0x108]
mov dword [edi + 0x10], esi
push eax
push edi
call fcn.0049d720
mov byte [edi + esi], 0
jmp 0x4148bb
cmp esi, 0x7fffffff
ja 0x4148d1
mov ebx, esi
or ebx, 0xf
cmp ebx, 0x7fffffff
jbe 0x414867
mov ebx, SysReAllocString
mov ecx, 0x80000023
push ecx
call fcn.004252e9
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4148db
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x414895
mov eax, 0x16
cmp ebx, eax
cmovb ebx, eax
lea eax, [ebx + 1]
cmp eax, 0x1000
jb 0x414884
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x4148d6
jmp 0x41484d
test eax, eax
je 0x414893
push eax
call fcn.004252e9
add esp, 4
jmp 0x414895
xor eax, eax
push esi
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x10c], eax
push ecx
push eax
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], ebx
call fcn.0049cf70
mov eax, dword [ebp - 0x10c]
mov byte [eax + esi], 0
mov dword [edi], eax
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, edi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004250ca
mov esp, ebp
pop ebp
ret
call fcn.00401470
call fcn.004013f9
call fcn.004a4753
int3
Function at 0x422300
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x4eb018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, ecx
lea ebx, [edi + 0x10]
mov eax, edi
mov dword [ebx], 0
mov dword [ebp - 0x88], ebx
cmp dword [edi + 0x14], 0x10
jb 0x422330
mov eax, dword [edi]
push 0x64
mov byte [eax], 0
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.0049d5c0
add esp, 0xc
lea eax, [ebp - 0x84]
push 0
push 0
push 0
push 0
push eax
push 0x64
lea eax, [ebp - 0x7c]
push eax
push 0x4dea00
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x422379
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004250ca
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x84]
mov eax, ecx
push esi
shr eax, 0x18
push 0
push 0
push eax
mov eax, ecx
shr eax, 0x10
movzx eax, al
push eax
mov eax, ecx
shr eax, 8
movzx eax, al
push eax
movzx eax, cl
push eax
lea eax, [ebp - 0x18]
push str._02X_02X_02X_02X_02X_02X
push eax
call fcn.00422220
lea esi, [ebp - 0x18]
add esp, 0x20
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4223b7
sub esi, ecx
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0x8c], ecx
cmp esi, ecx
ja 0x4223fb
cmp ecx, 0x10
jb 0x4223d4
mov edi, dword [edi]
push esi
lea eax, [ebp - 0x18]
mov dword [ebx], esi
push eax
push edi
call fcn.0049d720
add esp, 0xc
mov byte [edi + esi], 0
mov al, 1
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004250ca
mov esp, ebp
pop ebp
ret
cmp esi, 0x7fffffff
ja 0x4224ed
mov ebx, esi
or ebx, 0xf
cmp ebx, 0x7fffffff
ja 0x422443
mov edx, ecx
mov eax, SysReAllocString
shr edx, 1
sub eax, edx
cmp ecx, eax
ja 0x422443
lea eax, [edx + ecx]
cmp ebx, eax
cmovb ebx, eax
lea ecx, [ebx + 1]
cmp ecx, 0x1000
jb 0x42246b
lea eax, [ecx + 0x23]
cmp eax, ecx
jbe 0x4224f2
jmp 0x42244d
mov ebx, SysReAllocString
mov eax, 0x80000023
push eax
call fcn.004252e9
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4224e8
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x42247c
test ecx, ecx
je 0x42247a
push ecx
call fcn.004252e9
add esp, 4
jmp 0x42247c
xor eax, eax
mov ecx, dword [ebp - 0x88]
push esi
mov dword [ebp - 0x80], eax
mov dword [edi + 0x14], ebx
mov dword [ecx], esi
lea ecx, [ebp - 0x18]
push ecx
push eax
call fcn.0049cf70
mov ebx, dword [ebp - 0x80]
add esp, 0xc
mov eax, dword [ebp - 0x8c]
mov byte [ebx + esi], 0
cmp eax, 0x10
jb 0x4224d3
lea ecx, [eax + 1]
mov eax, dword [edi]
cmp ecx, 0x1000
jb 0x4224c9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4224e8
mov eax, edx
push ecx
push eax
call fcn.0042556a
add esp, 8
mov ecx, dword [ebp - 4]
mov al, 1
pop esi
mov dword [edi], ebx
xor ecx, ebp
pop edi
pop ebx
call fcn.004250ca
mov esp, ebp
pop ebp
ret
call fcn.004a4753
call fcn.00401470
call fcn.004013f9
int3
Function at 0x42abc0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x42abe1
mov ecx, dword [ebp - 4]
or ecx, 8
mov dword [ebp - 4], ecx
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x42abf9
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x42ac11
mov edx, dword [ebp - 4]
or edx, 2
mov dword [ebp - 4], edx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x42ac27
mov ecx, dword [ebp - 4]
or ecx, 4
mov dword [ebp - 4], ecx
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x42ac3f
mov eax, dword [ebp - 4]
or eax, 0x20
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x431ab0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 4], ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 0x470]
je 0x431aee
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
cmp eax, dword [edx + 0x5b0]
je 0x431aee
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x470]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0x5b0]
jne 0x431b01
jmp 0x431c5d
mov edx, dword [ebp - 4]
cmp dword [edx + 0x5b0], 0
je 0x431b87
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x28], 0x17
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x5b0]
mov edx, dword [ebp - 4]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x5b0]
mov edx, dword [eax + 0x12c]
call edx
push 0
push 0
push 0
push str.killfocus
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x5b0]
push ecx
mov ecx, dword [ebp - 4]
call fcn.004311e0
mov edx, dword [ebp - 4]
mov dword [edx + 0x5b0], 0
cmp dword [ebp + 8], 0
jne 0x431b92
jmp 0x431c5d
cmp dword [ebp + 8], 0
je 0x431c5d
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
call eax
cmp eax, dword [ebp - 4]
jne 0x431c5d
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0xec]
call eax
movzx ecx, al
test ecx, ecx
je 0x431c5d
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0xf8]
call edx
movzx eax, al
test eax, eax
je 0x431c5d
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x5b0], edx
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x48], 0x18
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x44], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x40], eax
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x5b0]
mov edx, dword [ebp - 4]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x5b0]
mov edx, dword [eax + 0x12c]
call edx
push 0
push 0
push 0
push str.setfocus
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x5b0]
push ecx
mov ecx, dword [ebp - 4]
call fcn.004311e0
mov esp, ebp
pop ebp
ret 8
Function at 0x43d990
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
push 4
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 4], eax
push 1
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43da6a
push 0
push 0
push 0
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x43da6a
cmp dword [ebp - 0x24], 0x10
jne 0x43da36
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [eax + 4]
jne 0x43da36
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0xc], edx
push 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
lea edx, [ebp - 0x28]
push edx
call fcn.004325a0
add esp, 4
movzx eax, al
test eax, eax
jne 0x43da5d
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x24], 0x12
jne 0x43da65
jmp 0x43da6a
jmp 0x43d9e4
push 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebp - 0x24], 0x12
jne 0x43da90
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x4541a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x604], 0
je 0x45427d
cmp dword [ebp + 8], 0x100
jne 0x45421f
movzx ecx, word [ebp + 0xc]
cmp ecx, 0xd
jne 0x45421f
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x60a]
test eax, eax
je 0x4541f6
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x45421d
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x60b]
test eax, eax
jne 0x45421d
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x44], 0
je 0x454219
push 0
push 0
push 0
push str.return
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x44]
call fcn.004311e0
xor eax, eax
jmp 0x454282
jmp 0x454249
cmp dword [ebp + 8], 0x102
jne 0x454249
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x60e]
test edx, edx
je 0x454249
cmp dword [ebp + 0xc], 0x30
jb 0x454242
cmp dword [ebp + 0xc], 0x39
jbe 0x454249
mov eax, 1
jmp 0x454282
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x604]
mov eax, dword [edx + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0xc]
call edx
jmp 0x454282
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10