joyce8/EMBER2024-capa huggingface dataset:
Function at 0x64639e4b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x64639e6d
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x64639e6d
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x64639e6d
ret
cmp word [ebx + 4], 0x14c
jne 0x64639e6d
test word [ebx + 0x16], 2
je 0x64639e6d
test word [ebx + 0x16], 0x100
je 0x64639e6d
cmp word [ebx + 0x18], 0x10b
jne 0x64639e6d
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x64639e6d
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x64639ef9
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x64639e8d
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.64620dd8
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x64639e6d
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x64639ef9
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x64639e6d
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x64639e6d
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x64639e6d
ret
cmp word [ebx + 4], 0x14c
jne 0x64639e6d
test word [ebx + 0x16], 2
je 0x64639e6d
test word [ebx + 0x16], 0x100
je 0x64639e6d
cmp word [ebx + 0x18], 0x10b
jne 0x64639e6d
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x64639e6d
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x64639ef9
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x64639e8d
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.64620dd8
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x64639e6d
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x64639fb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x6463a009
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x64639fb0
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x64639fbf
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x64a3fc62
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x6463a010
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.64620e86
cmp eax, dword [ebp + 0xc]
pop eax
je 0x6463a0af
add edi, 4
add eax, 2
dec ecx
jne 0x64639ff5
call 0x6463a05c
loope 0x6463a052
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x6463a0ac
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x6463a0bd
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x6463a070
cmp eax, ecx
ja 0x6463a070
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x6463a0fa
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x6463a0f0
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.64621365
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x64639fbf
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x6463a009
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x64639fb0
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x64639fbf
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x64a3fc62
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x6463a010
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.64620e86
cmp eax, dword [ebp + 0xc]
pop eax
je 0x6463a0af
add edi, 4
add eax, 2
dec ecx
jne 0x64639ff5
call 0x6463a05c
loope 0x6463a052
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x6463a0ac
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x6463a0bd
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x6463a070
cmp eax, ecx
ja 0x6463a070
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x6463a0fa
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x6463a0f0
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.64621365
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x4e5466
Capabilities:
Encode data using xor

Disassembly:
mov al, byte [edi + eax]
movzx edx, al
mov ebx, edx
mov dword [esp + 0x24], edx
sub ebx, ecx
cmp edi, dword [esp + 0x20]
jl 0x4e53ef
or ebx, 0xffffffff
jmp 0x4e5405
mov edx, dword [esp + 0x1c]
cmp al, byte [edi + edx + 1]
jne 0x4e54e0
test ebx, ebx
je 0x4e54e0
mov eax, ebx
mov ecx, edi
cdq
sub ecx, esi
xor eax, edx
dec ecx
sub eax, edx
mov dword [esp + 0x10], ecx
cmp eax, 1
jne 0x4e54c6
mov eax, dword [esp + 0x18]
cdq
xor eax, edx
sub eax, edx
cmp eax, 1
jg 0x4e54c6
test ecx, ecx
jle 0x4e54c6
lea eax, [ebx + ebp]
mov edx, ebx
mov dword [esp + 0x18], edx
test eax, eax
jne 0x4e548e
cmp esi, edi
jge 0x4e54d4
xor ebp, ebp
nop dword [eax]
mov eax, ebp
cdq
idiv ecx
add eax, 0xff
cdq
xor eax, edx
sub eax, edx
test ebx, ebx
fstp xword [ecx + 0xd]
fstp xword [ecx + 0xd]
mov ecx, 0xff
sub ecx, eax
mov eax, ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
sub ebp, 0x1fe
mov byte [esi + edx], al
inc esi
cmp esi, edi
jl 0x4e5456
mov edx, dword [esp + 0x18]
jmp 0x4e54d4
cmp ebp, ebx
jne 0x4e54d4
cmp esi, edi
jge 0x4e54d4
xor ebp, ebp
mov eax, ebp
cdq
idiv ecx
test ebx, ebx
jns 0x4e54ae
mov ecx, 0xff
sub ecx, eax
mov eax, ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add ebp, 0xff
mov byte [esi + edx], al
inc esi
cmp esi, edi
jl 0x4e5498
mov edx, dword [esp + 0x18]
jmp 0x4e54d4
xor edx, edx
test ebx, ebx
setg dl
lea edx, [edx*2 - 1]
mov ecx, dword [esp + 0x24]
mov ebp, edx
mov dword [esp + 0x18], ebx
mov esi, edi
mov eax, dword [esp + 0x1c]
inc edi
cmp edi, dword [esp + 0x2c]
jl 0x4e53d6
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x18
ret
Function at 0x5814d6
Capabilities:
Encode data using xor

