joyce8/EMBER2024-capa huggingface dataset:
Function at 0x149410
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x27068b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, edx
push esi
mov ecx, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
call fcn.001363b0
mov dword [ebp - 4], 2
lea eax, [esi + 0x18]
lea ecx, [edi + 0x18]
push eax
mov dword [ebp + 8], ecx
call fcn.001363b0
mov dword [ebp - 4], 5
lea eax, [esi + 0x30]
lea ecx, [edi + 0x30]
push eax
mov dword [ebp - 0x18], ecx
call fcn.001363b0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x14ba10
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x270a59
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xorps xmm0, xmm0
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
mov byte [ecx], al
movzx eax, byte [edx + 1]
mov byte [ecx + 1], al
movzx eax, byte [edx + 2]
mov byte [ecx + 2], al
lea eax, [ecx + 4]
mov dword [ebp + 8], eax
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmm0, xmmword [edx + 4]
movups xmmword [eax], xmm0
movq xmm0, qword [edx + 0x14]
movq qword [eax + 0x10], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0xf
mov byte [edx + 4], 0
mov dword [ebp - 4], 2
lea eax, [ecx + 0x1c]
mov dword [ebp - 0x14], eax
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmm0, xmmword [edx + 0x1c]
movups xmmword [eax], xmm0
movq xmm0, qword [edx + 0x2c]
movq qword [eax + 0x10], xmm0
mov dword [edx + 0x2c], 0
mov dword [edx + 0x30], 0xf
mov byte [edx + 0x1c], 0
mov dword [ebp - 4], 5
lea eax, [ecx + 0x34]
mov dword [ebp - 0x18], eax
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmm0, xmmword [edx + 0x34]
movups xmmword [eax], xmm0
movq xmm0, qword [edx + 0x44]
movq qword [eax + 0x10], xmm0
mov dword [edx + 0x44], 0
mov dword [edx + 0x48], 0xf
mov byte [edx + 0x34], 0
mov dword [ebp - 4], 8
lea eax, [ecx + 0x4c]
mov dword [ebp - 0x1c], eax
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmm0, xmmword [edx + 0x4c]
movups xmmword [eax], xmm0
movq xmm0, qword [edx + 0x5c]
movq qword [eax + 0x10], xmm0
mov dword [edx + 0x5c], 0
mov dword [edx + 0x60], 0xf
mov byte [edx + 0x4c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x1542cf
Capabilities:
Parse pe header

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

Function at 0x178620
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x17864d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x17864d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x17da80
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by fnv-1a hash
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x18]
push ebx
mov ebx, dword [0x27d354]
push esi
push edi
push eax
call ebx
lea eax, [ebp - 0x10]
push eax
call ebx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
je 0x17db68
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
je 0x17db68
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
nop
mov esi, dword [eax + 0x18]
mov dword [ebp - 8], esi
mov ecx, dword [esi + 0x3c]
mov ecx, dword [ecx + esi + 0x78]
add ecx, esi
mov dword [ebp - 4], ecx
cmp ecx, esi
je 0x17db24
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x17db24
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, esi
mov edx, dword [ebx - 4]
sub ebx, 4
add edx, esi
dec edi
mov esi, 0x811c9dc5
mov cl, byte [edx]
inc edx
test cl, cl
je 0x17db1d
nop word [eax + eax]
movsx ecx, cl
lea edx, [edx + 1]
xor ecx, esi
imul esi, ecx, 0x1000193
mov cl, byte [edx - 1]
test cl, cl
jne 0x17db00
cmp esi, 0x2fa62ca8
je 0x17db28
mov esi, dword [eax + 0x18]
test edi, edi
jne 0x17dae5
mov eax, dword [eax]
jmp 0x17dac0
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 8]
push 0x3e9
mov eax, dword [esi + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
call eax
lea eax, [ebp - 0x20]
push eax
call dword [0x27d354]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x20]
je 0x17db68
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x1c]
jne 0x17dc07
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x18]
mov dword [ebp - 4], edx
mov ecx, dword [edx + 0x3c]
mov ecx, dword [ecx + edx + 0x78]
add ecx, edx
mov dword [ebp - 8], ecx
cmp ecx, edx
je 0x17dbd9
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x17dbd9
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, edx
nop dword [eax]
mov ecx, dword [ebx - 4]
lea ebx, [ebx - 4]
add ecx, edx
dec edi
mov esi, 0x811c9dc5
mov dl, byte [ecx]
inc ecx
test dl, dl
je 0x17dbd2
movsx edx, dl
lea ecx, [ecx + 1]
xor edx, esi
imul esi, edx, 0x1000193
mov dl, byte [ecx - 1]
test dl, dl
jne 0x17dbb5
cmp esi, 0x2fa62ca8
je 0x17dbdd
mov edx, dword [eax + 0x18]
test edi, edi
jne 0x17dba0
mov eax, dword [eax]
jmp 0x17db74
mov esi, dword [ebp - 8]
mov edx, dword [ebp - 4]
push 1
mov eax, dword [esi + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
call eax
mov ebx, dword [0x27d354]
jmp 0x17da95
push 0
push 0x5c62
call 0x20a3a0
add esp, 8
or eax, edx
je 0x17dc1e
mov bl, 1
jmp 0x17dc20
xor bl, bl
push 0
push 0x5ccd
call 0x20a3a0
add esp, 8
mov byte [eax + 0x2a90c0], bl
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x626058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x6261a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x62607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x62606a
add dl, dl
jne 0x626089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x6260dc
xor eax, eax
add dl, dl
jne 0x626096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x62617d
add dl, dl
jne 0x6260a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x6260b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x6260bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x6260c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x6260d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x626075
mov eax, 1
add dl, dl
jne 0x6260ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x6260f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x6260e1
sub eax, ebx
mov ebx, 1
jne 0x626128
mov ecx, 1
add dl, dl
jne 0x62610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x626119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x626105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x626075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x62613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x62614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x626136
cmp eax, 0x7d00
jae 0x62616d
cmp eax, 0x500
jb 0x626168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x626075
cmp eax, 0x7f
ja 0x626170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x626075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x62619e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x626075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x402b18
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.00404514
test esi, esi
jne 0x402b4e
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.00404604
jmp 0x402b6c
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402a2c
mov edi, eax
test esi, esi
je 0x402b6c
cmp dword [ebx], 0
je 0x402b6c
dec esi
jmp 0x402b55
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402ea8
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x569008], 0x8088405
inc edx
mov dword [ebx + 0x569008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403514
Capabilities:
Query or enumerate registry value

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

Function at 0x404398
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x56f04c], 0
je 0x4043f9
cmp word [0x56f220], 0xd7b2
jne 0x4043c1
cmp dword [0x56f228], 0
jbe 0x4043c1
mov eax, 0x56f21c
call dword [0x56f238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x569080
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 0x404420
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x569034], 0
jne 0x404415
push 0
push 0x569078
push 0x569080
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405ed0
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406100
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405f53
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406100
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405f53
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40611c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405fdc
xor eax, eax
push ebp
push 0x405fd5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405d18
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405fba
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x40613c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405fba
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405fdc
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x4060f6
cmp byte [ebp - 0xd], 0
jne 0x406023
cmp byte [ebp - 0x12], 0
je 0x4060f6
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x40603c
dec ebx
cmp byte [ebx], 0x2e
je 0x40604b
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x40603b
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4060f6
inc ebx
cmp byte [ebp - 0x12], 0
je 0x406088
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4060f6
cmp byte [ebp - 0xd], 0
je 0x4060f6
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4060f6
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4067e4
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 0x40684a
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.00404784
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402f58
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406834
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406851
lea eax, [ebp - 0x10]
call fcn.00404514
ret

