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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx edx, byte [ebp + 0x14]
push ebx
push esi
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 0xc]
inc edx
xor ebx, ebx
imul edx, ecx
push edi
xor edi, edi
xor esi, esi
mov al, 1
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
test ecx, ecx
je 0x1001d64e
mov ecx, dword [ebp + 8]
nop
movzx edi, al
mov eax, dword [ebp - 8]
mov al, byte [edi + eax + 0x22c]
xor al, byte [ecx]
mov ecx, esi
and ecx, 7
movzx eax, al
mov ebx, eax
shl ebx, cl
mov ecx, dword [ebp - 8]
mov al, byte [eax + ecx + 0x12c]
movzx ecx, al
add dword [ebp - 4], ebx
mov ebx, dword [ebp - 0xc]
add ebx, ecx
mov ecx, edx
shr ecx, 0xa
xor al, cl
movzx ecx, al
imul ecx, edi
mov edi, dword [ebp - 0x10]
add edi, ecx
mov ecx, dword [ebp + 8]
inc edx
mov byte [ecx], al
imul edx, edx, 0x4fd
inc ecx
inc esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edi
mov dword [ebp + 8], ecx
cmp esi, dword [ebp + 0xc]
jb 0x1001d5f0
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
mov edx, edi
shr edx, 0x10
xor edx, edi
mov word [ecx + 6], dx
mov edx, ebx
shr edx, 0x10
xor edx, ebx
mov word [ecx + 4], dx
mov edx, eax
shr edx, 0x10
xor edx, eax
shr eax, 1
shr edi, 2
add eax, ebx
add edi, eax
mov word [ecx], di
pop edi
pop esi
mov word [ecx + 2], dx
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10021bb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
lea edx, [ebp + 8]
push edx
mov esi, ecx
mov ecx, dword [ebp + 0xc]
push 0
push esi
push 0x10021b70
push 0
push 0
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ecx
call dword [sym.imp.kernel32.dll_CreateThread]
push 0
push 0
push 0
push 0
mov dword [esi + 8], eax
call dword [sym.imp.kernel32.dll_CreateEventA]
mov dword [esi], eax
mov eax, 1
mov dword [esi + 4], eax
pop esi
pop ebp
ret 8

Function at 0x10027590
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x1002759c
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
xor dl, dl
xor ecx, ecx
push edi
mov byte [0x101aa8a4], dl
test eax, eax
je 0x100275dc
push ebx
movzx eax, dl
mov bl, byte [eax + 0x1005a658]
inc eax
xor edx, edx
mov edi, 9
div edi
mov al, byte [ecx + esi]
add al, bl
not al
mov byte [ecx + esi], al
mov eax, dword [ebp + 0xc]
inc ecx
cmp ecx, eax
jb 0x100275b0
mov byte [0x101aa8a4], dl
pop ebx
cmp eax, 1
jbe 0x1002760e
lea ecx, [eax - 1]
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
xor edi, edi
cmp eax, 1
jle 0x1002760e
mov dl, byte [ecx + esi]
mov al, byte [edi + esi]
mov byte [edi + esi], dl
mov byte [ecx + esi], al
dec ecx
inc edi
mov eax, ecx
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 1
jg 0x100275f2
pop edi
mov eax, 1
pop esi
pop ebp
ret

Function at 0x10029960
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test esi, esi
jne 0x10029979
lea eax, [esi + 0xd]
pop esi
mov esp, ebp
pop ebp
ret 8
push ebx
mov ebx, dword [sym.imp.kernel32.dll_lstrlen]
push edi
xor edi, edi
push esi
call ebx
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x10029983
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
push edi
push eax
mov eax, dword [edx]
push 7
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x10029ee0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x1006b5d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
mov edx, dword [edi]
or ecx, 0x2001f
push ecx
xor esi, esi
push eax
push edx
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x110], esi
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0x108], esi
call fcn.10029850
mov ebx, eax
cmp ebx, esi
je 0x10029f5a
mov eax, dword [ebp - 0x110]
cmp eax, esi
je 0x10029f45
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003b1fb
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x120]
push eax
mov eax, dword [ebp - 0x110]
push esi
push esi
push esi
lea ecx, [ebp - 0x114]
push ecx
lea edx, [ebp - 0x104]
push edx
push esi
push eax
mov dword [ebp - 0x114], pe_nt_image_headers32
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x10029fdc
mov edi, edi
lea ecx, [ebp - 0x104]
push ecx
lea ecx, [ebp - 0x110]
call fcn.10029ee0
mov ebx, eax
cmp ebx, esi
jne 0x10029f34
lea edx, [ebp - 0x120]
push edx
mov edx, dword [ebp - 0x110]
push esi
push esi
push esi
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x104]
push ecx
push esi
push edx
mov dword [ebp - 0x114], pe_nt_image_headers32
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x10029f90
mov eax, dword [ebp - 0x110]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
je 0x10029ff5
push eax
call ebx
mov dword [ebp - 0x110], esi
mov eax, dword [ebp - 0x118]
push eax
mov ecx, edi
mov dword [ebp - 0x10c], esi
call fcn.10029730
mov edi, eax
mov eax, dword [ebp - 0x110]
cmp eax, esi
je 0x1002a018
push eax
call ebx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003b1fb
mov esp, ebp
pop ebp
ret 4
Function at 0x10039f40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005491b
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x1006b5d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x11c]
push ecx
push ebx
push 6
push ebx
push ebx
push ebx
push 0x1005ba80
push 0x80000001
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x124], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x10039ff5
push 0x104
lea edx, [ebp - 0x114]
push edx
push ebx
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov edx, dword [ebp - 0x11c]
push 4
lea ecx, [ebp - 0x120]
push ecx
push 4
push ebx
push eax
push edx
mov dword [ebp - 0x120], 0x2af8
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x11c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [0x10077fb0]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x138]
push ecx
push eax
push 0x101aa8ac
mov ecx, 0x101aa8d0
call fcn.10027800
call fcn.10035f70
push 0x101aa8a8
mov dword [0x101aa8a8], ebx
call fcn.10039e70
mov eax, dword [0x101aa8a8]
cmp eax, ebx
jne 0x1003a03a
xor eax, eax
jmp 0x1003a107
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x128], ecx
call fcn.10035f70
mov dword [ebp - 0x118], ebx
lea edx, [ebp - 0x118]
push edx
push 0x1005ad78
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], ebx
call fcn.100291f0
mov eax, dword [0x101aa8a8]
cmp eax, ebx
je 0x1003a076
lea ecx, [eax + 0x2c]
jmp 0x1003a078
xor ecx, ecx
mov eax, dword [ebp - 0x118]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x20]
call eax
mov eax, dword [0x101aa8a8]
mov ecx, dword [eax + 0x3c]
lea edx, [eax + 0x26]
push edx
lea edx, [eax + 0x24]
push edx
lea edx, [eax + 0x14]
lea esi, [eax + 0x3c]
mov edi, eax
push edx
add eax, 4
push eax
push ecx
call fcn.1002a770
mov edx, dword [esi]
xor ecx, ecx
cmp dword [edi + 0x28], 0xfefefefe
lea eax, [edi + 0x28]
sete cl
cmp ecx, ebx
jne 0x1003a0c9
push 0x80004005
call fcn.100276f0
push eax
push 0x1005bb24
push edi
push edx
call fcn.1002a6e0
mov esi, dword [esi]
mov eax, dword [esi]
mov ecx, dword [eax + 0x24]
push esi
call ecx
push ebx
call fcn.1002cab0
mov eax, dword [ebp - 0x118]
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x1003a102
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003b1fb
mov esp, ebp
pop ebp
ret

