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

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd3000]
push edi
jmp 0x53070a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x530711
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x530700
mov eax, 1
add ebx, ebx
jne 0x530723
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x530734
jne 0x530753
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x530753
dec eax
add ebx, ebx
jne 0x530740
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x530718
add ebx, ebx
jne 0x53074f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5307a5
xor ecx, ecx
sub eax, 3
jb 0x53076b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5307da
sar eax, 1
mov ebp, eax
jmp 0x530776
add ebx, ebx
jne 0x530776
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x530744
inc ecx
add ebx, ebx
jne 0x530784
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x530744
add ebx, ebx
jne 0x530791
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x530786
jne 0x5307a2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x530786
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5307c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5307b6
jmp 0x530706
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5307c4
add edi, ecx
jmp 0x530706
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5307e2
cmp byte [edi], 0x11
jne 0x5307e2
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 al, bl
loop 0x5307e7
lea edi, [esi + 0x129000]
mov eax, dword [edi]
or eax, eax
je 0x53085f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x17b4a8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x17b624]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x530814
mov ecx, edi
jns 0x530843
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 + 0x17b628]
or eax, eax
je 0x530859
mov dword [ebx], eax
add ebx, 4
jmp 0x530831
call dword [esi + 0x17b638]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x530890
cmp al, 0xef
ja 0x530883
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x530865
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x530872
mov ebp, dword [esi + 0x17b62c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x5308c4
sub esp, 0xffffff80
jmp 0x420577
Function at 0x40249b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x43b034]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0xe4]
call fcn.00411637
push dword [ebp + 0x10]
lea ecx, [ebp - 0xe4]
call fcn.0041177c
xor esi, esi
cmp dword [ebp + 0xc], esi
jbe 0x4024e9
push ecx
push ecx
lea ecx, [ebp - 0xe4]
call fcn.00411750
xor byte [edi + esi], al
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x4024d3
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.004126e7
mov esp, ebp
pop ebp
ret 0xc

Function at 0x402aaa
Capabilities:
Parse pe header

Disassembly:
cmp byte [ecx + 0xd], 0
je 0x402abb
mov dword [ecx + 0x10], 8
xor al, al
jmp 0x402b27
and dword [ecx + 0x10], 0
mov edx, dword [ecx + 8]
push esi
test edx, edx
je 0x402b17
mov eax, 0x5a4d
cmp word [edx], ax
jne 0x402b0e
mov eax, dword [edx + 0x3c]
add eax, edx
cmp dword [eax], 0x4550
jne 0x402b05
movzx edx, word [eax + 4]
mov esi, 0x14c
cmp dx, si
je 0x402af6
mov esi, 0x8664
cmp dx, si
jne 0x402b05
push 3
pop edx
cmp word [eax + 0x5c], dx
je 0x402b1e
mov word [eax + 0x5c], dx
jmp 0x402b1e
mov dword [ecx + 0x10], 7
jmp 0x402b1e
mov dword [ecx + 0x10], 6
jmp 0x402b1e
mov dword [ecx + 0x10], 1
xor eax, eax
cmp dword [ecx + 0x10], eax
pop esi
sete al
ret 4

Function at 0x402b2a
Capabilities:
Parse pe header

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0xd], 0
je 0x402b40
mov dword [esi + 0x10], 8
xor al, al
jmp 0x402b91
and dword [esi + 0x10], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x402b82
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402b79
mov edi, dword [eax + 0x3c]
add edi, eax
cmp dword [edi], 0x4550
jne 0x402b70
call fcn.00402c17
test eax, eax
je 0x402b89
mov dword [edi + 8], eax
jmp 0x402b89
mov dword [esi + 0x10], 7
jmp 0x402b89
mov dword [esi + 0x10], 6
jmp 0x402b89
mov dword [esi + 0x10], 1
xor eax, eax
cmp dword [esi + 0x10], eax
sete al
pop edi
pop esi
pop ecx
ret

