joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40271d
Capabilities:
Get common file path

Disassembly:
sub esp, 0x400
push esi
push edi
xor edi, edi
xor esi, esi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp esi, 0x9f60fc3
jg 0x402743
inc esi
cmp esi, 0x1e70dee2
jl 0x402729
cmp dword [0x429e7c], 0x400
jne 0x40276b
push edi
call fcn.0040288a
push edi
push edi
call fcn.00402d3d
push edi
call fcn.00402b52
push edi
call fcn.00402e1b
add esp, 0x14
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x58bba6
jg 0x40278a
inc esi
cmp esi, 0xe147
jl 0x40276d
mov eax, dword [0x421e4c]
mov dword [0x429e7c], eax
call fcn.0040249a
mov esi, 0x3078f
cmp dword [0x429e7c], 0x51f
jne 0x4027b6
push edi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
dec esi
jne 0x40279e
pop edi
xor eax, eax
pop esi
add esp, 0x400
ret 0x10

Function at 0x4058f3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c580]
jne 0x4058fd
repz ret
jmp fcn.004072b0
Function at 0x406b21
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40c580]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040443f
and dword [ebp - 0x14], 0
cmp dword [0x423a94], 0
mov dword [ebp - 0x18], eax
jne 0x406bd4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x406c7c
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x406c7c
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x423a94], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x423a98], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x423a9c], eax
call edi
push eax
call esi
mov dword [0x423aa4], eax
test eax, eax
je 0x406bd4
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x423aa0], eax
mov eax, dword [0x423aa0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x406c2d
cmp dword [0x423aa4], ecx
je 0x406c2d
push eax
call esi
push dword [0x423aa4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x406c2d
test ebx, ebx
je 0x406c2d
call edi
test eax, eax
je 0x406c24
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x406c24
test byte [ebp - 8], 1
jne 0x406c2d
or dword [ebp + 0x10], 0x200000
jmp 0x406c60
mov eax, dword [0x423a98]
cmp eax, dword [ebp - 0x18]
je 0x406c60
push eax
call esi
test eax, eax
je 0x406c60
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x406c60
mov eax, dword [0x423a9c]
cmp eax, dword [ebp - 0x18]
je 0x406c60
push eax
call esi
test eax, eax
je 0x406c60
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x423a94]
call esi
test eax, eax
je 0x406c7c
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x406c7e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004058f3
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x1411373e
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
nop
mov ecx, 0x6505a86
nop
nop
nop
test eax, eax
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43206c
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40915c
nop
mov ecx, 0xe0e1d89
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x748d1f34
nop
test eax, eax
nop
nop
nop
je 0x431084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x14d0fa28
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
xor ebx, ebx
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x20000013
push dword [ebp + 8]
mov dword [ebp - 8], 4
mov dword [ebp - 0xc], ebx
call dword [0x14d12300]
test eax, eax
je 0x14d0fb16
cmp dword [ebp - 0xc], 0xc8
jne 0x14d0fb16
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 0xc]
call dword [0x14d12158]
mov esi, eax
cmp esi, 0xffffffff
je 0x14d0fb16
mov byte [ebp - 1], bl
push ebx
push dword [ebp + 0x10]
call dword [0x14d12150]
test eax, eax
je 0x14d0fabc
lea eax, [ebp - 8]
push eax
push 0x200
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 8]
call dword [0x14d122ec]
test eax, eax
jne 0x14d0fac0
mov byte [ebp - 1], 1
cmp dword [ebp - 8], ebx
je 0x14d0faf0
push ebx
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x210]
push eax
push esi
call dword [0x14d12190]
test eax, eax
je 0x14d0fae7
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 8]
je 0x14d0faeb
mov byte [ebp - 1], 1
cmp byte [ebp - 1], bl
je 0x14d0fa91
push esi
call dword [0x14d121a0]
push esi
call dword [0x14d12140]
cmp byte [ebp - 1], bl
je 0x14d0fb0c
push dword [ebp + 0xc]
call fcn.14d0eab6
pop ecx
xor eax, eax
cmp byte [ebp - 1], bl
sete al
jmp 0x14d0fb18
xor al, al
pop esi
pop ebx
leave
ret