Function at 0x409928
Capabilities:
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004049d4
push eax
call sub.kernel32.dll_GetFileAttributesA
test al, 1
setne al
pop ebx
ret

Function at 0x40cb6c
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 0x40cba5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404604
jmp 0x40cbae
mov eax, ebx
mov edx, esi
call fcn.00404568
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40d260
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40d0d8
mov eax, dword [0x56eaf4]
cmp byte [eax], 0
je 0x40d2dc
mov eax, dword [0x56e6cc]
call fcn.00402cd8
call fcn.00402958
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.00409bd0
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 0x40d324
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40d312
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x56e634]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x56f668]
call fcn.00405cdc
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 0x40dbe4
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 0x40dcba
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004045ac
lea eax, [ebp - 8]
call fcn.00404a24
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004049d4
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40dca4
mov eax, ebx
call fcn.004027f0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40dc9d
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.004049d4
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40dc87
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40dccc
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40dc87
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 0x40dca4
mov eax, dword [ebp - 0x10]
call fcn.00402810
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dcc1
lea eax, [ebp - 8]
call fcn.00404514
ret

Function at 0x40e2d0
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 0x40e334
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.00404784
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409554
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e33b
lea eax, [ebp - 0xc]
call fcn.00404514
ret

Function at 0x4279c4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x56f888
cmp dword [edi], 0
jne 0x427a40
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x56f884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x569660
mov ecx, 2
call fcn.004029ec
mov edx, 0x42799c
lea eax, [esi + 5]
call fcn.004279bc
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004279bc
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 0x427a15
mov dword [0x56f884], 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 0x429198
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 0x42919e
ret
Function at 0x42ba1c
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 0x42ba6d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42ba54
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42ba44
jmp 0x42ba6d
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 0x42ba55
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x438708
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004049c4
xor eax, eax
push ebp
push 0x438836
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x438809
xor eax, eax
push ebp
push 0x438802
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004047d4
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4387d7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x4387c6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004047d4
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004049d4
mov edx, ebx
pop ecx
call fcn.004029ec
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4387cd
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x56e54c]
mov dl, 1
mov eax, dword [0x407f88]
call fcn.0040d408
call fcn.00403f34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43883d
lea eax, [ebp - 4]
call fcn.00404514
ret