Function at 0x402b95
Capabilities:
Parse pe header

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xd], 0
je 0x402ba9
mov dword [esi + 0x10], 8
xor al, al
pop esi
ret
and dword [esi + 0x10], 0
mov eax, dword [esi + 8]
push edi
test eax, eax
je 0x402c05
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402bfc
mov edi, dword [eax + 0x3c]
add edi, eax
cmp dword [edi], 0x4550
jne 0x402bf3
movzx eax, word [edi + 4]
mov ecx, 0x14c
cmp ax, cx
je 0x402be4
mov ecx, 0x8664
cmp ax, cx
jne 0x402bf3
push dword [edi + 0x58]
mov ecx, esi
call fcn.00402c93
mov dword [edi + 0x58], eax
jmp 0x402c0c
mov dword [esi + 0x10], 7
jmp 0x402c0c
mov dword [esi + 0x10], 6
jmp 0x402c0c
mov dword [esi + 0x10], 1
xor eax, eax
cmp dword [esi + 0x10], eax
pop edi
sete al
pop esi
ret
Function at 0x402d01
Capabilities:
Parse pe header

Disassembly:
and dword [ecx + 0x10], 0
mov edx, dword [ecx + 8]
push esi
test edx, edx
je 0x402d57
mov eax, 0x5a4d
cmp word [edx], ax
jne 0x402d4e
mov eax, dword [edx + 0x3c]
add eax, edx
cmp dword [eax], 0x4550
jne 0x402d45
movzx edx, word [eax + 4]
mov esi, 0x14c
cmp dx, si
jne 0x402d3b
and dword [ecx + 0x10], 0
mov eax, dword [eax + 0x58]
pop esi
ret
mov esi, 0x8664
cmp dx, si
je 0x402d32
mov dword [ecx + 0x10], 7
jmp 0x402d5e
mov dword [ecx + 0x10], 6
jmp 0x402d5e
mov dword [ecx + 0x10], 1
xor eax, eax
pop esi
ret

Function at 0x402f7f
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
xor esi, esi
mov edx, dword [eax + 4]
mov edi, dword [eax]
add edx, edx
mov eax, 0x1505
test edx, edx
jle 0x402fa7
movzx ecx, byte [esi + edi]
imul eax, eax, 0x21
add eax, ecx
inc esi
cmp esi, edx
jl 0x402f99
pop edi
pop esi
pop ebp
ret 4
Function at 0x4117e5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x43b034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
lea ecx, [ebp - 0x98]
push esi
push edi
mov edi, dword [ebp + 8]
and dword [ebx + 0x10], 0
mov dword [ebx + 0xc], eax
call fcn.00410d5a
push 0x43798d
call fcn.00412dc0
pop ecx
lea ecx, [ebp - 0x98]
mov esi, eax
call fcn.00410d5a
push esi
push 0x43798d
lea ecx, [ebp - 0x98]
call fcn.00410d8b
lea ecx, [ebp - 0x98]
call fcn.00410e2a
and dword [ebx + 8], 0
push 0x437990
push edi
call fcn.00412e64
mov dword [ebx + 4], eax
pop ecx
pop ecx
test eax, eax
jne 0x411864
inc eax
jmp 0x4118e1
push 2
push 0
push eax
call fcn.00413870
add esp, 0xc
xor esi, esi
inc esi
push dword [ebx + 4]
push 8
push esi
push 0x43c6e0
call fcn.0041375f
push dword [ebx + 4]
push 8
push esi
push 0x43c6e8
call fcn.0041375f
push dword [ebx + 4]
push esi
push 4
push 0x43c698
call fcn.0041375f
push dword [ebx + 4]
push esi
push 4
push 0x43c314
call fcn.0041375f
add esp, 0x40
lea eax, [ebp - 0x98]
push 0x99f2
push 0x10
push eax
call fcn.0040249b
push dword [ebx + 4]
lea eax, [ebp - 0x98]
push 0x10
push esi
push eax
call fcn.0041375f
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004126e7
mov esp, ebp
pop ebp
ret 8

Function at 0x4118f4
Capabilities:
Write file on windows

