joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4219a3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x4219b2
pop dword [ebp - 0x10]
mov eax, 0x6c10282a
sub eax, 0x6bce0e78
sub dword [ebp - 0x10], eax
push 0x40
push 0x1000
push 0x3e505
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x10]
call dword [eax]
mov ecx, 0xc434d1c5
sub ecx, 0xc4348896
mov edx, eax
mov edi, 0x6e286ef8
add edi, 0x921ae508
add edi, dword [ebp - 0x10]
mov esi, 0x6625f82a
sub esi, 0xc7a3c19f
xor dword [ebp - 0xc], 0x97539347
mov ebx, dword [edi]
sub dword [ebp - 4], edx
add ebx, esi
mov dword [edx], ebx
sub dword [ebp - 8], 0x2ec0d6cf
add edx, 0x70080097
sub edx, 0x70080093
add edi, 0xaa6f6415
add edi, 0x55909bef
loop 0x421a0c
add eax, 0x1178f
xor ebx, ebx
add ebx, eax
add eax, 0xecaa175a
add eax, 0x1355e8ab
mov ecx, 0x403dda2e
add ecx, 0xc00225d2
add ecx, dword [ebp - 0x10]
call ebx
leave
ret

Function at 0x401000
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
enter 0x84, 0
sub ebp, 0x82
mov dword [ebp - 2], 0
call fcn.00401533
mov ebx, eax
xor eax, eax
mov dword [ebp + 0x7e], eax
lea eax, [ebp + 0x7e]
push eax
mov eax, ebx
or al, 0x40
push eax
mov eax, 0x401dc7
sub eax, fcn.00401592
push eax
push fcn.00401592
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp + 0x7e], 0
je 0x40107a
mov eax, ebx
lea edx, [ebp - 2]
call fcn.00401461
mov eax, ebx
lea ecx, [ebx + 0x1b600]
call fcn.004014b3
mov esi, ecx
mov eax, ebx
or si, 1
cdq
idiv esi
lea edx, [eax + ecx]
mov eax, ebx
lea ebx, [ebp - 2]
or eax, 0x402054
call fcn.00401592
xor eax, eax
lea esp, [ebp + 0x82]
pop ebp
pop esi
pop edx
pop ecx
pop ebx
ret

Function at 0x401533
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ecx
push edx
enter 0x11c, 0
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.DLL_GetCursorPos]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
push 1
push 1
lea eax, [ebp - 0x11c]
push eax
mov dword [ebp - 4], 0xa
mov byte [ebp - 0x11c], 0
call dword [sym.imp.CRYPT32.DLL_CryptBinaryToStringA]
movzx eax, byte [ebp - 0x18]
sub eax, 0x41
leave
pop edx
pop ecx
ret
Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40301c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x403028
push 0x403024
push 0x403020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x403028]
push dword [0x403024]
push dword [0x403020]
mov dword [0x403014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret

Function at 0x40129c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push esi
push edi
xor edi, edi
mov dword [ebp - 0x84], 0
call fcn.0040191c
mov edi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov eax, edi
or al, 0x40
push eax
mov eax, dword [fcn.00401984]
mov edx, dword [0x4030dc]
sub edx, eax
push edx
push dword [0x4030d8]
call sub.KERNEL32.dll_VirtualProtect
cmp dword [ebp - 4], 0
je 0x40132d
push edi
call fcn.00401838
lea eax, [ebp - 0x84]
push eax
push edi
call fcn.00401882
mov eax, edi
add eax, 0x23400
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x84]
push eax
mov eax, dword [ebp - 0x88]
mov edx, edi
inc edx
imul eax, edx
push eax
lea esi, [0x4030e4]
mov ecx, edi
shl esi, cl
push esi
call fcn.00401984
add esp, 0x18
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x40191c
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push esi
push edi
xor esi, esi
mov edi, esi
mov edi, 0xfffffffb
mov dword [ebp - 0x114], 0xa
mov byte [ebp - 0x10e], 0
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0xa]
push eax
push 1
push 1
lea eax, [ebp - 0x10e]
push eax
call sub.CRYPT32.DLL_CryptBinaryToStringA
lea eax, [ebp - 0xa]
push eax
call sub.KERNEL32.dll_GetModuleHandleA
movsx eax, byte [ebp - 0xa]
sub eax, 0x41
pop edi
pop esi
leave
ret
Function at 0x10002c04
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.100043f0
test esi, esi
jne 0x10002c3a
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.100044e0
jmp 0x10002c58
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.10002b18
mov edi, eax
test esi, esi
je 0x10002c58
cmp dword [ebx], 0
je 0x10002c58
dec esi
jmp 0x10002c41
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x100033bc
Capabilities:
Query or enumerate registry value

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

Function at 0x100041f0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x100e904c], 0
je 0x10004251
cmp word [0x100e9220], 0xd7b2
jne 0x10004219
cmp dword [0x100e9228], 0
jbe 0x10004219
mov eax, 0x100e921c
call dword [0x100e9238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x100e506c
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 0x10004278
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x100e5030], 0
jne 0x1000426d
push 0
push 0x100e5064
push 0x100e506c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x100043a4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.100028dc
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x100e904d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x1000436c
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x10005e98
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 0x100060c8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x10005f1b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x100060c8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x10005f1b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x100060e4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x10005fa4
xor eax, eax
push ebp
push 0x10005f9d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.10005ce0
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 0x10005f82
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x10006104
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x10005f82
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 0x10005fa4
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 0x100060be
cmp byte [ebp - 0xd], 0
jne 0x10005feb
cmp byte [ebp - 0x12], 0
je 0x100060be
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x10006004
dec ebx
cmp byte [ebx], 0x2e
je 0x10006013
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x10006003
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x100060be
inc ebx
cmp byte [ebp - 0x12], 0
je 0x10006050
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 0x100060be
cmp byte [ebp - 0xd], 0
je 0x100060be
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 0x100060be
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 0x100067ac
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 0x10006812
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.10004660
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.10002f5c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x100067fc
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x10006819
lea eax, [ebp - 0x10]
call fcn.100043f0
ret

