joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100224d6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x84], ebx
test ebx, 0xffff0000
jne 0x10022501
cmp dword [edi + 0x80], 0
jne 0x10022501
movzx eax, bx
mov dword [edi + 0x80], eax
call fcn.1000d805
push 5
push ebx
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.1002276f
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x1002252e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, ecx
xor esi, esi
call fcn.1000d805
push 5
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10022561
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push edi
push dword [ebp + 0xc]
mov ecx, ebx
push esi
call fcn.10022574
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x100246e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
mov edi, dword [esi + 0xc]
jne 0x10024736
push 5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x1002470f
call fcn.10014648
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x10024724
call fcn.10014648
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x10024736
call fcn.10014648
call fcn.1000d805
cmp dword [eax + 0x3c], 0
je 0x1002474b
push edi
mov ecx, ebx
call fcn.10023e03
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.10024931
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x10024774
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x10024780
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x10026e0e
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.1001c18d
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x10026e4a
call fcn.1002702b
mov dword [esi + 0xc], 1
jmp 0x10026e4f
call fcn.1002702b
cmp dword [esi], 0
je 0x10026e9a
push edi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, dword [ebp + 0x10]
mov edi, eax
mov ecx, esi
test edi, edi
jle 0x10026e75
push edi
call fcn.1000f09b
lea ecx, [edi + 1]
push ecx
jmp 0x10026e84
push 0xff
call fcn.10009769
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.1000bdb7
pop edi
jmp 0x10026ebe
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x10026ebe
push dword [esi]
push dword [ebp - 4]
call fcn.100109fb
pop esi
leave
ret 0xc

Function at 0x10026f82
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.1002702b
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x10026fca
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.1000f09b
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.1000bdb7
jmp 0x10026fd5
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.100109fb
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x10038eee
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.10088b1a
call fcn.1000d859
cmp dword [eax + 0x14], 0
jne 0x10038f09
mov ecx, esi
pop esi
jmp fcn.10038212
pop esi
ret

Function at 0x10039dbd
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.100045b0
call fcn.1000d859
cmp dword [eax + 0x14], 0
jne 0x10039dd8
mov ecx, esi
pop esi
jmp fcn.1003962e
pop esi
ret

Function at 0x10042d55
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
push edi
test esi, esi
jne 0x10042d6e
call fcn.1000d805
mov esi, dword [eax + 0xc]
push 0x101848a8
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x10042db0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10042db0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x10042db0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.10042db9
jmp 0x10042db2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x100f93c2
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call fcn.10154ee3
pop ecx
test eax, eax
jne 0x100f9404
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str._s_s_X.tmp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.10007d40
add esp, 0x18
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x100f93ca
leave
ret
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
leave
ret

Function at 0x1015d217
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1015d08d

Function at 0x1016319b
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10162e18

Function at 0x4010e6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x461004]
jne 0x4010f0
repz ret
jmp fcn.00401295
Function at 0x40f7f7
Capabilities:
Check mutex on windows

Disassembly:
push ebx
xor eax, eax
push eax
push eax
push eax
call fcn.0043bfb0
mov edx, dword [esp + 0x14]
lea ecx, [esp]
call fcn.00415000
push esp
push 0x5a
call fcn.0043caf0
add esp, 8
mov dword [0x5ae0bc], 0xe00007
push 0xe00006
call fcn.00414619
mov dword [0x5ae0bc], 0xe00009
push 0xe00008
call fcn.00414619
mov dword [esp + 8], 0
mov dword [0x5ae0bc], 0xe0000b
push 0xe0000a
call fcn.00414619
push dword [esp]
push 1
push 0
call sub.KERNEL32.dll_CreateMutexW
push 0xe0000a
call fcn.0041476c
mov dword [esp + 4], eax
mov dword [0x5ae0bc], 0xe0000d
push 0xe0000c
call fcn.00414619
mov ebx, dword [esp + 4]
and ebx, ebx
je 0x40f8bc
call sub.KERNEL32.dll_GetLastError
push 0xe0000c
call fcn.0041476c
mov ebx, eax
cmp ebx, 0xb7
jne 0x40f8bc
mov eax, 1
jmp 0x40f8be
xor eax, eax
and eax, eax
je 0x40f905
mov dword [0x5ae0bc], 0xe0000e
push 0xe0000d
call fcn.00414619
push dword [esp + 4]
call sub.KERNEL32.dll_CloseHandle
push 0xe0000d
call fcn.0041476c
mov dword [0x5ae0bc], 0xe0000f
push 0xe0000e
call fcn.00414619
mov dword [esp + 8], 1
mov dword [0x5ae0bc], 0xe00010
push 0xe0000f
call fcn.00414619
mov dword [0x5ae0bc], 0xe00012
push 0xe00011
call fcn.00414619
mov eax, dword [esp + 8]
jmp 0x40f949
push edx
push eax
call fcn.0043ccc0
pop eax
push dword [esp + 4]
call fcn.0043bf40
pop edx
add esp, 0xc
pop ebx
ret 4
Function at 0x414619
Capabilities:
Packed with generic packer

Disassembly:
pushal
pushfd
push esp
push dword [esp + 0x2c]
call fcn.0043c790
add esp, 8
or eax, eax
je 0x414631
jmp 0x405bb6
popfd
popal
ret 4

Function at 0x416500
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x5db1c4], 0
push ebx
push esi
mov esi, 0x5db1cc
jne 0x41652c
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x5db1e4], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x5db1c4], 1
push dword [0x5db1e4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x4165c9
push 0x14
push 8
push dword [0x5db050]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x4165f3
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x5db1c8]
test eax, eax
je 0x41656e
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x5db1c8], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x4165f8
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x5db1e4]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x5db050]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4165f3
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8
Function at 0x41741e
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
push ebx
push esi
push edi
je 0x417473
push dword [esp + 0x10]
push 0x41739d
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [0x5db41c]
test esi, esi
je 0x4174cc
xor edi, edi
mov ebx, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 8], eax
jne 0x41746b
cmp byte [esi + 0x10], 0
je 0x41746b
push 3
push edi
push edi
push edi
push edi
push 0xfffffffffffffffe
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, ebx
test ebx, ebx
jne 0x417447
jmp 0x4174cc
mov esi, dword [0x5db41c]
test esi, esi
je 0x4174cc
xor edi, edi
push ebp
mov ebx, dword [esi]
lea ebp, [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp], eax
jne 0x4174c5
cmp byte [esi + 0x11], 0
je 0x4174a1
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [esi + 0x10], 0
je 0x4174b8
push 3
push edi
push edi
push edi
push edi
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
push ebp
push 0x5db41c
call fcn.0043bd2c
pop ecx
pop ecx
mov esi, ebx
test ebx, ebx
jne 0x417480
pop ebp
pop edi
pop esi
pop ebx
ret 4

