joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a9f3
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x40aa90
push ebx
push esi
call fcn.0040a9bc
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0040a950
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40aa3d
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40aa8f
push edi
push eax
call fcn.0040b610
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40aa5d
call fcn.004094b1
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40aa8e
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040a950
add esp, 0x20
test eax, eax
jne 0x40aa7c
push edi
call fcn.004094b1
jmp 0x40aa84
push ebx
call fcn.004094b1
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x40bd8d
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x446568
push 0x446560
push str.FlsAlloc
push 0x1f
call fcn.0040bc4c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40bdc1
push dword [ebp + 8]
mov ecx, esi
call dword [0x415160]
call esi
jmp 0x40bdc7
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40be0b
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x446578
push 0x446570
push str.FlsGetValue
push 0x21
call fcn.0040bc4c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40be42
push dword [ebp + 8]
mov ecx, esi
call dword [0x415160]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40be4a
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x446580
push 0x446578
push str.FlsSetValue
push 0x22
call fcn.0040bc4c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40be84
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x415160]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x4112e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41130d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41130d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x516cc0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
mov ebx, 0x55f0dc
xor eax, eax
push ebp
push 0x516df9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx]
mov eax, dword [eax + 0x354]
mov eax, dword [eax + 0x220]
mov edx, 0x516e10
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, dword [ebx]
mov eax, dword [eax + 0x338]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebx]
mov eax, dword [eax + 0x33c]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebx]
mov eax, dword [eax + 0x348]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebx]
mov eax, dword [eax + 0x34c]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebx]
mov eax, dword [eax + 0x3b4]
xor edx, edx
call fcn.0043a934
mov eax, dword [ebx]
mov eax, dword [eax + 0x3b8]
xor edx, edx
call fcn.0043a934
call fcn.00515a6c
push 0
push 0x516e30
push 0x516e50
lea edx, [ebp - 0xc]
mov eax, dword [0x51d9b8]
mov eax, dword [eax]
call fcn.00463140
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.004098e4
push dword [ebp - 8]
push 0x516e7c
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404a74
mov eax, dword [ebp - 4]
call fcn.00404bb4
push eax
push 0x516e9c
push 0x516ea4
push 0
call sub.shell32.dll_ShellExecuteA
mov eax, dword [ebx]
mov eax, dword [eax + 0x3c8]
mov dl, 1
call fcn.0043a934
mov eax, dword [ebx]
mov eax, dword [eax + 0x3c4]
mov edx, 0x1770
call fcn.0043a944
mov eax, dword [ebx]
mov eax, dword [eax + 0x3c4]
xor edx, edx
mov dword [eax + 0xc], edx
mov dl, 1
call fcn.0043a934
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x516e00
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404718
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10005710
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x1000571f
pop dword [ebp - 0x44]
mov eax, 0x1000571f
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0xa3a96d43
add dword [ebp - 0x54], 0xaaa8d808
mov dword [ebp - 0x50], 0x74d174f8
sub dword [ebp - 0x50], 0x429e28b3
mov dword [ebp - 0x4c], 0x102b5789
sub dword [ebp - 0x4c], 0xc3df135b
mov dword [ebp - 0x48], 0xc8c97b54
sub dword [ebp - 0x48], 0xc8c97b54
lea eax, [ebp - 0x54]
push eax
mov eax, 0xc481bb7d
sub eax, 0xb47ffb25
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0xe839abf7
sub dword [ebp - 0x54], 0x73c742a1
mov dword [ebp - 0x50], 0x8a564498
sub dword [ebp - 0x50], 0x48e9e323
mov dword [ebp - 0x4c], 0x4ccb3ca7
add dword [ebp - 0x4c], 0x16a42fc5
mov dword [ebp - 0x48], 0x4bfc55f9
add dword [ebp - 0x48], 0xb403aa07
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0xcf639be0
add eax, 0x409e2480
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x3ca5d
push 0
call eax
mov ecx, 0xc4922cba
sub ecx, 0xc491e031
mov esi, eax
mov edi, 0x10028800
add edi, dword [ebp - 0x44]
mov ebx, 0xebe25e99
add ebx, 0x44c7a65c
mov dword [ebp - 0x34], 0x7c1f5704
mov edx, dword [edi]
add dword [ebp - 0x38], edx
xor edx, ebx
sub dword [ebp - 0x2c], 0x4df10312
mov dword [esi], edx
mov dword [ebp - 4], 0xb539f303
add esi, 0x235d924c
add esi, 0xdca26db8
add edi, 4
loop 0x10005836
add eax, 0x124f7
mov ebx, eax
add eax, 0xa5ae5f2b
sub eax, 0xa5ae5f26
mov ecx, 0x53e95831
add ecx, 0xbc16a7cf
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x402f8c
Capabilities:
Query or enumerate registry value

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