Function at 0x431000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x431072
nop
mov ebx, 0x40915c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x6443703a
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x431060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4310d2
nop
mov ebx, 0x42f3f8
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x6c0073b0
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x43d460
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.sect_1
lea edi, [esi - 0x34000]
push edi
or ebp, 0xffffffff
jmp 0x43d482
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x43d489
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x43d478
mov eax, 1
add ebx, ebx
jne 0x43d49b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x43d490
jne 0x43d4ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43d490
xor ecx, ecx
sub eax, 3
jb 0x43d4c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x43d532
mov ebp, eax
add ebx, ebx
jne 0x43d4cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x43d4d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x43d4fc
inc ecx
add ebx, ebx
jne 0x43d4e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x43d4dd
jne 0x43d4f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43d4dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43d51c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43d50d
jmp 0x43d47e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43d51c
add edi, ecx
jmp 0x43d47e
pop esi
mov edi, esi
mov ecx, 0x15e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43d53a
cmp byte [edi], 3
jne 0x43d53a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x43d53f
lea edi, [esi + 0x3b000]
mov eax, dword [edi]
or eax, eax
je 0x43d5b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3d6e8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3d724]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43d56c
mov ecx, edi
jns 0x43d59b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3d728]
or eax, eax
je 0x43d5b1
mov dword [ebx], eax
add ebx, 4
jmp 0x43d589
call dword [esi + 0x3d72c]
popal
jmp 0x401a28
Function at 0x402aa0
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.00404184
test esi, esi
jne 0x402ad6
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.00404274
jmp 0x402af4
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004029b4
mov edi, eax
test esi, esi
je 0x402af4
cmp dword [ebx], 0
je 0x402af4
dec esi
jmp 0x402add
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403234
Capabilities:
Query or enumerate registry value

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

Function at 0x404008
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x48604c], 0
je 0x404069
cmp word [0x486220], 0xd7b2
jne 0x404031
cmp dword [0x486228], 0
jbe 0x404031
mov eax, 0x48621c
call dword [0x486238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x48306c
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 0x404090
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x483030], 0
jne 0x404085
push 0
push 0x483064
push 0x48306c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4062b0
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 0x406316
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.004043f4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402df8
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406300
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40631d
lea eax, [ebp - 0x10]
call fcn.00404184
ret

Function at 0x40c43c
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 0x40c475
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404274
jmp 0x40c47e
mov eax, ebx
mov edx, esi
call fcn.004041d8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40cb30
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c9a8
mov eax, dword [0x485380]
cmp byte [eax], 0
je 0x40cbac
mov eax, dword [0x485090]
call fcn.00402bbc
call fcn.004028e0
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.00408f40
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 0x40cbf4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40cbe2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x48502c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x486668]
call fcn.004057c4
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 0x40d4b4
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 0x40d58a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0040421c
lea eax, [ebp - 8]
call fcn.00404694
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404644
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d574
mov eax, ebx
call fcn.00402778
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d56d
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.00404644
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d557
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d59c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d557
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 0x40d574
mov eax, dword [ebp - 0x10]
call fcn.00402798
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d591
lea eax, [ebp - 8]
call fcn.00404184
ret

Function at 0x40da94
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 0x40daf8
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.004043f4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408a04
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40daff
lea eax, [ebp - 0xc]
call fcn.00404184
ret

Function at 0x4235fc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x48688c
cmp dword [edi], 0
jne 0x423678
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x486888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4835dc
mov ecx, 2
call fcn.00402974
mov edx, 0x4235d4
lea eax, [esi + 5]
call fcn.004235f4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004235f4
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 0x42364d
mov dword [0x486888], 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 0x42488c
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 0x424892
ret
Function at 0x426cd4
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 0x426d25
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x426d0c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x426cfc
jmp 0x426d25
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 0x426d0d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4302a8
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 0x4301f4
call sub.user32.dll_EnumWindows
ret

Function at 0x4303c8
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 0x430445
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042fe28
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 0x4303ed
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042fa28
cmp dword [ebp - 4], 0
je 0x43042f
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404644
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 0x43044c
lea eax, [ebp - 4]
call fcn.00404184
ret

Function at 0x433918
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x433968]
test si, 4
je 0x43392c
or bl, 1
test si, 8
je 0x433936
or bl, 4
test si, 1
je 0x433940
or bl, 8
test si, 2
je 0x43394a
or bl, 0x10
test si, 0x10
je 0x433954
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x433963
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x43396c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4339a4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x433985
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x433994
or bl, 4
test esi, 0x20000000
je 0x43399f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x43a04c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x43a05e
add esp, 0xfffffff0
call fcn.004036d0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0042256c
mov eax, dword [0x485034]
mov dword [eax + 4], ebx
mov dword [eax], 0x43a3f0
mov eax, dword [0x485044]
mov dword [eax + 4], ebx
mov dword [eax], 0x43a3fc
mov eax, ebx
call fcn.0043a408
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x419c00]
call fcn.00403394
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x419c00]
call fcn.00403394
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x419c00]
call fcn.00403394
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x419c00]
call fcn.00403394
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x419c00]
call fcn.00403394
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x436824
push eax
push 0
push 0
mov eax, dword [0x485240]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x423f90]
call fcn.004253d4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x423f90]
call fcn.004253d4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x423f90]
call fcn.004253d4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0043a828
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x43a704
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x43a704
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x43a704
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x43a19b
call fcn.00403728
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret