joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40beb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push 0x40
lea eax, [ebp - 0x50]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x54]
push edx
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
push 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x54], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40bf17
mov ecx, dword [ebp - 0x10]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [ebp - 0xc]
push edx
call esi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x40bf50
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov edi, eax
call fcn.0040c2f0
mov eax, dword [edi + 4]
push 0x410268
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [0x415040]
push 0x71
push ecx
call dword [sym.imp.USER32.dll_LoadIconW]
mov edx, dword [edi + 4]
push eax
push 0
push 0x80
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call fcn.0040cfc0
lea ecx, [edi + 0x20]
lea esi, [eax + 4]
lea ebx, [esp + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
call fcn.0040cf50
mov esi, dword [esp + 0x10]
lea edx, [edi + 0x24]
add esi, 0x10
lea ebx, [esp + 0xc]
mov dword [esp + 0xc], edx
call fcn.0040cf50
mov eax, dword [edi + 4]
test eax, eax
je 0x40bfef
mov dword [esp + 0x10], eax
mov eax, 4
lea esi, [edi + 0x2c]
lea ebx, [esp + 0x10]
mov word [esp + 0x14], ax
call fcn.0040ced0
mov ecx, dword [edi + 4]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, dword [edi + 4]
or eax, 0x80000
push eax
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [edi + 4]
push 0
push 0x1f4
push 1
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40cb80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor esi, esi
push esi
mov ecx, 0x415038
call fcn.0040d440
mov ebx, eax
mov dword [ebp - 4], 1
test ebx, ebx
je 0x40cc34
test esi, esi
jne 0x40cc34
mov eax, dword [ebp + 8]
shr eax, 4
inc eax
push esi
movzx ecx, ax
push ecx
push 6
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov edi, eax
test edi, edi
je 0x40cc18
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40cc12
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40cc12
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
add eax, esi
and ecx, 0xf
jbe 0x40cc01
cmp esi, eax
jae 0x40cc05
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x40cbf3
cmp esi, eax
jb 0x40cc09
xor eax, eax
jmp 0x40cc12
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
mov esi, eax
test eax, eax
jne 0x40cc3d
mov edi, dword [ebp - 4]
push edi
mov ecx, 0x415038
call fcn.0040d440
mov ebx, eax
inc edi
mov dword [ebp - 4], edi
test ebx, ebx
jne 0x40cba5
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40cc50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
mov eax, dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40cc68
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40cc9a
mov ecx, dword [ebp + 8]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x40cc96
cmp esi, eax
jae 0x40cc9a
dec edi
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x40cc88
cmp esi, eax
jb 0x40cca0
pop esi
xor eax, eax
pop edi
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0x40d627
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x415070], 0
push esi
push edi
jne 0x40d59d
call fcn.0040d509
test eax, eax
je 0x40d5e2
mov eax, dword [0x415070]
cmp eax, 1
jne 0x40d5be
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x40d5e2
jmp 0x40d624
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x40d624
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x40d5e6
xor eax, eax
jmp 0x40d624
mov eax, dword [esi]
push dword [0x415070]
call edi
mov edi, eax
test edi, edi
je 0x40d608
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x40d624
lea edi, [esi + 0xff0]
push esi
push dword [0x415070]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x40d60e
mov eax, esi
pop edi
pop esi
ret
jmp 0x40d589
Function at 0x40d6e0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x414034]
jne 0x40d6ea
repz ret
jmp fcn.0040dc06
Function at 0x9e2058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x9e21a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x9e207e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9e206a
add dl, dl
jne 0x9e2089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9e20dc
xor eax, eax
add dl, dl
jne 0x9e2096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9e217d
add dl, dl
jne 0x9e20a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9e20b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9e20bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9e20c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9e20d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x9e2075
mov eax, 1
add dl, dl
jne 0x9e20ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9e20f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9e20e1
sub eax, ebx
mov ebx, 1
jne 0x9e2128
mov ecx, 1
add dl, dl
jne 0x9e210e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9e2119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9e2105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9e2075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x9e213f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9e214a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9e2136
cmp eax, 0x7d00
jae 0x9e216d
cmp eax, 0x500
jb 0x9e2168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9e2075
cmp eax, 0x7f
ja 0x9e2170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9e2075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x9e219e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x9e2075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x402924
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x402961
xor eax, eax
mov al, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x402981
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00404790
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x402b58
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404528
test esi, esi
jne 0x402b8e
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404618
jmp 0x402bac
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402a6c
mov edi, eax
test esi, esi
je 0x402bac
cmp dword [ebx], 0
je 0x402bac
dec esi
jmp 0x402b95
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403634
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x48500c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4036cc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4036ac
xor eax, eax
push ebp
push 0x4036a5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4036e8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4036ac
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x48500c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x48500c], ax
mov esp, ebp
pop ebp
ret

Function at 0x4043ac
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x48704c], 0
je 0x40440d
cmp word [0x487220], 0xd7b2
jne 0x4043d5
cmp dword [0x487228], 0
jbe 0x4043d5
mov eax, 0x48721c
call dword [0x487238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x485054
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404434
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x48501c], 0
jne 0x404429
push 0
push 0x485074
push 0x485054
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405e88
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4060b8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405f0b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4060b8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405f0b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4060d4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405f94
xor eax, eax
push ebp
push 0x405f8d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405cd0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405f72
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4060f4
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405f72
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405f94
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x4060ae
cmp byte [ebp - 0xd], 0
jne 0x405fdb
cmp byte [ebp - 0x12], 0
je 0x4060ae
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405ff4
dec ebx
cmp byte [ebx], 0x2e
je 0x406003
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405ff3
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4060ae
inc ebx
cmp byte [ebp - 0x12], 0
je 0x406040
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4060ae
cmp byte [ebp - 0xd], 0
je 0x4060ae
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4060ae
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408dec
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004049d8
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x408e05
test al, 0x10
jne 0x408e09
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x408e10
Capabilities:
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004049d8
push eax
call sub.kernel32.dll_GetFileAttributesA
pop ebx
ret

