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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x43d369
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x43d362
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dl, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x43d37d
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0043cd14
test bl, bl
jne 0x43d450
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x51ac58
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x43d3b4
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x43d3c8
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0043d228
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov bl, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x43d3fa
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x43d3a9
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x43d41d
mov eax, 4
mov edx, dword [ebp + 0xc]
mov cl, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x43d42e
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x43d442
jmp 0x43d50b
cmp bl, 1
jne 0x43d50b
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x51acb2
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x43d470
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x43d484
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0043d228
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
mov cl, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x43d4b6
sub ebx, 6
inc dword [ebp - 8]
jne 0x43d465
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
mov cl, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x43d4dd
mov eax, 4
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x43d4ee
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov cl, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x43d502
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0043cd98
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x43dbb8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov edi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43d032
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00405138
mov eax, dword [ebp - 4]
call fcn.004053f8
mov esi, eax
test esi, esi
jle 0x43dc1c
mov dword [ebp - 8], 1
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov bl, byte [eax + edx - 1]
xor bl, 0xa
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.00405320
mov edx, dword [ebp - 0xc]
mov eax, edi
call fcn.00405400
inc dword [ebp - 8]
dec esi
jne 0x43dbf5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d039
lea eax, [ebp - 0xc]
call fcn.00405138
ret
Function at 0x43f450
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov byte [ebp - 1], dl
mov esi, eax
xor eax, eax
push ebp
push 0x43ea97
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 2], 0
xor ebx, ebx
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
mov eax, esi
call fcn.004055f8
push eax
call fcn.004073f4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x43f4ab
mov byte [ebp - 2], 1
jmp 0x43f67b
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call fcn.00407614
cmp eax, 0xffffffff
je 0x43f4da
push 0
lea eax, [ebp - 8]
push eax
push 0x40
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.004075ec
test eax, eax
je 0x43f4da
mov bl, 1
test bl, bl
jne 0x43f4e7
mov byte [ebp - 2], 1
jmp 0x43f67b
xor ebx, ebx
cmp word [ebp - 0x54], 0x5a4d
je 0x43f4f7
cmp dword [ebp - 8], 0x40
jne 0x43f53a
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.00407614
cmp eax, 0xffffffff
je 0x43f53a
push 0
lea eax, [ebp - 8]
push eax
push 0xf8
lea eax, [ebp - 0x14c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.004075ec
test eax, eax
je 0x43f53a
cmp dword [ebp - 0x14c], 0x4550
jne 0x43f53a
mov bl, 1
test bl, bl
je 0x43f672
xor eax, eax
push ebp
push 0x43ea68
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0043f384
mov dword [ebp - 0x144], eax
call fcn.004036f0
mov eax, 9
call fcn.00403c60
mov word [ebp - 0x108], ax
mov eax, 9
call fcn.00403c60
mov word [ebp - 0x106], ax
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.00407614
cmp eax, 0xffffffff
je 0x43f5bc
push 0
lea eax, [ebp - 8]
push eax
push 0xf8
lea eax, [ebp - 0x14c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.00407634
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 2], al
cmp word [ebp - 0x54], 0x5a4d
je 0x43f5fc
mov word [ebp - 0xe], 0x5a4d
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call fcn.00407614
cmp eax, 0xffffffff
je 0x43f5fc
push 0
lea eax, [ebp - 8]
push eax
push 2
lea eax, [ebp - 0xe]
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.00407634
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 2], al
cmp byte [ebp - 1], 0
je 0x43f65e
mov eax, 0x200
call fcn.00403c60
mov ebx, eax
shl ebx, 4
test ebx, ebx
jle 0x43f65e
push 2
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call fcn.00407614
cmp eax, 0xffffffff
je 0x43f65e
push ebx
lea eax, [ebp - 0x14]
mov ecx, 1
mov edx, dword [0x43e82c]
call fcn.004064e8
add esp, 4
mov edx, ebx
mov eax, dword [ebp - 0x14]
call fcn.004076a8
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.00407634
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43f672
mov eax, dword [ebp - 0xc]
push eax
call fcn.004073cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43ea9e
lea eax, [ebp - 0x14]
mov edx, dword [0x43e82c]
call fcn.004064f4
ret
Function at 0x43fecc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov edi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x43f3c4
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, edi
call fcn.00405138
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
mov eax, esi
call fcn.004055f8
push eax
call fcn.004073f4
mov esi, eax
cmp esi, 0xffffffff
jne 0x43ff39
lea eax, [ebp - 0x14]
call fcn.0043f728
mov edx, dword [ebp - 0x14]
mov eax, edi
call fcn.0040518c
jmp 0x43ffa0
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x43f2a8]
call fcn.004064e8
add esp, 4
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
dec eax
test eax, eax
jb 0x43ff74
inc eax
xor ecx, ecx
mov ebx, dword [ebp - 0x10]
add ebx, ecx
push ebx
mov bl, byte [edx]
xor bl, 0xff
pop edi
mov byte [edi], bl
inc edx
inc ecx
dec eax
jne 0x43ff61
push 0
push 0
push 0
push esi
call fcn.00407614
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
push esi
call fcn.00407634
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call fcn.004073cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43f3cb
lea eax, [ebp - 0x14]
call fcn.00405138
lea eax, [ebp - 0x10]
mov edx, dword [0x43f2a8]
call fcn.004064f4
ret

Function at 0x4447e8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x443c65
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00405138
mov eax, dword [ebp - 4]
call fcn.004053f8
mov esi, eax
test esi, esi
jle 0x44484f
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov bl, byte [eax + edx - 1]
xor bl, byte [ebp - 5]
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00405320
mov edx, dword [ebp - 0x10]
mov eax, edi
call fcn.00405400
inc dword [ebp - 0xc]
dec esi
jne 0x444828
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x443c6c
lea eax, [ebp - 0x10]
call fcn.00405138
ret
Function at 0x403a90
Capabilities:
Encode data using xor

Disassembly:
jmp 0x66928b4d
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x403a41
mov eax, dword [esi - 0x51ff01dc]
mov eax, dword [0xa11874c0]
mov ah, 2
mul edi
test eax, eax
je 0x593c25
dec eax
mov dword [0x4102b4], eax
jmp 0x403c25
mov eax, dword [0x4117f8]
jb 0x403c7a
add al, 0x8d
push ebp
in al, dx
mov dword [ebp - 0x57], 0xf800d9
push edx
push eax
mov ebp, ecx
clc
ret
add byte [ecx - 0x39], dl
inc ebp
cld
and byte [eax], 0
add al, ch
mov eax, 0x8b00004e
lock and dword [ebp + 0xb], 0xf
test byte [esi + eax], al
jo 0x403cb2
add byte [edx + 0xafd68], dh
je 0xba4041eb
mov ebx, 0xafcd9fe
add byte [ebx - 0x7c], bl
in al, dx
pop ds
das
add byte [ecx - 0x4020d02], al
add byte [edi], cl
adc al, 0xe0
add eax, 0xfe810000
and al, 0xfd
or al, byte [eax]
je 0x404297
sbb eax, 0xafca1
je 0x7e4297
cmp esi, 0x144023a2
je 0xd24042d4
push cs
dec ebp
cld
xor edi, edi
cmp ecx, edi
jne 0x403d09
cmp esi, 0x2e117e
jne 0x403d1a
mov edx, dword [0x41e0b4]
push ebx
inc edx
mov dword [0xcfaa6b], edx
call fcn.00403a90
add esp, 4
pop edi
pop esi
inc ebx
mov esp, ebp
pop ebp
ret
out dx, al
je 0x403d8c
mov ecx, dword [0x4102c8]
sbb dword [edx + eax + 0x67], 0
pushal
xlatb
xchg esi, eax
mov dword [0x684102c8], ecx
je 0x403d7b
cmp al, 0x98
and eax, dword [edx]
inc ecx
add byte [ebx + 0x47], dl
mov dword [ecx + 0x4102b8], esi
je 0x403d8d
std
sahf
jmp dword [ecx + 0x4102b0]
push esi
push 0xb71e2a
call fcn.00401e26
mov ecx, dword [ebp - 4]
sbb dword [eax], 0xffffffb5
mov esi, dword [0x4102ba]
xor eax, 0x4102ba
mov edx, dword [0x410294]
add esi, ecx
adc edx, edi
mov dword [0x41021c], esi
mov dword [0x410294], edx
mov eax, dword [ebx - 0x2d]
cmp eax, edi
loop 0x403dc3
call fcn.00406a00
mov ecx, dword [ebp - 4]
mov ebx, 0x84883
add byte [ecx + 0x84c93], cl
add byte [ebp + 0x53], bh
jge 0x403e18
or al, 0xb4
sub dword [eax], 0xffffffd4
add byte [eax], al
add edx, ecx
cmp eax, dword [ebx + 0xf195389]
test eax, eax
add al, byte [eax]
add byte [ebx + 0x820b3], cl
and bh, dl
inc dword [edi]
scasd eax, dword es:[edi]
add byte [edx - 0x3a], ah
rol dword [ebp - 0x10], 1
add al, 4
add byte [eax], al
pop edi
ror dword [edx + 0x372f445], 0x7b
dec ebp
hlt
xchg ebx, eax
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebx + 0xf20820]
mov esp, esi
in al, dx
add edi, edx
mov ecx, edi
mov dword [edx + 0x20], edx
or byte [eax], al
add dh, al
inc esp
sbb dword [eax], esp
push edi
mov eax, dword [0x8c0258]
and edi, eax
add cl, byte [ebp + 0x20c68d12]
shr byte [eax - 0x72], cl
call 0x163f3e88
rcl ecx, 0
add esp, 8
mov edi, dword [edx + 0x6840c138]
lea esi, [ebx + 0x20]
mov al, ch
call 0xff793e9f
aas
add dword [eax + ecx - 0x77], 0x45
clc
test eax, eax
movsx eax, byte [ebp + 0x68000000]
mov ah, 0xdf
inc eax
or dl, byte [esi + 0x74]
xlatb
add eax, 0x4589c29e
clc
push esi
rol bh, 0x45
invalid
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404e00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x47
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
pop edi
jae 0x404e45
push esi
rcr bl, 8
sbb al, 0
mov eax, dword [ebx + 4]
nop
les eax, [eax*4 + 0x6c7c0]
add byte [eax], 0
invalid
push ecx
call 0x4840573b
mov eax, dword [ebx]
jle 0x404ebd
or byte [ebp - 0x74ca8b40], al
push eax
sbb al, 0
call 0xee4048af
mov esi, eax
mul byte gs:[ebx + 6]
push esi
pop edi
push esp
add byte [eax], al
mov dl, 0x43
or al, 0x8b
dec ebx
or byte [ecx + 0x18438b08], cl
cmp dword [eax], 0xfffffffb
je 0x404e7f
cmp al, byte [ebp + 0xc428908]
test esi, esi
je 0x404e89
push esi
call fcn.0040a340
mov esi, dword [ebx + 0xa]
mov edi, dword [ebx + 0x18]
push edi
mov ch, 0x46
push ds
or al, 0
xchg dword [eax], eax
add byte [eax], al
call fcn.00404930
cmp eax, ebx
jne 0x404eaa
push 0xfffffffffffffffe
push ecx
call 0xffc73000
mov eax, dword [edi + 0xc]
xor ebx, ebx
out 0xc0, al
je 0x404eb9
invalid
mov edi, dword [eax + 4]
mov ecx, dword [edi]
mov dword [ebp - 8], edx
mov edx, dword [edi + 8]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 0x2ff84d8b]
jns 0x57cc4718
or byte [ecx - 0x727403b3], cl
mov ecx, dword [ebp - 8]
das
sub dh, ah
mov eax, 0xc93d0846
je 0x404ee0
cmp eax, edi
push cs
xchg esi, eax
insd dword es:[edi], dx
push ds
mov ebx, esi
inc ebx
das
movsb byte es:[edi], byte [esi]
clc
adc al, 0x73
invalid
Function at 0x403304
Capabilities:
Query or enumerate registry value

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