Function at 0x1003b1fb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1006b5d8]
jne 0x1003b205
repz ret
jmp fcn.100443d2
Function at 0x1004ca96
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1006b5d8]
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.100425c6
and dword [ebp - 0x14], 0
cmp dword [0x101ab8f4], 0
mov dword [ebp - 0x18], eax
jne 0x1004cb49
push 0x1005e10c
call dword [sym.imp.kernel32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1004cbf1
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push 0x1005e100
push ebx
call edi
test eax, eax
je 0x1004cbf1
mov esi, dword [sym.imp.kernel32.dll_EncodePointer]
push eax
call esi
push 0x1005e0f0
push ebx
mov dword [0x101ab8f4], eax
call edi
push eax
call esi
push 0x1005e0dc
push ebx
mov dword [0x101ab8f8], eax
call edi
push eax
call esi
push 0x1005e0c0
push ebx
mov dword [0x101ab8fc], eax
call edi
push eax
call esi
mov dword [0x101ab904], eax
test eax, eax
je 0x1004cb49
push 0x1005e0a8
push ebx
call edi
push eax
call esi
mov dword [0x101ab900], eax
mov eax, dword [0x101ab900]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.kernel32.dll_DecodePointer]
cmp eax, ecx
je 0x1004cba2
cmp dword [0x101ab904], ecx
je 0x1004cba2
push eax
call esi
push dword [0x101ab904]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x1004cba2
test ebx, ebx
je 0x1004cba2
call edi
test eax, eax
je 0x1004cb99
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1004cb99
test byte [ebp - 8], 1
jne 0x1004cba2
or dword [ebp + 0x10], 0x200000
jmp 0x1004cbd5
mov eax, dword [0x101ab8f8]
cmp eax, dword [ebp - 0x18]
je 0x1004cbd5
push eax
call esi
test eax, eax
je 0x1004cbd5
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1004cbd5
mov eax, dword [0x101ab8fc]
cmp eax, dword [ebp - 0x18]
je 0x1004cbd5
push eax
call esi
test eax, eax
je 0x1004cbd5
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x101ab8f4]
call esi
test eax, eax
je 0x1004cbf1
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1004cbf3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003b1fb
leave
ret
Function at 0x10051ccf
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x101ab970], 0
push esi
push edi
jne 0x10051c45
call fcn.10051bb1
test eax, eax
je 0x10051c8a
mov eax, dword [0x101ab970]
cmp eax, 1
jne 0x10051c66
push 0xd
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x10051c8a
jmp 0x10051ccc
mov edi, dword [sym.imp.kernel32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x10051ccc
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x10051c8e
xor eax, eax
jmp 0x10051ccc
mov eax, dword [esi]
push dword [0x101ab970]
call edi
mov edi, eax
test edi, edi
je 0x10051cb0
push 0x8000
push 0
push esi
call dword [sym.imp.kernel32.dll_VirtualFree]
mov eax, edi
jmp 0x10051ccc
lea edi, [esi + 0xff0]
push esi
push dword [0x101ab970]
call dword [sym.imp.kernel32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x10051cb6
mov eax, esi
pop edi
pop esi
ret
jmp 0x10051c31

Function at 0x8d5780
Capabilities:
Encode data using xor

Disassembly:
jmp 0x8d578a
pushal
call 0x8d5790
pop ebp
sub ebp, 0x10
sub ebp, 0x4d5780
jmp 0x8d57a6
mov eax, 0x4d5780
add eax, ebp
add eax, 0x4c
mov ecx, 0x5f7
mov edx, 0x6b59f07f
xor byte [eax], dl
inc eax
dec ecx
jne 0x8d57bd
jmp 0x8d57d0
hlt
Function at 0x41952b
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7d0
pushal
lea eax, [ebp - 0x720]
mov dword [ebp - 0x10], eax
push eax
call fcn.00417332
lea eax, [ebp - 0x520]
mov dword [ebp - 4], eax
push eax
call fcn.00417b4a
lea eax, [ebp - 0x620]
mov dword [ebp - 0xc], eax
push eax
jmp loc.0041c8f8

Function at 0x4195ec
Capabilities:
Terminate process

Disassembly:
call fcn.004195f9
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]

Function at 0x412590
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf000]
push edi
jmp 0x4125aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4125b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4125a0
mov eax, 1
add ebx, ebx
jne 0x4125c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4125b8
jne 0x4125d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4125b8
xor ecx, ecx
sub eax, 3
jb 0x4125e8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41265a
mov ebp, eax
add ebx, ebx
jne 0x4125f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x412600
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x412624
inc ecx
add ebx, ebx
jne 0x412610
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x412605
jne 0x412621
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x412605
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x412644
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x412635
jmp 0x4125a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x412644
add edi, ecx
jmp 0x4125a6
pop esi
lea edi, [esi + 0x10000]
mov eax, dword [edi]
or eax, eax
je 0x4126ac
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12708]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x127c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x412661
mov ecx, edi
jns 0x412690
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 + 0x127cc]
or eax, eax
je 0x4126a6
mov dword [ebx], eax
add ebx, 4
jmp 0x41267e
call dword [esi + 0x127c8]
mov ebp, dword [esi + 0x127d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x4126e0
sub esp, 0xffffff80
jmp 0x403ac6
Function at 0x405ab4
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 0x405b1a
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.004041cc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402c60
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405b04
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405b21
lea eax, [ebp - 0x10]
call fcn.00403f5c
ret

Function at 0x40acf4
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 0x40ad2d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040404c
jmp 0x40ad36
mov eax, ebx
mov edx, esi
call fcn.00403fb0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b3e8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b260
mov eax, dword [0x44e004]
cmp byte [eax], 0
je 0x40b464
mov eax, dword [0x44de34]
call fcn.00402acc
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.00408568
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 0x40b4ac
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b49a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x44dde4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x44f660]
call fcn.00404fc8
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 0x40bd00
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 0x40bdd6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403ff4
lea eax, [ebp - 8]
call fcn.0040446c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040441c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bdc0
mov eax, ebx
call fcn.004026bc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bdb9
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.0040441c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bda3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bde8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bda3
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 0x40bdc0
mov eax, dword [ebp - 0x10]
call fcn.004026dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bddd
lea eax, [ebp - 8]
call fcn.00403f5c
ret

Function at 0x40c254
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 0x40c2b8
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.004041cc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004080c4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c2bf
lea eax, [ebp - 0xc]
call fcn.00403f5c
ret

Function at 0x41a394
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x44f8c8
cmp dword [edi], 0
jne 0x41a410
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x44f8c4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x44d3e8
mov ecx, 2
call fcn.004028b8
mov edx, 0x41a36c
lea eax, [esi + 5]
call fcn.0041a38c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a38c
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 0x41a3e5
mov dword [0x44f8c4], 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 0x41b624
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 0x41b62a
ret
Function at 0x41da6c
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 0x41dabd
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41daa4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41da94
jmp 0x41dabd
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 0x41daa5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427040
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 0x426f8c
call sub.user32.dll_EnumWindows
ret

Function at 0x427160
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 0x4271dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00426bc0
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 0x427185
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004267c0
cmp dword [ebp - 4], 0
je 0x4271c7
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.0040441c
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 0x4271e4
lea eax, [ebp - 4]
call fcn.00403f5c
ret

Function at 0x429e80
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 [0x44fb98], 0
je 0x429fcf
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x44dfa8]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x429fcf
mov eax, dword [0x44fb9c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x44fb98]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x429f9e
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x44fb98]
call fcn.00413964
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x429f96
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x429f96
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x429f96
mov eax, dword [ebp - 0x14]
call fcn.004329e4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x429f96
push ebp
call fcn.00429e3c
pop ecx
test al, al
jne 0x429f96
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x429f52
mov eax, dword [ebp - 0x14]
call fcn.00431514
dec eax
jle 0x429f96
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.00403420
cmp byte [ebp - 1], 0
je 0x429f96
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x429f96
mov edx, dword [ebp - 0x14]
mov eax, dword [0x44fb9c]
call fcn.00429608
inc edi
dec ebx
jne 0x429ee5
mov eax, dword [0x44fb9c]
cmp dword [eax + 8], 0
jle 0x429fb6
mov eax, dword [0x44fb9c]
call fcn.00429698
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x429fcf
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00429ca4
pop ecx
test al, al
jne 0x429fcf
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