Function at 0x403cd0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x459048], 0
je 0x403d31
cmp word [0x45921c], 0xd7b2
jne 0x403cf9
cmp dword [0x459224], 0
jbe 0x403cf9
mov eax, 0x459218
call dword [0x459234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45606c
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 0x403d58
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x456030], 0
jne 0x403d4d
push 0
push 0x456064
push 0x45606c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x40510c
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 0x40533c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40518f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40533c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40518f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405358
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405218
xor eax, eax
push ebp
push 0x405211
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00404f54
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 0x4051f6
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405378
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4051f6
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 0x405218
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 0x405332
cmp byte [ebp - 0xd], 0
jne 0x40525f
cmp byte [ebp - 0x12], 0
je 0x405332
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405278
dec ebx
cmp byte [ebx], 0x2e
je 0x405287
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405277
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405332
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4052c4
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 0x405332
cmp byte [ebp - 0xd], 0
je 0x405332
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 0x405332
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 0x405a04
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 0x405a6a
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.004040bc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b50
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405a54
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405a71
lea eax, [ebp - 0x10]
call fcn.00403e4c
ret

Function at 0x40a96c
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 0x40a9a5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403f3c
jmp 0x40a9ae
mov eax, ebx
mov edx, esi
call fcn.00403ea0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b060
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40aed8
mov eax, dword [0x45850c]
cmp byte [eax], 0
je 0x40b0dc
mov eax, dword [0x458334]
call fcn.00402980
call fcn.00402824
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.004081cc
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 0x40b124
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b112
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4582e0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x459664]
call fcn.00404f18
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 0x40b978
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 0x40ba4e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403ee4
lea eax, [ebp - 8]
call fcn.0040435c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040430c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40ba38
mov eax, ebx
call fcn.004026bc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40ba31
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.0040430c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40ba1b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40ba60
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40ba1b
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 0x40ba38
mov eax, dword [ebp - 0x10]
call fcn.004026dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ba55
lea eax, [ebp - 8]
call fcn.00403e4c
ret

Function at 0x40becc
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 0x40bf30
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.004040bc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407d5c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bf37
lea eax, [ebp - 0xc]
call fcn.00403e4c
ret

Function at 0x41a058
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x459884
cmp dword [edi], 0
jne 0x41a0d4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x459880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4563ec
mov ecx, 2
call fcn.004028b8
mov edx, 0x41a030
lea eax, [esi + 5]
call fcn.0041a050
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a050
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 0x41a0a9
mov dword [0x459880], 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 0x41b2e8
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 0x41b2ee
ret
Function at 0x41d730
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 0x41d781
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41d768
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41d758
jmp 0x41d781
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 0x41d769
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429eb4
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 0x429e00
call sub.user32.dll_EnumWindows
ret

Function at 0x429fd4
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 0x42a051
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00429a34
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 0x429ff9
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00429634
cmp dword [ebp - 4], 0
je 0x42a03b
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.0040430c
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 0x42a058
lea eax, [ebp - 4]
call fcn.00403e4c
ret

Function at 0x42d01c
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 [0x459b54], 0
je 0x42d16b
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4584b0]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42d16b
mov eax, dword [0x459b58]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x459b54]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42d13a
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x459b54]
call fcn.00413628
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42d132
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42d132
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42d132
mov eax, dword [ebp - 0x14]
call fcn.00435ca8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42d132
push ebp
call fcn.0042cfd8
pop ecx
test al, al
jne 0x42d132
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42d0ee
mov eax, dword [ebp - 0x14]
call fcn.004347d8
dec eax
jle 0x42d132
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.00403310
cmp byte [ebp - 1], 0
je 0x42d132
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42d132
mov edx, dword [ebp - 0x14]
mov eax, dword [0x459b58]
call fcn.0042c7a4
inc edi
dec ebx
jne 0x42d081
mov eax, dword [0x459b58]
cmp dword [eax + 8], 0
jle 0x42d152
mov eax, dword [0x459b58]
call fcn.0042c834
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42d16b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042ce40
pop ecx
test al, al
jne 0x42d16b
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 0x430740
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 0x43078c
mov eax, esi
call fcn.00445ef0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43078c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x43078c
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 0x4308cb
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x4307cc
cmp eax, 0x108
ja 0x4307cc
mov eax, esi
call fcn.00445ef0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4308c2
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x4308cb
jmp 0x4308c2
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x4308ab
cmp eax, 0x20a
ja 0x4308ab
test byte [esi + 0x50], 0x80
jne 0x4307fe
sub eax, 0x203
je 0x4307fb
sub eax, 3
je 0x4307fb
sub eax, 3
jne 0x4307fe
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x430812
dec eax
je 0x430827
dec eax
je 0x430844
dec eax
je 0x430827
jmp 0x43084b
mov ecx, ebx
mov eax, dword [0x4584b0]
mov eax, dword [eax]
mov edx, esi
call fcn.0044f69c
jmp 0x4308c2
cmp byte [esi + 0x5d], 1
jne 0x43083d
mov eax, esi
mov si, 0xffed
call fcn.00403310
jmp 0x4308cb
or word [esi + 0x54], 1
jmp 0x4308c2
and word [esi + 0x54], 0xfffe
jmp 0x4308c2
mov eax, dword [0x459b10]
cmp byte [eax + 0x20], 0
je 0x4308c2
mov eax, dword [0x459b10]
cmp dword [eax + 0x1c], 0
je 0x4308c2
mov eax, dword [ebx]
mov edx, dword [0x459b10]
cmp eax, dword [edx + 0x1c]
jne 0x4308c2
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.00445e34
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.00403310
jmp 0x4308cb
cmp eax, 0xb00b
jne 0x4308c2
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0042f06c
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