Function at 0x418347
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push 0x418296
push 0x10
push 0x2c
call fcn.0043b631
push 0
push 0
push 8
mov dword [0x5db638], eax
call fcn.0043b42a
cmp word [0x5db630], 0
mov dword [0x5e08b8], eax
jne 0x41842c
push edi
lea eax, [esp + 4]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
xor edi, edi
inc edi
test eax, eax
jne 0x41839f
mov word [0x5db630], di
jmp 0x4183a7
xor eax, eax
mov word [0x5db630], ax
push str.ws2_32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x5db64c], eax
test eax, eax
je 0x41842b
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.getaddrinfo
push eax
call esi
push str.freeaddrinfo
push dword [0x5db64c]
mov dword [0x5db63c], eax
call esi
push str.getnameinfo
push dword [0x5db64c]
mov dword [0x5db640], eax
call esi
push str.WSAStringToAddressA
push dword [0x5db64c]
mov dword [0x5db644], eax
call esi
cmp dword [0x5db63c], 0
mov dword [0x5db648], eax
pop esi
je 0x41842b
cmp dword [0x5db640], 0
je 0x41842b
cmp dword [0x5db644], 0
je 0x41842b
test eax, eax
je 0x41842b
mov dword [0x5db634], edi
pop edi
add esp, 0x190
ret
Function at 0x41a230
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push ebp
push edi
xor edi, edi
mov ebp, edi
test eax, eax
je 0x41a2cb
cmp word [eax], di
je 0x41a2cb
push esi
push edi
push pe_nt_image_headers32
push 3
push edi
push 1
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x41a2c6
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
push ebx
push edi
push dword [0x5db050]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x41a2be
push ebp
lea eax, [esp + 0x1c]
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0x18], ebx
jne 0x41a2af
push dword [esp + 0x1c]
push ebx
push edi
push dword [esp + 0x20]
call fcn.0041b0f6
mov ebp, eax
push edi
push 0
push dword [0x5db050]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov eax, ebp
pop esi
jmp 0x41a2cd
xor eax, eax
pop edi
pop ebp
ret 0xc

Function at 0x41d55f
Capabilities:
Get graphical window text

Disassembly:
push ebx
push dword [esp + 8]
push dword [0x5e08dc]
call fcn.0043b55e
mov ebx, eax
test ebx, ebx
je 0x41d5c3
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x41d588
push dword [esp + 0xc]
push ebx
call eax
jmp 0x41d5c3
push esi
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push dword [esp + 0x14]
mov edi, eax
push edi
call fcn.0043c140
mov esi, eax
lea ecx, [edi + 1]
push ecx
xor eax, eax
push esi
mov word [esi], ax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push esi
call sub.MSVCRT.dll_wcslen
pop ecx
sub edi, eax
push edi
call fcn.0043c220
pop edi
pop esi
pop ebx
ret 8
Function at 0x41e077
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
push ebx
push ebp
push esi
push edi
push dword [0x5e08e0]
call fcn.0043b3bf
xor ebp, ebp
mov esi, eax
cmp dword [0x5db790], ebp
jne 0x41e153
xor ebx, ebx
inc ebx
mov dword [0x5db790], ebx
call fcn.00423022
mov edi, 0xa4
push edi
push ebp
push 0x5db798
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x5db798], 0x13
lea eax, [esp + 0x10]
mov dword [0x5db79c], edi
mov dword [0x5db7a8], 0x41dfc2
mov dword [0x5db7ac], 0x41e30d
push eax
mov dword [0x5db800], 0x41df9d
mov dword [0x5db804], 0x41e258
mov dword [0x5db7a4], 0x41df78
mov dword [0x5db828], 0x41dfdd
mov dword [0x5db83c], ebx
mov dword [esp + 0x14], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41e153
cmp dword [esp + 0x20], ebx
je 0x41e13b
cmp dword [esp + 0x20], 2
jne 0x41e153
cmp dword [esp + 0x14], 5
jae 0x41e143
mov dword [0x5db83c], ebp
jmp 0x41e153
jne 0x41e153
mov eax, dword [esp + 0x18]
neg eax
sbb eax, eax
and dword [0x5db83c], eax
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x138]
push eax
call fcn.00428448
mov eax, dword [esp + 0x140]
push ebp
push dword [0x5db054]
or eax, 0x50010000
push 0xffffffffffffffff
push dword [esi]
push dword [esp + 0x148]
push dword [esp + 0x148]
push dword [esp + 0x148]
push dword [esp + 0x148]
push eax
push ebp
push str.BUTTON
push ebp
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
test ebx, ebx
je 0x41e229
push dword [esp + 0x128]
push dword [0x5e08dc]
call fcn.0043b59d
mov edi, dword [esp + 0x13c]
mov esi, eax
mov dword [esi + 0x10], edi
test edi, edi
je 0x41e1f8
push edi
call fcn.00436245
test eax, eax
je 0x41e1f8
push ebp
push ebp
push edi
call fcn.00435e8f
mov dword [esi + 0x18], eax
jmp 0x41e1fb
mov dword [esi + 0x18], ebp
push 0x41dcc7
push 0xfffffffffffffffc
push ebx
mov dword [esi + 0x14], ebp
mov dword [esi + 0x1c], ebp
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x5db798
push ebx
push esi
push dword [esp + 0x134]
mov dword [0x5db794], eax
call fcn.00422e2b
mov ebx, eax
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x114
ret 0x1c