Function at 0x404098
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x457048], 0
je 0x4040f9
cmp word [0x45721c], 0xd7b2
jne 0x4040c1
cmp dword [0x457224], 0
jbe 0x4040c1
mov eax, 0x457218
call dword [0x457234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45506c
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 0x404120
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x455030], 0
jne 0x404115
push 0
push 0x455064
push 0x45506c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405e70
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 0x405ed6
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.0040448c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402ec8
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405ec0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405edd
lea eax, [ebp - 0x10]
call fcn.0040421c
ret

Function at 0x40af70
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 0x40afa9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040430c
jmp 0x40afb2
mov eax, ebx
mov edx, esi
call fcn.00404270
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b674
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b4dc
mov eax, dword [0x45608c]
cmp byte [eax], 0
je 0x40b6f0
mov eax, dword [0x455ea4]
call fcn.00402d34
call fcn.00402bb4
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.00408760
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 0x40b738
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b726
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x455e54]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x457664]
call fcn.004052dc
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 0x40bf94
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 0x40c06a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004042b4
lea eax, [ebp - 8]
call fcn.0040472c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004046dc
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c054
mov eax, ebx
call fcn.00402a28
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c04d
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.004046dc
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c037
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c07c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c037
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 0x40c054
mov eax, dword [ebp - 0x10]
call fcn.00402a58
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c071
lea eax, [ebp - 8]
call fcn.0040421c
ret

Function at 0x40c5d0
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 0x40c634
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.0040448c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408294
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c63b
lea eax, [ebp - 0xc]
call fcn.0040421c
ret

Function at 0x41a804
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x457884
cmp dword [edi], 0
jne 0x41a880
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x457880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4553ec
mov ecx, 2
call fcn.00402c48
mov edx, 0x41a7dc
lea eax, [esi + 5]
call fcn.0041a7fc
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a7fc
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 0x41a855
mov dword [0x457880], 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 0x41bdfc
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 0x41be02
ret
Function at 0x41e2c8
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 0x41e319
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41e300
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41e2f0
jmp 0x41e319
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 0x41e301
pop ebx
mov esp, ebp
pop ebp
ret