joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419a20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.IaDsgWGk
lea edi, [esi - 0x10000]
push edi
or ebp, 0xffffffff
jmp 0x419a42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419a49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419a38
mov eax, 1
add ebx, ebx
jne 0x419a5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419a50
jne 0x419a6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419a50
xor ecx, ecx
sub eax, 3
jb 0x419a80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419af2
mov ebp, eax
add ebx, ebx
jne 0x419a8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x419a98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x419abc
inc ecx
add ebx, ebx
jne 0x419aa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x419a9d
jne 0x419ab9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419a9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x419adc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x419acd
jmp 0x419a3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x419adc
add edi, ecx
jmp 0x419a3e
pop esi
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x419b44
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x199f4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x19a74]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x419af9
mov ecx, edi
jns 0x419b28
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 + 0x19a7c]
or eax, eax
je 0x419b3e
mov dword [ebx], eax
add ebx, 4
jmp 0x419b16
call dword [esi + 0x19a78]
mov ebp, dword [esi + 0x19a80]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x419b78
sub esp, 0xffffff80
jmp section.VHqxTUpa

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408f6c
nop
mov ecx, 0x484f5428
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x755421d1
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x4038a1
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
sbb byte [esi + 0x23], dh

Function at 0x403c31
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
cdq
sub dh, al
inc ebp
lcall 0xc635, 0x9b45c633
inc ebp
pushfd
xor al, 0xc6
inc ebp
popfd
and dh, al
inc ebp
sahf
sub eax, 0x119f45c6

Function at 0x403cf6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.00403861
movsd dword es:[edi], dword [esi]
loope 0x403ce3
ret 0x858d
Function at 0x405d3d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x405d6f
test dl, 7
je 0x405d6f
movzx ecx, byte [edx]
movzx eax, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x43aba0]
inc edx
mov dword [ebp + 0xc], edx
sub esi, 1
jne 0x405d4f
cmp esi, 8
jb 0x405dff
push edi
mov edi, esi
shr edi, 3
xor ebx, dword [edx]
sub esi, 8
mov edx, dword [edx + 4]
mov ecx, edx
shr ecx, 0x18
mov eax, edx
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x43aba0]
xor ecx, dword [eax*4 + 0x43afa0]
mov eax, edx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x43b3a0]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x43bba0]
mov eax, ebx
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x43bfa0]
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x43c3a0]
movzx eax, dl
mov edx, dword [ebp + 0xc]
add edx, 8
mov dword [ebp + 0xc], edx
xor ecx, dword [eax*4 + 0x43b7a0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x43c7a0]
mov ebx, ecx
sub edi, 1
jne 0x405d7e
pop edi
test esi, esi
je 0x405e1b
movzx ecx, byte [edx]
movzx eax, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x43aba0]
inc edx
sub esi, 1
jne 0x405e03
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 0xc

Function at 0x405f88
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
xor ebx, ebx
push 0x20
pop ebp
cmp dword [esi], 2
jne 0x405fdf
mov eax, dword [esi + 4]
push edi
push ebx
push ebx
push ebx
push ebx
mov dword [esp + 0x44], eax
lea eax, [esp + 0x20]
push eax
push 4
lea eax, [esp + 0x4c]
push eax
push ebp
push dword [esp + 0x58]
call fcn.0040667a
mov dword [esi + 4], ebx
mov edx, ebx
mov edi, ebx
movzx eax, byte [esp + edx + 0x10]
mov ecx, edx
and ecx, 3
shl ecx, 3
shl eax, cl
xor edi, eax
inc edx
cmp edx, ebp
jb 0x405fc5
mov dword [esi + 4], edi
pop edi
cmp dword [esi], 3
jne 0x40600b
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x1c]
add esi, 4
push eax
push ebp
push esi
push ebp
push dword [esp + 0x54]
call fcn.0040667a
push ebp
lea eax, [esp + 0x10]
push eax
push esi
call fcn.0041dd90
add esp, 0xc
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8
Function at 0x406885
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x58]
sub esp, 0x18c
push ebx
push esi
mov esi, dword [ebp + 0x6c]
push edi
push 0x40
pop eax
cmp esi, eax
jae 0x40689f
mov eax, esi
push eax
push dword [ebp + 0x68]
lea eax, [ebp - 0x44]
push eax
call fcn.0041dd90
add esp, 0xc
mov dword [ebp + esi - 0x44], 0x1000000
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp + 0x20]
push eax
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 0x64]
push dword [ebp + 0x60]
call fcn.0040667a
push 0x20
pop ebx
push ebx
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp]
push eax
call fcn.0041dd90
mov eax, dword [ebp + 0x7c]
add esp, 0xc
dec eax
mov byte [ebp + 0x6b], 0
mov dword [ebp + 0x4c], eax
xor esi, esi
mov byte [ebp + 0x6f], 0
push 0x10
pop eax
mov dword [ebp + 0x50], eax
mov dword [ebp + 0x54], eax
mov eax, dword [ebp + 0x70]
mov dword [ebp + 0x40], eax
mov eax, dword [ebp + 0x74]
mov dword [ebp + 0x44], eax
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x48], eax
mov edi, dword [ebp + esi + 0x4c]
test edi, edi
je 0x40696b
lea eax, [ebp + 0x6f]
push eax
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp + 0x6b]
push eax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x64]
push eax
push ebx
lea eax, [ebp + 0x20]
push eax
push dword [ebp + 0x64]
push dword [ebp + 0x60]
call fcn.0040667a
push ebx
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.0041dd90
add esp, 0xc
xor ecx, ecx
mov al, byte [ebp + ecx + 0x20]
xor byte [ebp + ecx], al
inc ecx
cmp ecx, ebx
jb 0x406959
sub edi, 1
jne 0x40691c
push ebx
lea eax, [ebp]
push eax
push dword [ebp + esi + 0x40]
call fcn.0041dd90
add esi, 4
add esp, 0xc
cmp esi, 0xc
jb 0x406914
push 0x44
lea eax, [ebp - 0x44]
push eax
call fcn.0040de2b
push ebx
lea eax, [ebp]
push eax
call fcn.0040de2b
push ebx
lea eax, [ebp + 0x20]
push eax
call fcn.0040de2b
push ebx
lea eax, [ebp - 0x64]
push eax
call fcn.0040de2b
pop edi
pop esi
pop ebx
lea esp, [ebp + 0x58]
pop ebp
ret 0x20