Function at 0x420d7a
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 1
call edi
mov ebx, 0x8000
test bx, ax
je 0x420d94
inc esi
push 2
call edi
test bx, ax
je 0x420da0
or esi, 2
push 4
call edi
test bx, ax
je 0x420dac
or esi, 4
pop edi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x421342
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x18]
push eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
push dword [edi]
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [esp + 0x30]
test esi, esi
jne 0x42137a
push dword [edi]
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
mov dword [esp + 0x10], 1
push dword [edi]
push esi
call fcn.00423cb6
test byte [edi + 0x14], 8
mov dword [esp + 0x14], eax
je 0x42146b
call dword [sym.imp.USER32.dll_GetFocus]
cmp dword [edi], eax
jne 0x42146b
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x24]
sub ebp, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
test eax, eax
jle 0x421499
test ebp, ebp
jle 0x421499
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
test ebx, ebx
je 0x421499
push ebp
push dword [esp + 0x30]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x30], eax
test eax, eax
je 0x421462
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [edi + 0x10], 0
je 0x42140c
push 4
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push dword [edi + 0x10]
push eax
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawStateW]
jmp 0x421421
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.USER32.dll_FillRect]
push 2
pop eax
add dword [esp + 0x18], eax
add dword [esp + 0x1c], eax
sub dword [esp + 0x20], eax
sub dword [esp + 0x24], eax
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawFocusRect]
push 0xcc0020
xor eax, eax
push eax
push eax
push ebx
push ebp
push dword [esp + 0x40]
push eax
push eax
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x30]
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x421499
cmp dword [edi + 0x10], ebx
je 0x421485
push 4
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [edi + 0x10]
push ebx
push ebx
push esi
call dword [sym.imp.USER32.dll_DrawStateW]
jmp 0x421499
push ebx
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.USER32.dll_FillRect]
push dword [esp + 0x14]
push esi
call fcn.00423c94
cmp dword [esp + 0x10], 0
je 0x4214b3
push esi
push dword [edi]
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x4214bb
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
xor ebx, ebx
call dword [sym.imp.USER32.dll_GetMessagePos]
mov edi, dword [esp + 0x20]
mov esi, eax
push 0xfffffffffffffff4
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [edi]
mov dword [esp + 0x14], eax
call fcn.00422dfc
push eax
call fcn.004246a4
push dword [0x5dbb1c]
mov dword [esp + 0x24], eax
call fcn.0043b778
mov ebp, eax
movsx ecx, si
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ecx
push eax
push dword [edi]
shr esi, 0x10
movsx ecx, si
mov dword [esp + 0x20], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
mov edi, 0x8000
test di, ax
je 0x42152f
inc ebx
push 0x12
call esi
test di, ax
je 0x42153b
or ebx, 2
push 0x11
call esi
test di, ax
je 0x421547
or ebx, 4
mov eax, dword [esp + 0x14]
mov dword [ebp], eax
mov eax, dword [esp + 0x18]
mov dword [ebp + 4], eax
call fcn.00420d7a
push 0x42159c
push ebp
push dword [esp + 0x2c]
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x34]
push dword [esp + 0x2c]
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 0x3c]
push dword [esp + 0x20]
mov dword [ebp + 0x14], eax
mov eax, dword [esp + 0x44]
movzx eax, ax
push 0x332c
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x18], eax
call fcn.00427522
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x423e94
Capabilities:
Check os version