Disassembly:
push edi
mov edi, ecx
mov eax, dword [edi + 0x10]
test eax, eax
je 0x411913
push esi
mov esi, dword [eax + 0x208]
push eax
call fcn.004135ce
mov eax, esi
pop ecx
test esi, esi
jne 0x4118ff
pop esi
push dword [edi + 4]
push 4
push 1
push 0x43c698
call fcn.0041375f
push dword [edi + 4]
push 4
push 1
push 0x43c314
call fcn.0041375f
push dword [edi + 4]
call fcn.00412faf
add esp, 0x24
pop edi
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x6e9318ec
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0xfbf64e7
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x402d20
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x402d5d
xor eax, eax
mov al, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x402d7d
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00404cec
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x402ff8
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404a7c
test esi, esi
jne 0x40302f
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00404b6c
jmp 0x403050
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402e94
mov dword [esp], eax
test esi, esi
je 0x403050
cmp dword [ebx], 0
je 0x403050
dec esi
jmp 0x403037
add esp, 0x10c
pop esi
pop ebx
ret

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

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

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

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x4d6008], 0x8088405
inc edx
mov dword [ebx + 0x4d6008], edx
fld qword [ebx + 0x4d606c]
push 0
push edx
fild qword [esp]
add esp, 8
fmulp st(1)
pop ebx
ret

Function at 0x403b3c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4d6024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403bd4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403bb4
xor eax, eax
push ebp
push 0x403bad
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 0x403bf0
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 0x403bb4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4d6024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4d6024], ax
mov esp, ebp
pop ebp
ret
Function at 0x4048d8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4dd04c], 0
je 0x404939
cmp word [0x4dd220], 0xd7b2
jne 0x404901
cmp dword [0x4dd228], 0
jbe 0x404901
mov eax, 0x4dd21c
call dword [0x4dd238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4d607c
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 0x404960
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4d6034], 0
jne 0x404955
push 0
push 0x4d6074
push 0x4d607c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406e14
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 0x406e7a
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.00404cec
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004036d0
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406e64
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406e81
lea eax, [ebp - 0x10]
call fcn.00404a7c
ret

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

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

Function at 0x40a044
Capabilities:
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404f3c
push eax
call sub.kernel32.dll_GetFileAttributesA
pop ebx
ret

Function at 0x40a058
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.00404f3c
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x40a07a
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x40d120
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 0x40d159
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404b6c
jmp 0x40d162
mov eax, ebx
mov edx, esi
call fcn.00404ad0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40d16c
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 0x40d18d
mov al, byte [esp]
jmp 0x40d18f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x40d824
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40d68c
mov eax, dword [0x4dc450]
cmp byte [eax], 0
je 0x40d8a0
mov eax, dword [0x4dc20c]
call fcn.0040341c
call fcn.00402c74
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.0040a6cc
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 0x40d8e8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40d8d6
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4dc1a4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4dd668]
call fcn.00406240
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 0x40e1b0
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 0x40e286
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404b14
lea eax, [ebp - 8]
call fcn.00404f8c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404f3c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40e270
mov eax, ebx
call fcn.00402ae8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40e269
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.00404f3c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40e253
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40e298
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40e253
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 0x40e270
mov eax, dword [ebp - 0x10]
call fcn.00402b18
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e28d
lea eax, [ebp - 8]
call fcn.00404a7c
ret

Function at 0x40e9ac
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 0x40ea10
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.00404cec
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409a00
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ea17
lea eax, [ebp - 0xc]
call fcn.00404a7c
ret
Function at 0x4209e4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4dd888
cmp dword [edi], 0
jne 0x420a60
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4dd884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4d648c
mov ecx, 2
call fcn.00402e54
mov edx, 0x4209bc
lea eax, [esi + 5]
call fcn.004209dc
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004209dc
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 0x420a35
mov dword [0x4dd884], 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 0x422044
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 0x42204a
ret

Function at 0x424adc
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 0x424b2d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x424b14
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x424b04
jmp 0x424b2d
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 0x424b15
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42edd4
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.00404f2c
xor eax, eax
push ebp
push 0x42ef02
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42eed5
xor eax, eax
push ebp
push 0x42eece
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404d3c
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42eea3
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 0x42ee92
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404d3c
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404f3c
mov edx, ebx
pop ecx
call fcn.00402e54
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 0x42ee99
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4dc128]
mov dl, 1
mov eax, dword [0x4084bc]
call fcn.0040d9cc
call fcn.00404470
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ef09
lea eax, [ebp - 4]
call fcn.00404a7c
ret