joyce8/EMBER2024-capa huggingface dataset:
Function at 0x88b060
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0xd
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.0087f670
mov bl, 0x65
add esp, 0xc
mov byte [ebp - 4], 0
mov byte [ebp - 0x10], 0x4f
mov byte [ebp - 0xb], bl
mov byte [ebp - 6], bl
mov byte [ebp - 0xf], 0x70
mov byte [ebp - 0xa], 0x72
mov byte [ebp - 5], 0x41
mov byte [ebp - 0xe], bl
mov byte [ebp - 9], 0x76
mov byte [ebp - 0xd], 0x6e
mov byte [ebp - 8], 0x69
mov byte [ebp - 0xc], 0x53
mov byte [ebp - 7], 0x63
cmp dword [esp + 4], 0x1770376
call fcn.0088f730
mov esi, eax
test esi, esi
jne 0x88b0c8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [esp + 8], 0x1740375
lea ecx, [ebp - 0x10]
push ecx
push esi
call fcn.0088f050
push 0xd
lea edx, [ebp - 0x10]
push 0
push edx
mov edi, eax
call fcn.0087f670
add esp, 0xc
test edi, edi
jne 0x88b0fb
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
jb 0x88b100
jae 0x88b100
add al, 0x57
push edi
call fcn.00887ca0
push 0xd
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.0087f670
add esp, 0x10
mov byte [ebp - 4], 0
mov byte [ebp - 0x10], 0x4f
mov byte [ebp - 0xb], bl
mov byte [ebp - 6], bl
mov byte [ebp - 0xf], 0x70
mov byte [ebp - 0xa], 0x72
mov byte [ebp - 5], 0x57
mov byte [ebp - 0xe], bl
mov byte [ebp - 9], 0x76
mov byte [ebp - 0xd], 0x6e
mov byte [ebp - 8], 0x69
mov byte [ebp - 0xc], 0x53
mov byte [ebp - 7], 0x63
cmp dword [esp + 4], 0x1770376
jb 0x88b154
jae 0x88b154
daa
lea ecx, [ebp - 0x10]
push ecx
push esi
call fcn.0088f050
mov esi, eax
jne 0x88b165
je 0x88b165
jne 0x88b1d0
push 0xd
lea edx, [ebp - 0x10]
push 0
push edx
call fcn.0087f670
or eax, 0x6af0558d
add byte [edx - 0x18], dl
inc byte [edi + edi*8 - 1]
add esp, 0xc
jb 0x88b17a
jae 0x88b17a
test esi, esi
test esi, esi
je 0x88b18c
jb 0x88b183
jae 0x88b183
xor dl, byte [esi - 0x18]
pop ss
retf
push esi
call fcn.00887ca0
add esp, 4
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
inc esp
and al, 9
imul eax, esi, 0x6f052444
mov byte [esp + 0xa], 0x6c
mov byte [esp + 6], 0x63
mov byte [esp + 0xb], 0x65
mov byte [esp + 7], 0x6b
mov byte [esp + 8], 0x46
call fcn.008883f0
test eax, eax
jne 0x88b202
pop esi
add esp, 0xc
ret 0x14
lea ecx, [esp + 4]
push ecx
push eax
call fcn.0088f050
push 9
lea edx, [esp + 8]
push 0
push edx
mov esi, eax
call fcn.0087f670
add esp, 0xc
test esi, esi
jne 0x88b22d
xor eax, eax
pop esi
add esp, 0xc
ret 0x14
push esi
call fcn.00887ca0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
add esp, 4
push eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
call esi
pop esi
add esp, 0xc
ret 0x14
Function at 0x88b620
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
cmp dword [0x877248], 1
jne 0x88b637
xor eax, eax
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x86a4dc]
test eax, eax
jne 0x88b648
xor eax, eax
mov esp, ebp
pop ebp
ret 4
push ebx
push esi
push edi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
sub edx, edx
mov eax, dword [0x86a4dc]
mov ecx, 0x3e8
mul ecx
mov ecx, dword [ebp + 8]
mul ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
sub ebx, ebx
rdtsc
mov edi, edx
mov esi, eax
rdtsc
sub eax, esi
sbb edx, edi
cmp edx, dword [ebp - 0x14]
ja 0x88b6a5
cmp edx, dword [ebp - 0x14]
jb 0x88b690
cmp eax, dword [ebp - 0x10]
jb 0x88b690
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x88b6d0
Capabilities:
Parse pe header

Disassembly:
push ebx
mov ebx, dword [fcn.008ef004]
push esi
push edi
push 0x86ca78
call ebx
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
push 0x40
push edi
push esi
call fcn.0088f740
add esp, 0xc
cmp word [esi], 0x5a4d
je 0x88b704
pop edi
pop esi
mov eax, 1
pop ebx
ret
mov esi, dword [esi + 0x3c]
test esi, esi
jne 0x88b714
pop edi
pop esi
mov eax, 1
pop ebx
ret
add esi, edi
push 0xf8
push esi
mov esi, dword [esp + 0x20]
push esi
call fcn.0088f740
mov eax, dword [esi]
add esp, 0xc
cmp eax, 0x4550
je 0x88b73b
pop edi
pop esi
mov eax, 1
pop ebx
ret
cmp word [esi + 4], 0x14c
je 0x88b74c
pop edi
pop esi
mov eax, 1
pop ebx
ret
test byte [esi + 0x17], 0x10
je 0x88b75b
pop edi
pop esi
mov eax, 1
pop ebx
ret
cmp dword [esi + 0x74], 0x10
jbe 0x88b76a
pop edi
pop esi
mov eax, 1
pop ebx
ret
push 0x86ca68
call ebx
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x88ba40
Capabilities:
Check for software breakpoints
Contain obfuscated stackstrings

Disassembly:
cmp dword [esp + 4], 0x1770376
jmp 0x88ba40
add edi, dword [edi + 1]
in al, 0xc7
add eax, 0x8772cc
add dword [eax], eax
add byte [eax], al
cmp dword [esp + 4], 0x1730372
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
call fcn.00882580
pop ebp
ret 8
cmp dword [esp + 4], 0x1730372
call fcn.0088f540
jne 0x88ba52
je 0x88ba52
js 0x88ba14
shr eax, 0xe
and al, 7
ret
call 0xc38fde66
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x88c020
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0x40
push 0
push 0x86c548
call fcn.0088c4b0
add esp, 0xc
mov byte [0x86c548], 0x80
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], 0x10325476
pop ebp
ret

Function at 0x88f3f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x8785d0]
push esi
push edi
push eax
push 0x8785ed
mov byte [0x8785ec], 0x45
call fcn.0088fde0
mov edx, dword [0x8785d0]
mov al, 0x2d
mov byte [0x8785f2], al
mov byte [0x8785f3], al
lea eax, [edx + 0x4ed1567b]
mov cl, 0x20
lea edx, [edx + edx*4]
add esp, 8
mov byte [0x8785f1], cl
mov byte [0x8785f4], cl
mov esi, 0x8785f5
xor ecx, ecx
lea edi, [edx + edx*4]
mov edx, eax
imul eax, eax, 0x1003411d
shr edx, 9
add edx, 0x79d11093
xor eax, edx
mov dl, byte [ecx + edi*8 + 0x85ca69]
xor dl, al
mov byte [esi], dl
inc esi
inc ecx
cmp ecx, 0xc8
jl 0x88f43f
mov byte [esi], 0
pop edi
mov eax, 0x8785ec
pop esi
ret

Function at 0x88f650
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0xc
lea eax, [ebp - 0xc]
push 0
push eax
call fcn.0087f670
add esp, 0xc
cmp dword [esp + 4], 0x1730372
mov al, 0x74
mov byte [ebp - 0xc], 0x46
mov byte [ebp - 7], 0x73
mov byte [ebp - 2], al
mov byte [ebp - 0xb], 0x79
mov byte [ebp - 6], 0x70
mov byte [ebp - 1], 0
mov byte [ebp - 0xa], 0x6a
mov byte [ebp - 5], 0x64
mov byte [ebp - 9], 0x75
mov byte [ebp - 4], 0x66
mov byte [ebp - 8], 0x51
mov byte [ebp - 3], al
cmp dword [esp + 4], 0x1770376
mov al, byte [ebp - 0xc]
mov dl, byte [ebp - 7]
mov cl, byte [ebp - 2]
dec al
dec dl
mov byte [ebp - 0xc], al
mov al, byte [ebp - 0xb]
mov byte [ebp - 7], dl
mov dl, byte [ebp - 6]
dec cl
dec al
mov byte [ebp - 2], cl
mov cl, byte [ebp - 0xa]
dec dl
mov byte [ebp - 0xb], al
mov al, byte [ebp - 5]
mov byte [ebp - 6], dl
mov dl, byte [ebp - 9]
dec cl
dec al
mov byte [ebp - 0xa], cl
mov cl, byte [ebp - 4]
dec dl
mov byte [ebp - 5], al
mov al, byte [ebp - 8]
mov byte [ebp - 9], dl
mov dl, byte [ebp - 3]
dec cl
dec al
dec dl
mov byte [ebp - 4], cl
mov byte [ebp - 8], al
mov byte [ebp - 3], dl
call fcn.008883f0
test eax, eax
jne 0x88f70b
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0xc]
push esi
push ecx
push eax
call fcn.0088f050
push 0xc
lea edx, [ebp - 0xc]
push 0
push edx
mov esi, eax
call fcn.0087f670
add esp, 0xc
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4269b9
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4269f8
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4269f8
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4269f8
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4269f8
cmp dword [ecx + 0x74], 0xe
jbe 0x4269f8
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x438da0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x438dcd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x438dcd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x401000
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x111]
mov byte [esp + 0x110], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0xc]
push 0x104
push eax
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
movsx ecx, byte [esp + 0xc]
push ecx
lea edx, [esp + 0x114]
push 0x407088
push edx
call fcn.004010d0
add esp, 0xc
push 0x40707c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x40108d
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
xor eax, eax
pop esi
add esp, 0x20c
ret
push 0x407058
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esp + 8]
lea edx, [esp + 0x110]
push ecx
push 5
push edx
push 0x407030
push 0
mov dword [0x409970], eax
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
xor eax, eax
pop esi
add esp, 0x20c
ret
Function at 0x405968
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 0x4059ce
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.00404080
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b14
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4059b8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4059d5
lea eax, [ebp - 0x10]
call fcn.00403e10
ret

Function at 0x40abd4
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 0x40ac0d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403f00
jmp 0x40ac16
mov eax, ebx
mov edx, esi
call fcn.00403e64
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b2c8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b140
mov eax, dword [0x4530e8]
cmp byte [eax], 0
je 0x40b344
mov eax, dword [0x452f0c]
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.00408434
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 0x40b38c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b37a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x452ebc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x454664]
call fcn.00404e7c
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 0x40bbe0
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 0x40bcb6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403ea8
lea eax, [ebp - 8]
call fcn.00404320
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004042d0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bca0
mov eax, ebx
call fcn.004026bc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bc99
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.004042d0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bc83
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bcc8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bc83
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 0x40bca0
mov eax, dword [ebp - 0x10]
call fcn.004026dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bcbd
lea eax, [ebp - 8]
call fcn.00403e10
ret

Function at 0x40c1ac
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 0x40c210
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.00404080
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407f7c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c217
lea eax, [ebp - 0xc]
call fcn.00403e10
ret

Function at 0x41a634
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x454884
cmp dword [edi], 0
jne 0x41a6b0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x454880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4523ec
mov ecx, 2
call fcn.004028b8
mov edx, 0x41a60c
lea eax, [esi + 5]
call fcn.0041a62c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a62c
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 0x41a685
mov dword [0x454880], 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 0x41b8cc
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 0x41b8d2
ret
Function at 0x41dd14
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 0x41dd65
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41dd4c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41dd3c
jmp 0x41dd65
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 0x41dd4d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42b150
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 0x42b09c
call sub.user32.dll_EnumWindows
ret

Function at 0x42b270
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 0x42b2ed
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042acd0
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 0x42b295
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042a8d0
cmp dword [ebp - 4], 0
je 0x42b2d7
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004042d0
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 0x42b2f4
lea eax, [ebp - 4]
call fcn.00403e10
ret

Function at 0x42e184
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 [0x454b54], 0
je 0x42e2d3
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x453088]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42e2d3
mov eax, dword [0x454b58]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x454b54]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42e2a2
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x454b54]
call fcn.00413a3c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42e29a
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42e29a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42e29a
mov eax, dword [ebp - 0x14]
call fcn.00436ddc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42e29a
push ebp
call fcn.0042e140
pop ecx
test al, al
jne 0x42e29a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42e256
mov eax, dword [ebp - 0x14]
call fcn.0043590c
dec eax
jle 0x42e29a
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.004032d4
cmp byte [ebp - 1], 0
je 0x42e29a
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42e29a
mov edx, dword [ebp - 0x14]
mov eax, dword [0x454b58]
call fcn.0042d90c
inc edi
dec ebx
jne 0x42e1e9
mov eax, dword [0x454b58]
cmp dword [eax + 8], 0
jle 0x42e2ba
mov eax, dword [0x454b58]
call fcn.0042d99c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42e2d3
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042dfa8
pop ecx
test al, al
jne 0x42e2d3
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 0x4318b4
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 0x431900
mov eax, esi
call fcn.00446edc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x431900
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x431900
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 0x431a3f
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x431940
cmp eax, 0x108
ja 0x431940
mov eax, esi
call fcn.00446edc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x431a36
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x431a3f
jmp 0x431a36
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x431a1f
cmp eax, 0x20a
ja 0x431a1f
test byte [esi + 0x50], 0x80
jne 0x431972
sub eax, 0x203
je 0x43196f
sub eax, 3
je 0x43196f
sub eax, 3
jne 0x431972
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x431986
dec eax
je 0x43199b
dec eax
je 0x4319b8
dec eax
je 0x43199b
jmp 0x4319bf
mov ecx, ebx
mov eax, dword [0x453088]
mov eax, dword [eax]
mov edx, esi
call fcn.00450688
jmp 0x431a36
cmp byte [esi + 0x5d], 1
jne 0x4319b1
mov eax, esi
mov si, 0xffed
call fcn.004032d4
jmp 0x431a3f
or word [esi + 0x54], 1
jmp 0x431a36
and word [esi + 0x54], 0xfffe
jmp 0x431a36
mov eax, dword [0x454b10]
cmp byte [eax + 0x20], 0
je 0x431a36
mov eax, dword [0x454b10]
cmp dword [eax + 0x1c], 0
je 0x431a36
mov eax, dword [ebx]
mov edx, dword [0x454b10]
cmp eax, dword [edx + 0x1c]
jne 0x431a36
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.00446e20
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.004032d4
jmp 0x431a3f
cmp eax, 0xb00b
jne 0x431a36
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.004301d4
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