Disassembly:
sub esp, 0x350
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x114
xor ebx, ebx
mov esi, 0xc8
and dword [esp + 0x10], ebx
xor edi, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x42400a
mov eax, dword [esp + 0x24]
dec eax
je 0x423fed
dec eax
jne 0x42400a
lea eax, [esp + 0x128]
xor ebp, ebp
push eax
call fcn.00423e4d
pop ecx
test eax, eax
je 0x423f4b
mov ebx, dword [esp + 0x12c]
mov edi, dword [esp + 0x130]
mov eax, dword [esp + 0x134]
cmp byte [esp + 0x242], 1
jne 0x423f0e
xor ebp, ebp
inc ebp
sub ebx, 3
je 0x423fe9
dec ebx
je 0x423fe5
dec ebx
je 0x423fc4
dec ebx
je 0x423f7e
sub ebx, 4
jne 0x42400a
test edi, edi
jne 0x42400a
cmp eax, 0x55f0
sbb esi, esi
and esi, 0xfffffff6
add esi, 0x78
jmp 0x42400a
lea eax, [esp + 0x244]
mov dword [esp + 0x244], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, dword [esp + 0x10]
je 0x423f0e
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
cmp byte [esp + 0x35e], 1
jmp 0x423f09
sub edi, 0
je 0x423fb6
dec edi
je 0x423fa8
dec edi
je 0x423f9a
dec edi
jne 0x42400a
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x69
jmp 0x42400a
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x5f
jmp 0x42400a
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x55
jmp 0x42400a
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x4b
jmp 0x42400a
sub edi, 0
je 0x423fe1
dec edi
je 0x423fdd
dec edi
jne 0x42400a
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x41
jmp 0x42400a
push 0x3c
jmp 0x424009
push 0x32
jmp 0x424009
push 0x14
jmp 0x424009
push 5
jmp 0x424009
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x424007
cmp eax, 0xa
je 0x424003
cmp eax, 0x5a
jne 0x42400a
push 0x28
jmp 0x424009
push 0x1e
jmp 0x424009
push 0xa
pop esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x350
ret
Function at 0x424d13
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
push dword [0x5e090c]
call fcn.0043b55e
mov esi, eax
test esi, esi
je 0x424ded
cmp dword [ebp + 0xc], 0
je 0x424d5f
push 4
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x424d50
cmp dword [esi + 0x1c], 0
jne 0x424d50
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x424ded
test byte [ebp + 0x10], 3
je 0x424d7a
push 4
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
push eax
push dword [ebp + 0x10]
push dword [esi]
call fcn.00425ee6
cmp dword [esi + 0x3c], 0xffffffff
push ebx
je 0x424d9f
xor ebx, ebx
cmp dword [esi + 0x3c], 0x1000000
sete bl
xor ecx, ecx
cmp dword [esi + 0x3c], 0x20000000
sete cl
or dword [esi + 0x3c], 0xffffffff
jmp 0x424db3
push dword [esi]
call dword [sym.imp.USER32.dll_IsZoomed]
push dword [esi]
mov ebx, eax
call dword [sym.imp.USER32.dll_IsIconic]
mov ecx, eax
test dword [ebp + 0x10], 0x2000000
je 0x424dd0
test ebx, ebx
je 0x424dc4
push 8
jmp 0x424dd6
neg ecx
sbb ecx, ecx
and ecx, 3
add ecx, 4
jmp 0x424de3
test ebx, ebx
je 0x424dd9
push 3
pop ecx
jmp 0x424de3
xor eax, eax
test ecx, ecx
setne al
lea ecx, [eax + 1]
push ecx
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
pop esi
pop ebp
ret 0xc