Function at 0x40a02c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40a065
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404618
jmp 0x40a06e
mov eax, ebx
mov edx, esi
call fcn.0040457c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40a078
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40a099
mov al, byte [esp]
jmp 0x40a09b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b3f8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40b45c
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404790
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408afc
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b463
lea eax, [ebp - 0xc]
call fcn.00404528
ret

Function at 0x41d15c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x487a24
cmp dword [edi], 0
jne 0x41d1d8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x487a20]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4854cc
mov ecx, 2
call fcn.00402a2c
mov edx, 0x41d134
lea eax, [esi + 5]
call fcn.0041d154
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041d154
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41d1ad
mov dword [0x487a20], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41e6f4
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41e6fa
ret
Function at 0x433f7c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push esi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43407b
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00442b8c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x210], 0
je 0x434065
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x220]
cmp eax, 0x1f4
jb 0x433fd9
mov eax, dword [ebp - 4]
add eax, 0x21c
call fcn.00404528
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x220], eax
mov eax, dword [ebp - 8]
mov al, byte [eax]
cmp al, 8
je 0x43400f
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
mov dl, byte [edx]
call fcn.00404708
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, 0x21c
call fcn.004047e8
jmp 0x434031
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
call fcn.004047e0
mov edx, eax
mov eax, dword [ebp - 4]
add eax, 0x21c
mov ecx, 1
call fcn.00404a78
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
call fcn.004047e0
test eax, eax
jle 0x43404c
push ebp
call fcn.00433e94
pop ecx
jmp 0x434065
xor edx, edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0xcc]
mov eax, dword [ebp - 4]
mov si, 0xffeb
call fcn.004039b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x434082
lea eax, [ebp - 0xc]
call fcn.00404528
ret

Function at 0x437df0
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x437d3c
call sub.user32.dll_EnumWindows
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x437f91
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00437960
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x437f39
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004375b8
cmp dword [ebp - 4], 0
je 0x437f7b
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004049d8
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437f98
lea eax, [ebp - 4]
call fcn.00404528
ret
Function at 0x43b044
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x487bb4], 0
je 0x43b193
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x486a00]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x43b193
mov eax, dword [0x487bb8]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x487bb4]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43b162
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x487bb4]
call fcn.00414788
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43b15a
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x43b15a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43b15a
mov eax, dword [ebp - 0x14]
call fcn.00443b5c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43b15a
push ebp
call fcn.0043b000
pop ecx
test al, al
jne 0x43b15a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x43b116
mov eax, dword [ebp - 0x14]
call fcn.004426f0
dec eax
jle 0x43b15a
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.004039b8
cmp byte [ebp - 1], 0
je 0x43b15a
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43b15a
mov edx, dword [ebp - 0x14]
mov eax, dword [0x487bb8]
call fcn.0043a7c8
inc edi
dec ebx
jne 0x43b0a9
mov eax, dword [0x487bb8]
cmp dword [eax + 8], 0
jle 0x43b17a
mov eax, dword [0x487bb8]
call fcn.0043a858
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43b193
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0043ae68
pop ecx
test al, al
jne 0x43b193
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43e75c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x43e7a8
mov eax, esi
call fcn.00454140
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43e7a8
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x43e7a8
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x43e8ec
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x43e7e8
cmp eax, 0x108
ja 0x43e7e8
mov eax, esi
call fcn.00454140
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43e8e3
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x43e8ec
jmp 0x43e8e3
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x43e8ca
cmp eax, 0x20a
ja 0x43e8ca
test byte [esi + 0x50], 0x80
jne 0x43e81a
sub eax, 0x203
je 0x43e817
sub eax, 3
je 0x43e817
sub eax, 3
jne 0x43e81a
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x43e82e
dec eax
je 0x43e843
dec eax
je 0x43e863
dec eax
je 0x43e843
jmp 0x43e86a
mov ecx, ebx
mov eax, dword [0x486a00]
mov eax, dword [eax]
mov edx, esi
call fcn.0045d82c
jmp 0x43e8e3
cmp byte [esi + 0x5d], 1
jne 0x43e859
mov eax, esi
mov si, 0xffed
call fcn.004039b8
jmp 0x43e8ec
or word [esi + 0x54], 1
jmp 0x43e8e3
and word [esi + 0x54], 0xfffe
jmp 0x43e8e3
mov eax, dword [0x487b70]
cmp byte [eax + 0x20], 0
je 0x43e8e3
mov eax, dword [0x487b70]
cmp dword [eax + 0x1c], 0
je 0x43e8e3
mov eax, dword [ebx]
mov edx, dword [0x487b70]
cmp eax, dword [edx + 0x1c]
jne 0x43e8e3
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.00454084
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.004039b8
jmp 0x43e8ec
mov eax, dword [ebx]
cmp eax, 0xb00b
jne 0x43e8e3
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0043d07c
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret