joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44b77b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x45f1c0]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x44b7bb
cmp byte [ebx], 0xa
jne 0x44b7bb
or byte [edi + eax + 0x28], 4
jmp 0x44b7c0
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x44b8bf
mov dl, byte [eax]
cmp dl, 0x1a
je 0x44b8a2
inc eax
cmp dl, 0xd
je 0x44b7ec
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x44b812
cmp eax, ecx
jae 0x44b820
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x44b7d4
jmp 0x44b8bf
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44b89d
cmp dword [ebp - 0x10], 0
je 0x44b89d
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x45f1c0]
test byte [eax + edi + 0x28], 0x48
je 0x44b877
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x44b862
mov byte [esi], dl
jmp 0x44b873
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x45f1c0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x44b8bf
cmp byte [ebp - 1], 0xa
jne 0x44b886
cmp esi, ebx
jne 0x44b886
mov byte [esi], 0xa
jmp 0x44b8be
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0044b6eb
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x44b8bf
mov byte [esi], 0xd
jmp 0x44b8be
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x45f1c0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x44b8bc
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x44b8bf
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x44b8c8
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x45f1c0]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x44b90e
cmp word [ebx], dx
jne 0x44b90e
or byte [eax + edi + 0x28], 4
jmp 0x44b913
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x44ba76
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x44ba56
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x44b954
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x44b98a
cmp eax, edx
jae 0x44b998
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x44b92f
jmp 0x44ba76
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44ba51
cmp dword [ebp - 0x18], 0
je 0x44ba51
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x45f1c0]
test byte [eax + edi + 0x28], 0x48
je 0x44ba27
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x44b9eb
mov word [esi], cx
jmp 0x44ba22
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x45f1c0]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x45f1c0]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x45f1c0]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x44ba76
pop eax
cmp word [ebp - 4], ax
jne 0x44ba37
cmp esi, ebx
jne 0x44ba37
mov word [esi], ax
jmp 0x44ba73
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0044b6eb
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x44ba76
push 0xd
pop eax
jmp 0x44ba32
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x45f1c0]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x44ba70
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x44ba76
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x44cbc5
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.0044cb41
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x44cd34
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x44cd34
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x44cce9
jg 0x44cc21
test eax, eax
je 0x44ccdf
push 1
push 0x1000
call fcn.00446062
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x44cc44
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x44ccd6
push 0x8000
push ebx
call fcn.0044210f
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x44cc6d
jg 0x44cc68
cmp ecx, 0x1000
jb 0x44cc6d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00445b02
add esp, 0x10
cmp eax, 0xffffffff
je 0x44ccb2
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x44cc68
jl 0x44cc99
test ecx, ecx
jne 0x44cc5a
push dword [ebp - 0xc]
push ebx
call fcn.0044210f
push esi
call fcn.00443371
add esp, 0xc
xor ebx, ebx
jmp 0x44cd42
cmp byte [edi + 0x24], 0
je 0x44ccc9
cmp dword [edi + 0x20], 5
jne 0x44ccc9
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x44ccd4
mov ebx, dword [edi + 0x18]
jmp 0x44ccd6
xor ebx, ebx
push esi
call fcn.00443371
pop ecx
jmp 0x44cd42
test ecx, ecx
jg 0x44ccab
jl 0x44cce9
test eax, eax
jae 0x44ccab
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0044b6eb
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x44cd09
cmp byte [edi + 0x1c], 0
je 0x44ccab
jmp 0x44cd3a
push ebx
call fcn.00447b29
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x44ccab
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x44cd42
cmp byte [edi + 0x1c], 0
je 0x44cd3f
mov ebx, dword [edi + 0x18]
jmp 0x44cd42
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0044b6eb
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x346f115
Capabilities:
Encode data using xor

Disassembly:
or eax, 0x163f1209
lahf
cld
movzx eax, word [esi + 0x30244c88]
invalid
test dh, ah
mov byte [esp + 0x30], cl
invalid
xor byte [eax - 0xa8ff8ec], cl
mov byte [edi + eax], dl
jo 0x346f110
dec ebp
xor byte [edx + 1], ch
push ecx
add al, 0x22
js 0x346f107
arpl word [eax], ax
loopne 0x346f12a
mov word [ebx - 0x61d039ae], ax
mov dword [ebx - 0x61d039ae], eax
invalid

Function at 0x365ad9d
Capabilities:
Packed with generic packer

Disassembly:
fist word [eax - 0x5c]
push eax
movsb byte es:[edi], byte [esi]
push 0x1e
push 0x29d
call 0x56cff2a0
push 0x53
push 0xbbddb114
ror byte [ebx], cl
push 0x29
push 0xd4e806a8
cmp ecx, dword [edx]
cli
mov dword [edi - 0x4c], esi
jp 0x365ada7
mov eax, 0x88b8822b
mov ebx, 0x2fb80c06
dec eax
js 0x365add2
adc byte [edx], cl
sar byte [ebp + 0x37], 0xf0
push eax
call 0x4eeaa8b6
push 0x44b2319e
jbe 0x365adee
add dword [eax - 0x48], esi
jo 0x365ad9a
inc esi
push 0x33c0e824
mov esi, 0x831defdf
les ecx, [eax]
call 0x77a4da0c
jbe 0x365ada7
or al, ch
sbb byte [edi + edi], ch
je 0x365ae6b
mov cl, 0x71
push cs
jno 0x365ae06
test al, 0xcf
and bh, bl
jne 0x365ae67
mov cl, 0x64
pop esp
push edi
invalid
idiv dword [eax]
rol dword [eax], 0x89
stosd dword es:[edi], eax
jmp 0x365ae53
mov ebp, 0x8b051924
jbe 0x365ad9b
inc eax
cdq
xor dl, byte [eax]
mov byte [esi + ebp*8 - 0x23], dh
inc ebx
push ss
test byte [edi], al
push 0x5eb7758
push 0x7f140648
mov al, 0xd9
call 0x88582c78
jle 0x365ae3c
add byte [eax], al
fld dword [ebp - 3]
inc ebp
std
add byte [0xcc94d11b], 0xff
fstp dword [eax]
in eax, 0x5e
or dword [ecx + ebx*2 - 0x6b], esi
pop ss
jno 0x365aecc
mov edi, 0xf71b2280
sbb esi, edi
stc
adc ecx, ebx
dec dword [edi + esi*4]
jae 0x365aea6
cmc
call 0x5777cd9c
and al, 0x19
push ebx
push edx
mov al, dl
invalid
clc
pop esp
and al, 0x20
call 0x744df4c9
js 0x365ae13
inc esp
and al, 0xdb
test byte [ebx + 0x5b940a08], ah
push 0x8a1b8a28
sbb al, 0xee
sbb dword ss:[ecx], eax
adc byte [0x4df0045d], cl
jg 0x365aee9
xor edi, edi
inc ebx
mov esi, 0xc0e9087
jl 0x365aedf
push ss
adc byte [ecx + 0x56], dl
call 0x197c41a
xchg ecx, eax
stosb byte es:[edi], al
xchg dword [ebp + 0x471dd9a3], edx
push edi
push ebx
inc edx
push edx
push 0x383ae10c
cld
cmpsd dword ds:[esi], dword es:[edi]
into
enter 0x6e10, 0xffffffffffffff88
add esi, dword [edi]
jno 0x365aedb
in al, 0x50
mov dword [0xe48bbd7c], eax
ja 0x365af2c
clc
push eax
add eax, 0x87653dbd
sbb dl, byte [eax]
jl 0x365ae76
je 0x365aef7
mov al, byte [0xa2268dc]
and cl, byte [edx]
cmc
call 0x43ce08fd
sbb bl, byte [edx + 0x68]
inc eax
invalid
ret
or byte [edi], bh
cld
inc eax
call 0xbc07d8d5
clc
mov edx, 0xb106e4e2
arpl ax, si
adc dl, ah
sti
clc
sub eax, 0xfffffff3
and dword [edx], ebp
pop ss
sti
div dword [eax + ebp - 0x7d]
test dword [ebx - 0x38e08601], esp
or byte [eax - 0x32], cl
mov bx, 0xbf49
sal byte [edi], 1
call 0x40e6dff5
pushal
mov cl, 0x87
sbb ecx, esi
call 0x8ea448cd
das
fcomp qword [ecx + 0x40fbf7fb]
push eax
push 0xcdcd2cb8
invalid
Function at 0x3ba4000
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.sect_1
lea edi, [esi - 0x3036000]
push edi
or ebp, 0xffffffff
jmp 0x3ba4022
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x3ba4029
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x3ba4018
mov eax, 1
add ebx, ebx
jne 0x3ba403b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x3ba4030
jne 0x3ba404c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x3ba4030
xor ecx, ecx
sub eax, 3
jb 0x3ba4060
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x3ba40d2
mov ebp, eax
add ebx, ebx
jne 0x3ba406b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x3ba4078
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x3ba409c
inc ecx
add ebx, ebx
jne 0x3ba4088
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x3ba407d
jne 0x3ba4099
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x3ba407d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x3ba40bc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x3ba40ad
jmp 0x3ba401e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x3ba40bc
add edi, ecx
jmp 0x3ba401e
pop esi
lea edi, [esi + 0x37a1000]
mov eax, dword [edi]
or eax, eax
je 0x3ba411b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x37a55ac]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x37a5738]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x3ba40d9
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x37a5740]
or eax, eax
je 0x3ba4115
mov dword [ebx], eax
add ebx, 4
jmp 0x3ba40f6
call dword [esi + 0x37a573c]
mov ebp, dword [esi + 0x37a5744]
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 0x3ba414f
sub esp, 0xffffff80
jmp 0xaf2471
Function at 0x405e7c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x4229f4], esi
push edi
jne 0x405eb6
mov ecx, 0x4229f0
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x405e92
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x422df0
jl 0x405e8d
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x405eeb
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4229f0]
xor eax, esi
inc ecx
dec edx
jne 0x405ece
pop edi
pop esi
not eax
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43201e
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x403304
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x46d020]
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 [0x46d020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x46d020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404098
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x46f048], 0
je 0x4040f9
cmp word [0x46f21c], 0xd7b2
jne 0x4040c1
cmp dword [0x46f224], 0
jbe 0x4040c1
mov eax, 0x46f218
call dword [0x46f234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46d06c
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 [0x46d030], 0
jne 0x404115
push 0
push 0x46d064
push 0x46d06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405e9c
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 0x405f02
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 0x405eec
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405f09
lea eax, [ebp - 0x10]
call fcn.0040421c
ret

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

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

Function at 0x40ba2c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b894
mov eax, dword [0x46e2c0]
cmp byte [eax], 0
je 0x40baa8
mov eax, dword [0x46e0c0]
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.00408a30
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 0x40baf0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bade
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x46e068]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x46f664]
call fcn.00405308
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 0x40c34c
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 0x40c422
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 0x40c40c
mov eax, ebx
call fcn.00402a28
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c405
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 0x40c3ef
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c434
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c3ef
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 0x40c40c
mov eax, dword [ebp - 0x10]
call fcn.00402a58
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c429
lea eax, [ebp - 8]
call fcn.0040421c
ret