Disassembly:
pop edi
push dword [edx]
sub byte [eax], bl
fsubp st(1)
lds edx, [ebx]
adc dword [eax - 0x20], edx
push ebx
sub dword [edx + 0x7265baed], 0x41
cmp eax, 0xd2b48301
aam 0xe3
or dword [eax - 0x2ef64dce], 0x47690376
adc byte [esi + 0x73], dh
push cs
cmp byte [0xf439735d], bh
sbb eax, dword [ebx - 0xedfb7fe]
adc dl, byte [ecx]
mov ebp, 0x12aae301
mov eax, dword [0xd92f4da]
sbb eax, 0x1b2e9f49
xor esi, dword [edx]
inc ebx
sal cl, cl
sbb esi, dword [ebx]
xor al, byte [ebx - 0x2e]
int1
add esp, dword [eax]
in al, dx
rol dword [eax - 0x4cb6b962], cl
mov dword [0x1d6ea13a], eax
mov ah, 0x68
cld
xchg edx, eax
xor byte [ecx - 0x76], dl
jecxz 0x58146a
shl edx, 0x31
dec esp
sbb eax, 0xec6e75a
xor dword [edx + 0x10], ecx
jb 0x5813cf
invalid
xlatb
inc ebx
out dx, al
xchg ebp, eax
loope 0x5813d4
mov word [esi], es
jne 0x58147a
cmpsb byte cs:[esi], byte es:[edi]
cmpsb byte [esi], byte es:[edi]
xchg ah, dh
mov word [ebx - 0x292d429b], fs
push 0xb8b0216
cld
jo 0x5814a2
inc edx
loopne 0x58143a
jo 0x581415
mov byte [edi], ch
mov word [edx + 0x60], es
mov bh, byte [edi - 0x8687f47]
invalid
adc byte [edi - 0x55182609], 0x9d
out 0xaa, eax
popfd
dec ebx
cmpsd dword [esi], dword es:[edi]
ja 0x58144b
adc eax, 0xad7eceef
lodsd eax, dword [esi]
mov ebx, 0x38d03b0d
int1
lea esi, [ecx - 0x26fcb6e9]
xchg ebp, eax
fdecstp
fistp dword [edx]
loop 0x581460
mov byte [0x4d6c165b], al
sub al, 2
add dword [ecx], eax
pop ss
jae 0x5814ed
jg 0x58144b
add eax, 0x8e7b4236
mov cl, 0x84
shl ecx, 0xea
or eax, 0x1020c27e
sbb eax, 0xd5ac1c03
sar dword [ebp - 0x5d785c6e], cl
xor dl, byte [eax]
sar dword [bp + si - 0x4a], 0xf8
jp 0x581473
clc
xor al, 0x5b
mov word [ecx + eax - 0x7b], ds
fdivr st(4)
and dword [ebx - 0x6153c037], ebx
mov al, 0xe7
cli
sub cl, byte [edx + esi*2]
add eax, edx
aam 0x94
or al, byte [ecx]
push esp
xor al, byte [ecx + 0x52]
aas
imul edi, esp, 0x7a
push es
loope 0x58146e
inc edi
mov al, byte [0xb6c2aa23]
mov dl, 0x91
cmp byte [ebx + ecx*8], dl
mov dl, 0x82
sub eax, 0xb7c19ca1
add dword [esp + ecx], edi
push 0x6a
lahf
sbb esp, dword [esi + esi*4]
lodsb al, byte [esi]
sub dword [esi + 0x7f], 0x403d31a8
jno 0x5814bb
retf
sub byte [ebp - 0xae8fdfe], ch
sbb edx, esi
scasb al, byte es:[edi]
mov bh, 0x65
and cl, byte [ebx + edx]
das
push edx
inc ecx
push 0x59
push esp
push ebx
adc dword [edx + 0x7a], ebx
sbb byte [eax], 0xf6
pushfd
mov al, 0x43
add eax, 0x59b29983
clc
jecxz 0x581576
loope 0x5814e4
jns 0x581568
jbe fcn.005814d6
xor eax, 0x710d211a
loope 0x581598
or eax, 0xe65de171
rol esi, 1
out 0x36, al
rol esi, 1
push edx
add dl, byte [esi - 0x68]
or esi, ebx
fmul qword [esi - 0x1b]
invalid
inc eax
mov cl, 0x98
xor al, 0xf1
mov dl, 0xf3
ja 0x581537
xor al, dh
inc edx
and esp, dword [edx + 0x52f04efb]
jae 0x58150e
sti
dec esi
invalid
invalid
imul dword [esi - 0x26]
push edx
popfd
jo 0x5815d2
push ecx
test dl, ah
loope 0x5815c3
adc dword [ebx - 0x3f3e487b], 0x39
xchg edx, eax
int3
in eax, dx
les edi, [esi - 0x33]
popfd
mov dh, al
adc dword [edi], ebx
mov edx, 0x14b7fcab
lcall 0x2acb, 0xccdfaf50
inc ebx
mov dh, 0xda
invalid
push eax
scasd eax, dword es:[edi]
invalid
Function at 0x5d0306
Capabilities:
Encode data using xor

