joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40467c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x416174]
jne 0x404686
repz ret
jmp fcn.00404f2e

Function at 0x40bc35
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00407558
and dword [ebp - 4], 0
cmp dword [0x417a5c], 0
mov ebx, eax
jne 0x40bce6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40bd97
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40bd97
push eax
call fcn.004074e6
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x417a5c], eax
call esi
push eax
call fcn.004074e6
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x417a60], eax
call esi
push eax
call fcn.004074e6
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x417a64], eax
call esi
push eax
call fcn.004074e6
pop ecx
mov dword [0x417a6c], eax
test eax, eax
je 0x40bce6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004074e6
pop ecx
mov dword [0x417a68], eax
mov eax, dword [0x417a68]
cmp eax, ebx
je 0x40bd3e
cmp dword [0x417a6c], ebx
je 0x40bd3e
push eax
call fcn.00407561
push dword [0x417a6c]
mov esi, eax
call fcn.00407561
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40bd3e
test edi, edi
je 0x40bd3e
call esi
test eax, eax
je 0x40bd35
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40bd35
test byte [ebp - 0xc], 1
jne 0x40bd3e
or dword [ebp + 0x10], 0x200000
jmp 0x40bd77
mov eax, dword [0x417a60]
cmp eax, ebx
je 0x40bd77
push eax
call fcn.00407561
pop ecx
test eax, eax
je 0x40bd77
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40bd77
mov eax, dword [0x417a64]
cmp eax, ebx
je 0x40bd77
push eax
call fcn.00407561
pop ecx
test eax, eax
je 0x40bd77
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x417a5c]
call fcn.00407561
pop ecx
test eax, eax
je 0x40bd97
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40bd99
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x402110
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push 0
push 0
push 2
push 0
push 1
push 0x40000000
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x402135
call fcn.004038d0
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
push eax
push str.EEB0F
push 0x7000
push 0x427cc4
call fcn.00402080
add esp, 0x14
lea edx, [esp + 0xc]
push 0
push edx
push 0x7000
push 0x427cc4
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40217b
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop esi
pop ebx
ret
Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret

Function at 0x4016c9
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
push dword [esi + 0x1438]
xor ebp, ebp
call fcn.00402cac
pop ecx
push ebp
push dword [esi + 0x1430]
lea edi, [esi + 0x142c]
push dword [edi]
mov ebx, eax
call dword [0x408028]
push dword [esi + 0x1438]
push ebx
push dword [edi]
call dword [0x408024]
xor ecx, ecx
cmp eax, dword [esi + 0x1438]
jne 0x401764
cmp ecx, dword [esi + 0x143c]
jne 0x401764
push ecx
lea eax, [esi + 0x1224]
push eax
call dword [0x408034]
cmp eax, 0xffffffff
mov dword [esi + 0x1440], eax
jne 0x401741
push 0x4082e4
lea eax, [esi + 8]
push eax
call dword [0x408014]
push 0x37
jmp 0x401775
xor eax, eax
xor byte [eax + ebx], 7
inc eax
cmp eax, 0x7d0
jl 0x401743
push dword [esi + 0x1438]
push ebx
push dword [esi + 0x1440]
call dword [0x408030]
jmp 0x401776
push 0x4082c8
lea eax, [esi + 8]
push eax
call dword [0x408014]
push 0x36
pop ebp
push ebx
call fcn.00402bcf
mov esi, dword [esi + 0x1440]
cmp esi, 0xffffffff
pop ecx
je 0x40178f
push esi
call dword [0x40801c]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
ret
Function at 0x402b70
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x45e008], 0x8088405
inc edx
mov dword [ebx + 0x45e008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x402fc8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x45e024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403060
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403040
xor eax, eax
push ebp
push 0x403039
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 0x40307c
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 0x403040
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x45e024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x45e024], ax
mov esp, ebp
pop ebp
ret

Function at 0x403d24
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x460048], 0
je 0x403d85
cmp word [0x46021c], 0xd7b2
jne 0x403d4d
cmp dword [0x460224], 0
jbe 0x403d4d
mov eax, 0x460218
call dword [0x460234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45e070
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 0x403dac
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x45e034], 0
jne 0x403da1
push 0
push 0x45e068
push 0x45e070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405a54
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405aba
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404110
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b8c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405aa4
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405ac1
lea eax, [ebp - 0x10]
call fcn.00403ea0
ret

Function at 0x40ad2c
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 0x40ad65
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403f90
jmp 0x40ad6e
mov eax, ebx
mov edx, esi
call fcn.00403ef4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40ad78
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 0x40ad99
mov al, byte [esp]
jmp 0x40ad9b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b420
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b298
mov eax, dword [0x45f13c]
cmp byte [eax], 0
je 0x40b49c
mov eax, dword [0x45ef38]
call fcn.004029dc
call fcn.00402834
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004084f4
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40b4e4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b4d2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x45eee4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x460664]
call fcn.00404f68
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40bd38
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40be0e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403f38
lea eax, [ebp - 8]
call fcn.004043b0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404360
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bdf8
mov eax, ebx
call fcn.004026cc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bdf1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404360
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bddb
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40be20
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bddb
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bdf8
mov eax, dword [ebp - 0x10]
call fcn.004026ec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40be15
lea eax, [ebp - 8]
call fcn.00403ea0
ret

Function at 0x40c320
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 0x40c384
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.00404110
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040803c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c38b
lea eax, [ebp - 0xc]
call fcn.00403ea0
ret

Function at 0x41a5f8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x460884
cmp dword [edi], 0
jne 0x41a674
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x460880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x45e3f0
mov ecx, 2
call fcn.004028c8
mov edx, 0x41a5d0
lea eax, [esi + 5]
call fcn.0041a5f0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a5f0
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 0x41a649
mov dword [0x460880], 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 0x41bc08
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 0x41bc0e
ret
Function at 0x426cd0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404350
xor eax, eax
push ebp
push 0x426dfe
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x426dd1
xor eax, eax
push ebp
push 0x426dca
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404160
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x426d9f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x426d8e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404160
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404360
mov edx, ebx
pop ecx
call fcn.004028c8
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426d95
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x45ee88]
mov dl, 1
mov eax, dword [0x406d94]
call fcn.0040b5a4
call fcn.004038dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426e05
lea eax, [ebp - 4]
call fcn.00403ea0
ret
Function at 0x426e0c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x426fbd
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404550
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x426fd4
call fcn.004041ac
mov eax, ebx
call fcn.00419b8c
mov edi, eax
dec edi
test edi, edi
jl 0x426ec4
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00419b60
mov edx, dword [0x42edf8]
call fcn.004032dc
test al, al
je 0x426ec0
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00419b60
lea edx, [ebp - 0x14]
call fcn.004377d0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404550
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404220
inc esi
dec edi
jne 0x426e72
mov al, byte [0x426fd8]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x426fe4
mov eax, dword [ebp - 0xc]
call fcn.0040c8f8
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00403f38
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.004377d0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x426fd4
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.004377d0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x426fd4
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x426fd4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x426ff0
call fcn.00408bbc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426fc4
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00403ec4
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00403ec4
lea eax, [ebp - 0x14]
call fcn.00403ea0
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00403ec4
ret

Function at 0x431e78
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 0x431dc4
call sub.user32.dll_EnumWindows
ret
Function at 0x431f98
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 0x432015
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004319f8
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp eax, 0x3e8
jbe 0x431fbd
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004315f8
cmp dword [ebp - 4], 0
je 0x431fff
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404360
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 0x43201c
lea eax, [ebp - 4]
call fcn.00403ea0
ret

Function at 0x435320
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 [0x460b88], 0
je 0x43546f
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x45f0d0]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x43546f
mov eax, dword [0x460b8c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x460b88]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43543e
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x460b88]
call fcn.00413bb0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x435436
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x435436
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x435436
mov eax, dword [ebp - 0x14]
call fcn.0043dfb8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x435436
push ebp
call fcn.004352dc
pop ecx
test al, al
jne 0x435436
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x4353f2
mov eax, dword [ebp - 0x14]
call fcn.0043cae8
dec eax
jle 0x435436
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.0040334c
cmp byte [ebp - 1], 0
je 0x435436
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x435436
mov edx, dword [ebp - 0x14]
mov eax, dword [0x460b8c]
call fcn.00434aa8
inc edi
dec ebx
jne 0x435385
mov eax, dword [0x460b8c]
cmp dword [eax + 8], 0
jle 0x435456
mov eax, dword [0x460b8c]
call fcn.00434b38
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43546f
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00435144
pop ecx
test al, al
jne 0x43546f
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 0x438a50
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 0x438a9c
mov eax, esi
call fcn.0044e6fc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x438a9c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x438a9c
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 0x438bdb
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x438adc
cmp eax, 0x108
ja 0x438adc
mov eax, esi
call fcn.0044e6fc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x438bd2
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x438bdb
jmp 0x438bd2
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x438bbb
cmp eax, 0x20a
ja 0x438bbb
test byte [esi + 0x50], 0x80
jne 0x438b0e
sub eax, 0x203
je 0x438b0b
sub eax, 3
je 0x438b0b
sub eax, 3
jne 0x438b0e
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x438b22
dec eax
je 0x438b37
dec eax
je 0x438b54
dec eax
je 0x438b37
jmp 0x438b5b
mov ecx, ebx
mov eax, dword [0x45f0d0]
mov eax, dword [eax]
mov edx, esi
call fcn.00457f50
jmp 0x438bd2
cmp byte [esi + 0x5d], 1
jne 0x438b4d
mov eax, esi
mov si, 0xffed
call fcn.0040334c
jmp 0x438bdb
or word [esi + 0x54], 1
jmp 0x438bd2
and word [esi + 0x54], 0xfffe
jmp 0x438bd2
mov eax, dword [0x460b44]
cmp byte [eax + 0x20], 0
je 0x438bd2
mov eax, dword [0x460b44]
cmp dword [eax + 0x1c], 0
je 0x438bd2
mov eax, dword [ebx]
mov edx, dword [0x460b44]
cmp eax, dword [edx + 0x1c]
jne 0x438bd2
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.0044e640
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.0040334c
jmp 0x438bdb
cmp eax, 0xb00b
jne 0x438bd2
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00437370
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