Function at 0x40ca08
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 0x40ca6c
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.00408564
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ca73
lea eax, [ebp - 0xc]
call fcn.0040421c
ret
Function at 0x41ae80
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
lea ebx, [ebp - 0xc]
mov esi, 0x46f884
cmp dword [esi], 0
jne 0x41af26
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x46f880]
mov dword [eax], edx
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x46d3ec
mov ecx, 2
call fcn.00402c48
mov edx, 0x41ae58
mov eax, dword [ebp - 8]
add eax, 5
call fcn.0041ae78
mov edx, dword [ebp - 8]
mov dword [edx + 6], eax
mov eax, dword [ebp - 8]
add eax, 0xa
mov dword [ebx], eax
mov eax, dword [ebx]
mov byte [eax], 0xe8
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, dword [ebx]
call fcn.0041ae78
mov edx, dword [ebx]
mov dword [edx + 1], eax
mov eax, dword [ebx]
mov edx, dword [esi]
mov dword [eax + 5], edx
mov eax, dword [ebx]
mov dword [esi], eax
add dword [ebx], 0xd
mov eax, dword [ebx]
sub eax, dword [ebp - 8]
cmp eax, 0xffc
jl 0x41aeed
mov eax, dword [ebp - 8]
mov dword [0x46f880], eax
mov eax, dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [ebx]
mov eax, dword [eax + 5]
mov dword [esi], eax
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x41c4dc
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 0x41c4e2
ret

Function at 0x41ead4
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 0x41eb25
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41eb0c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41eafc
jmp 0x41eb25
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 0x41eb0d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x435f98
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004046cc
xor eax, eax
push ebp
push 0x4360c8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x43609b
xor eax, eax
push ebp
push 0x436094
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004044dc
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x436069
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x436058
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004044dc
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004046dc
mov edx, dword [ebp - 0xc]
pop ecx
call fcn.00402c48
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 0x43605f
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x46e00c]
mov dl, 1
mov eax, dword [0x407244]
call fcn.0040bbb0
call fcn.00403c30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4360cf
lea eax, [ebp - 4]
call fcn.0040421c
ret