Function at 0x1000c374
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 0x1000c3ad
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.100044e0
jmp 0x1000c3b6
mov eax, ebx
mov edx, esi
call fcn.10004444
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x1000ca68
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x1000c8e0
mov eax, dword [0x100e8378]
cmp byte [eax], 0
je 0x1000cae4
mov eax, dword [0x100e7e58]
call fcn.10002d20
call fcn.10002a44
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.10009540
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 0x1000cb2c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x1000cb1a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x100e7da0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x100e9668]
call fcn.10005ca4
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 0x1000d3ec
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 0x1000d4c2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.10004488
lea eax, [ebp - 8]
call fcn.10004900
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.100048b0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x1000d4ac
mov eax, ebx
call fcn.100028dc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x1000d4a5
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.100048b0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x1000d48f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x1000d4d4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x1000d48f
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 0x1000d4ac
mov eax, dword [ebp - 0x10]
call fcn.100028fc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1000d4c9
lea eax, [ebp - 8]
call fcn.100043f0
ret

Function at 0x1000d9b4
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 0x1000da18
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.10004660
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.10009020
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1000da1f
lea eax, [ebp - 0xc]
call fcn.100043f0
ret

Function at 0x100238bc
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.10023714
dec esi
jne 0x100238de
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x10024a20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x100e988c
cmp dword [edi], 0
jne 0x10024a9c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x100e9888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x100e56bc
mov ecx, 2
call fcn.10002ad8
mov edx, 0x100249f8
lea eax, [esi + 5]
call fcn.10024a18
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.10024a18
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 0x10024a71
mov dword [0x100e9888], 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 0x10025cb0
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 0x10025cb6
ret

Function at 0x100280f8
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x10028149
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x10028130
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x10028120
jmp 0x10028149
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x10028131
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10031728
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 0x10031674
call sub.user32.dll_EnumWindows
ret

Function at 0x10031848
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 0x100318c5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.100312a8
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 0x1003186d
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.10030ea8
cmp dword [ebp - 4], 0
je 0x100318af
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.100048b0
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 0x100318cc
lea eax, [ebp - 4]
call fcn.100043f0
ret
Function at 0x10034568
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 [0x100e9b5c], 0
je 0x100346b7
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x100e8274]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x100346b7
mov eax, dword [0x100e9b60]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x100e9b5c]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x10034686
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x100e9b5c]
call fcn.1001d0f0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x1003467e
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x1003467e
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x1003467e
mov eax, dword [ebp - 0x14]
call fcn.1003d0cc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x1003467e
push ebp
call fcn.10034524
pop ecx
test al, al
jne 0x1003467e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x1003463a
mov eax, dword [ebp - 0x14]
call fcn.1003bbfc
dec eax
jle 0x1003467e
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.10003750
cmp byte [ebp - 1], 0
je 0x1003467e
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x1003467e
mov edx, dword [ebp - 0x14]
mov eax, dword [0x100e9b60]
call fcn.10033cf0
inc edi
dec ebx
jne 0x100345cd
mov eax, dword [0x100e9b60]
cmp dword [eax + 8], 0
jle 0x1003469e
mov eax, dword [0x100e9b60]
call fcn.10033d80
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x100346b7
push ebp
mov eax, dword [ebp - 0x18]
call fcn.1003438c
pop ecx
test al, al
jne 0x100346b7
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 0x10037c50
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 0x10037c9c
mov eax, esi
call fcn.1004d06c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x10037c9c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x10037c9c
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 0x10037ddb
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x10037cdc
cmp eax, 0x108
ja 0x10037cdc
mov eax, esi
call fcn.1004d06c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x10037dd2
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x10037ddb
jmp 0x10037dd2
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x10037dbb
cmp eax, 0x20a
ja 0x10037dbb
test byte [esi + 0x50], 0x80
jne 0x10037d0e
sub eax, 0x203
je 0x10037d0b
sub eax, 3
je 0x10037d0b
sub eax, 3
jne 0x10037d0e
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x10037d22
dec eax
je 0x10037d37
dec eax
je 0x10037d54
dec eax
je 0x10037d37
jmp 0x10037d5b
mov ecx, ebx
mov eax, dword [0x100e8274]
mov eax, dword [eax]
mov edx, esi
call fcn.10056828
jmp 0x10037dd2
cmp byte [esi + 0x5d], 1
jne 0x10037d4d
mov eax, esi
mov si, 0xffed
call fcn.10003750
jmp 0x10037ddb
or word [esi + 0x54], 1
jmp 0x10037dd2
and word [esi + 0x54], 0xfffe
jmp 0x10037dd2
mov eax, dword [0x100e9b18]
cmp byte [eax + 0x20], 0
je 0x10037dd2
mov eax, dword [0x100e9b18]
cmp dword [eax + 0x1c], 0
je 0x10037dd2
mov eax, dword [ebx]
mov edx, dword [0x100e9b18]
cmp eax, dword [edx + 0x1c]
jne 0x10037dd2
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.1004cfb0
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.10003750
jmp 0x10037ddb
cmp eax, 0xb00b
jne 0x10037dd2
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.100365b8
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