Function at 0x409497
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0xc], 1
jne 0x4094b0
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [esi + 4], eax
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x409523
mov ecx, esi
call fcn.0040959e
test al, al
je 0x4094eb
mov eax, 0x4e20
cmp dword [ebp + 0xc], eax
jbe 0x4094eb
push eax
push dword [ebp + 8]
mov ecx, esi
call fcn.00409497
jmp 0x409526
cmp dword [esi + 0xc], 1
jne 0x409500
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
jne 0x409500
xor eax, eax
jmp 0x409526
cmp dword [esi + 0xc], 0
jne 0x40951e
mov ebx, 0x8000
cmp dword [ebp + 0xc], ebx
jbe 0x40951e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x21
jne 0x40951e
push ebx
jmp 0x4094df
or eax, 0xffffffff
jmp 0x409526
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4095c1
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x1008
call fcn.0041cc40
push ebx
mov ebx, dword [esp + 0x1014]
xor edx, edx
push ebp
push edi
mov edi, ecx
mov dword [edi + 0x1020], edx
cmp byte [edi + 0x1c], dl
jne 0x4095eb
mov cl, dl
test bl, 4
je 0x4095ed
mov cl, 1
mov eax, ebx
shr eax, 1
push esi
and al, 1
movzx esi, al
neg esi
sbb esi, esi
and esi, 0xc0000000
add esi, 0x80000000
test bl, 1
je 0x409612
or esi, 0x40000000
shr ebx, 3
not ebx
and ebx, 1
test cl, cl
je 0x409621
or ebx, 2
xor eax, eax
cmp byte [edi + 0x15], al
push edx
setne al
dec eax
and eax, 0x8000000
push eax
push 3
push edx
push ebx
push esi
push dword [esp + 0x1034]
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x4096b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x18]
push 0x800
push eax
push dword [esp + 0x1024]
call fcn.0040b0c1
test al, al
je 0x40969f
push 0
push dword [esp + 0x18]
lea eax, [esp + 0x20]
push 3
push 0
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x40969a
mov dword [esp + 0x10], eax
cmp ebp, 0xffffffff
jne 0x4096b0
cmp dword [esp + 0x10], 2
jne 0x4096b0
mov dword [edi + 0x1020], 1
xor eax, eax
cmp ebp, 0xffffffff
mov byte [edi + 0x12], al
setne bl
mov dword [edi + 0xc], eax
mov byte [edi + 0x10], al
pop esi
cmp ebp, 0xffffffff
je 0x4096df
push 0x800
push dword [esp + 0x101c]
lea ecx, [edi + 0x1e]
mov dword [edi + 4], ebp
push ecx
call fcn.0040ef14
pop edi
pop ebp
mov al, bl
pop ebx
add esp, 0x1008
ret 8
Function at 0x41bb0b
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.0041cc40
cmp byte [0x442128], 0
je 0x41bb95
cmp word [0x456918], 0
je 0x41bb95
push esi
lea eax, [ebp - 0x1008]
push eax
push 0x456918
call fcn.0041a777
lea eax, [ebp - 8]
xor esi, esi
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push esi
push esi
push esi
push str.SoftwareWinRAR_SFX
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x41bb94
push dword [ebp + 8]
call fcn.00421ea5
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x1008]
push 1
push esi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x41bb9b
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2000
call fcn.0041cc40
push esi
push dword [ebp + 8]
push str.sfxcmd
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0x1000
lea eax, [ebp - 0x2000]
push eax
push dword [ebp + 8]
call fcn.0040ed09
mov esi, eax
test esi, esi
je 0x41bbf3
movzx ecx, word [esi]
push ecx
jmp 0x41bbde
add esi, 2
movzx eax, word [esi]
push eax
call fcn.0040ee00
test al, al
jne 0x41bbd7
push esi
push str.sfxpar
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x402aac
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.00404780
test esi, esi
jne 0x402ae2
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.00404870
jmp 0x402b00
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402960
mov edi, eax
test esi, esi
je 0x402b00
cmp dword [ebx], 0
je 0x402b00
dec esi
jmp 0x402ae9
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403840
Capabilities:
Query or enumerate registry value

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

Function at 0x4045e4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x498048], 0
je 0x404645
cmp word [0x49821c], 0xd7b2
jne 0x40460d
cmp dword [0x498224], 0
jbe 0x40460d
mov eax, 0x498218
call dword [0x498234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x496070
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 0x40466c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x496030], 0
jne 0x404661
push 0
push 0x496068
push 0x496070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406560
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 0x4065c6
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.004049f0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004032a8
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4065b0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4065cd
lea eax, [ebp - 0x10]
call fcn.00404780
ret

Function at 0x408e6c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404c40
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x408e85
test al, 0x10
jne 0x408e89
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40ba48
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 0x40ba81
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404870
jmp 0x40ba8a
mov eax, ebx
mov edx, esi
call fcn.004047d4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40ca54
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 0x40cb2a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404818
lea eax, [ebp - 8]
call fcn.00404c90
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404c40
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40cb14
mov eax, ebx
call fcn.00402724
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40cb0d
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.00404c40
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40caf7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40cb3c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40caf7
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 0x40cb14
mov eax, dword [ebp - 0x10]
call fcn.00402744
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cb31
lea eax, [ebp - 8]
call fcn.00404780
ret
Function at 0x40d0ac
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 0x40d110
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.004049f0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408acc
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d117
lea eax, [ebp - 0xc]
call fcn.00404780
ret

Function at 0x4149e9
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x414a24
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x414a0b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x414a1c
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x414a26
inc edi
add eax, 0x28
cmp edi, esi
jb 0x414a01
xor eax, eax
pop edi
pop esi
ret

Function at 0x41524c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call [ecx + 0x50]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
invalid
adc al, 0xf7
Function at 0x422440
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x498884
cmp dword [edi], 0
jne 0x4224bc
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x498880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x496498
mov ecx, 2
call fcn.00402920
mov edx, 0x422418
lea eax, [esi + 5]
call fcn.00422438
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00422438
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 0x422491
mov dword [0x498880], 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 0x423a70
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 0x423a76
ret

Function at 0x426068
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 0x4260b9
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4260a0
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x426090
jmp 0x4260b9
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 0x4260a1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x453dc0
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 0x453d0c
call sub.user32.dll_EnumWindows
ret

Function at 0x453ee0
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 0x453f5d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00453940
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 0x453f05
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00453540
cmp dword [ebp - 4], 0
je 0x453f47
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404c40
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 0x453f64
lea eax, [ebp - 4]
call fcn.00404780
ret

Function at 0x4575a0
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 [0x498b64], 0
je 0x4576ef
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4974f4]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x4576ef
mov eax, dword [0x498b68]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x498b64]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4576be
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x498b64]
call fcn.00418fb8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4576b6
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x4576b6
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4576b6
mov eax, dword [ebp - 0x14]
call fcn.0046034c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4576b6
push ebp
call fcn.0045755c
pop ecx
test al, al
jne 0x4576b6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x457672
mov eax, dword [ebp - 0x14]
call fcn.0045ee7c
dec eax
jle 0x4576b6
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.00403bcc
cmp byte [ebp - 1], 0
je 0x4576b6
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4576b6
mov edx, dword [ebp - 0x14]
mov eax, dword [0x498b68]
call fcn.00456d28
inc edi
dec ebx
jne 0x457605
mov eax, dword [0x498b68]
cmp dword [eax + 8], 0
jle 0x4576d6
mov eax, dword [0x498b68]
call fcn.00456db8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4576ef
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004573c4
pop ecx
test al, al
jne 0x4576ef
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