Disassembly:
out 0xb8, eax
jmp 0x5d0387
sar dword [ebx], 1
sbb ah, ah
mov cl, 0xa9
dec esp
loop 0x5d03b3
push ebp
outsd dx, dword [esi]
push eax
jnp 0x5d03e1
mov dword [ebx], esp
or edi, dword [ecx + 0x5d]
add bl, bh
xor eax, 0xd88085ab
and ah, byte [edx + 0x47dc8514]
xor byte [eax + 0x6b], dl
loope 0x5d0392
imul esp, ecx, 0xffffffe6
inc esp
push ecx
out 0xf3, eax
adc al, cl
nop
jbe 0x5d03fe
or dword [ebp - 0x330e9e3d], 0xffffffb5
imul ebp, dword [edi + 0x7e], 0xfca218ee
daa
push esi
push 0x5d
out dx, al
sbb byte [edx + 0x6a5627fc], ah
pop ebp
jae 0x5d0448
adc byte [ecx], ah
jg 0x5d03a9
push ebx
xor ebx, dword [esi]
or ecx, esi
aas
xor byte [esi - 0x3a], 0x6d
je 0x5d0392
inc ebx
mov esp, 0x9a630901
mov ch, byte [ebx]
dec esp
ja 0x5d045c
sub ecx, dword [edi + esi*2 + 0x77]
invalid
loopne 0x5d039c
xor dword [ebp + 0x7f], 0xffffffc2
or ebp, dword [eax - 0x4d]
ret 0xc04a
wait
cmp dword [esi - 0x10], edx
in eax, dx
popal
mov ss, word [ecx - 0x44]
das
jnp 0x5d03bf
bound edi, qword [ecx]
movsd dword es:[edi], dword [esi]
pop ecx
xor eax, 0xe9b003b7
int1
cmp eax, 0x7f109ee
std
mov dh, byte [ecx]
retf 0xe816
jno 0x5d0433
push 0xffffffffffffff9e
invalid

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

Disassembly:
pushal
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x403940
Capabilities:
Query or enumerate registry value

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

Function at 0x4046f8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4a604c], 0
je 0x404759
cmp word [0x4a6220], 0xd7b2
jne 0x404721
cmp dword [0x4a6228], 0
jbe 0x404721
mov eax, 0x4a621c
call dword [0x4a6238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4a4070
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 0x404780
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4a4030], 0
jne 0x404775
push 0
push 0x4a4068
push 0x4a4070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4048b4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402b08
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4a604d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x40487c
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406954
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 0x4069ba
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.00404b70
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403344
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4069a4
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4069c1
lea eax, [ebp - 0x10]
call fcn.00404900
ret

Function at 0x40c254
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 0x40c28d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004049f0
jmp 0x40c296
mov eax, ebx
mov edx, esi
call fcn.00404954
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40d2e4
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 0x40d3ba
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404998
lea eax, [ebp - 8]
call fcn.00404e10
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404dc0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d3a4
mov eax, ebx
call fcn.00402b08
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d39d
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.00404dc0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d387
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d3cc
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d387
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 0x40d3a4
mov eax, dword [ebp - 0x10]
call fcn.00402b38
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d3c1
lea eax, [ebp - 8]
call fcn.00404900
ret
Function at 0x40d9a0
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 0x40da04
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.00404b70
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409204
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40da0b
lea eax, [ebp - 0xc]
call fcn.00404900
ret

Function at 0x422a58
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4a688c
cmp dword [edi], 0
jne 0x422ad4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4a6888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4a450c
mov ecx, 2
call fcn.00402d28
mov edx, 0x422a30
lea eax, [esi + 5]
call fcn.00422a50
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00422a50
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 0x422aa9
mov dword [0x4a6888], 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 0x4240b0
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 0x4240b6
ret

Function at 0x4266b0
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 0x426701
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4266e8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4266d8
jmp 0x426701
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 0x4266e9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x431ff4
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.00404db0
xor eax, eax
push ebp
push 0x432122
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4320f5
xor eax, eax
push ebp
push 0x4320ee
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404bc0
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4320c3
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 0x4320b2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404bc0
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404dc0
mov edx, ebx
pop ecx
call fcn.00402d28
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 0x4320b9
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4a5438]
mov dl, 1
mov eax, dword [0x407e90]
call fcn.0040cb00
call fcn.00404274
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432129
lea eax, [ebp - 4]
call fcn.00404900
ret
Function at 0x432130
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4322e1
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404fb0
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x4322f8
call fcn.00404c0c
mov eax, ebx
call fcn.00421fec
mov edi, eax
dec edi
test edi, edi
jl 0x4321e8
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00421fc0
mov edx, dword [0x4521f8]
call fcn.00403c6c
test al, al
je 0x4321e4
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00421fc0
lea edx, [ebp - 0x14]
call fcn.0045ea38
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404fb0
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404c80
inc esi
dec edi
jne 0x432196
mov al, byte [0x4322fc]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x432308
mov eax, dword [ebp - 0xc]
call fcn.0040df7c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404998
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0045ea38
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x4322f8
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.0045ea38
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x4322f8
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x4322f8
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x432314
call fcn.00409e10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4322e8
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404924
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404924
lea eax, [ebp - 0x14]
call fcn.00404900
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404924
ret

Function at 0x458f04
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 0x458e50
call sub.user32.dll_EnumWindows
ret