joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424e70
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x424fe0
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00422c00
mov eax, dword [esp + 4]
test eax, eax
je 0x424fc9
mov dword [esp + 0xc], eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x18]
nop
inc dword [edx + 0x7c]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x14], ecx
mov dword [esp], eax
call fcn.00420980
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
sub eax, dword [ecx + 0xc]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x24]
movzx ebx, byte [edx + 6]
mov byte [esp + 0xb], bl
lea ebp, [ecx + 0x48]
mov dword [esp + 0x18], ebp
nop
mov dword [esp], ebp
call fcn.00408630
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x4c]
movzx edx, byte [esp + 0xb]
mov ebx, dword [esp + 0x10]
jmp 0x424f07
mov ecx, ebp
mov ebp, dword [ecx]
test ebp, ebp
je 0x424f6d
movzx esi, word [ebp + 4]
cmp esi, ebx
jne 0x424f1c
cmp byte [ebp + 6], dl
je 0x424f27
cmp esi, ebx
ja 0x424f6d
jne 0x424f05
cmp byte [ebp + 6], dl
jbe 0x424f05
jmp 0x424f6d
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00408830
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x424f64
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x424f64
mov dword [eax + 8], 0xfffffade
mov byte [esp + 0x28], 0
add esp, 0x1c
ret
mov edx, dword [esp + 0x24]
mov word [edx + 4], bx
mov ebx, dword [ecx]
mov dword [edx], ebx
mov dword [ecx], edx
mov dword [esp], eax
call fcn.00424d70
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00408830
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x424fc0
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x424fc0
mov dword [eax + 8], 0xfffffade
mov byte [esp + 0x28], 1
add esp, 0x1c
ret
lea eax, [0x48ce59]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.004328b0
nop
call fcn.00459730
jmp fcn.00424e70
Function at 0x425460
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42557c
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 1
je 0x4254f5
cmp cl, 2
je 0x42549d
cmp cl, 3
jne 0x425565
mov byte [eax + 8], 1
jmp 0x425561
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.0042a690
nop
lea eax, [0x507138]
mov dword [esp], eax
call fcn.00408630
nop
mov eax, dword [0x507104]
sub eax, dword [0x5070e8]
mov dword [0x507104], eax
mov eax, dword [0x5070f4]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x5070f4], ecx
nop
lea eax, [0x507138]
mov dword [esp], eax
call fcn.00408830
jmp 0x425561
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov esi, dword [esp + 0x1c]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00411850
nop
lea eax, [0x507138]
mov dword [esp], eax
call fcn.00408630
nop
mov eax, dword [0x5070dc]
sub eax, dword [0x5070c0]
mov dword [0x5070dc], eax
mov eax, dword [0x5070cc]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x5070cc], ecx
nop
nop
lea eax, [0x507138]
mov dword [esp], eax
call fcn.00408830
add esp, 0x14
ret
lea eax, [0x489b7c]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.004328b0
nop
call fcn.00459730
jmp fcn.00425460
Function at 0x44b130
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x44b2b7
sub esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x44b2ad
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
test ebx, ebx
jne 0x44b18c
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x44b18c
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov byte [esp + 0x38], 0
add esp, 0x10
ret
test ebx, 0x80
je 0x44b19f
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0x44b282
mov eax, 1
mov ebp, ebx
and ebx, 1
neg ebx
shr ebp, 1
xor ebx, ebp
mov ebp, dword [esp + 0x24]
add dword [ebp], ebx
cmp ecx, eax
jb 0x44b274
sub ecx, eax
mov ebx, dword [esp + 0x1c]
sub ebx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
lea ebx, [edx + eax]
test ecx, ecx
jbe 0x44b26b
movzx edx, byte [edx + eax]
test edx, 0x80
je 0x44b1f6
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x44b23f
mov eax, 1
cmp eax, ecx
ja 0x44b22d
mov esi, dword [esp + 0x20]
add dword [esi], edx
sub ebp, eax
mov edx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
add ebx, ebp
mov dword [esp + 0x2c], ebx
sub ecx, eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov byte [esp + 0x38], 1
add esp, 0x10
ret
call fcn.0045ac20
lea esi, [ecx + 7]
mov ecx, dword [esp + 8]
mov eax, ebp
mov ebp, dword [esp + 0xc]
cmp eax, ecx
jae 0x44b266
movzx edi, byte [eax + ebx]
lea ebp, [eax + 1]
mov eax, edi
and edi, 0x7f
mov ecx, esi
shl edi, cl
or edx, edi
test al, 0x80
jne 0x44b232
mov ecx, dword [esp + 8]
mov eax, ebp
mov ebp, dword [esp + 0xc]
jmp 0x44b1fb
call fcn.0045abc0
xor eax, eax
mov ecx, eax
call fcn.0045abb0
call fcn.0045ac20
lea ebp, [ecx + 7]
mov ecx, dword [esp + 0x18]
mov eax, edi
cmp ecx, eax
jbe 0x44b2a8
movzx esi, byte [eax + edx]
lea edi, [eax + 1]
mov eax, esi
and esi, 0x7f
mov ecx, ebp
shl esi, cl
or ebx, esi
test al, 0x80
jne 0x44b279
mov ecx, dword [esp + 0x18]
mov eax, edi
jmp 0x44b1a4
call fcn.0045abc0
xor eax, eax
mov ecx, eax
call fcn.0045abb0
nop
call fcn.00459730
jmp fcn.0044b130
Function at 0x44f240
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x44f340
sub esp, 0x28
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x8c], 0
mov dword [eax + 0x90], 0
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x58]
mov dword [eax + 0x94], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
call fcn.0044fad0
mov eax, dword [esp + 4]
mov dword [esp + 0x14], eax
lea ecx, [0x47e1a0]
mov dword [esp], ecx
call fcn.0040a6d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [eax], ecx
lea ecx, [0x5071d0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.0044eac0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x50]
mov ecx, dword [ecx + 0x54]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov byte [esp], 0xd
mov dword [esp + 4], 2
lea eax, [esp + 0x18]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.0044dee0
add esp, 0x28
ret
call fcn.00459730
jmp fcn.0044f240
Function at 0x4528b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45294f
sub esp, 0x30
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.0045ace7
lea ecx, [0x452960]
mov dword [esp + 0xc], ecx
lea ecx, [esp + 4]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0xc]
mov dword [esp], ecx
call fcn.00459620
mov ecx, dword [esp + 4]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.00459730
jmp fcn.004528b0
Function at 0x45a9f0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movd xmm0, dword [esp + 8]
pinsrw xmm0, ebx, 4
pshufhw xmm0, xmm0, 0
movdqa xmm1, xmm0
pxor xmm0, xmmword [0x522dc0]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x4591bb
je 0x45920e
cmp ebx, 0x20
jbe 0x459214
cmp ebx, 0x40
jbe 0x45925a
jmp 0x4592fb
test ebx, ebx
je 0x459204
add eax, 0x10
test ax, 0xff0
je 0x4591f0
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x4a47a0]
pxor xmm1, xmm0
aesenc xmm1, xmm1
aesenc xmm1, xmm1
aesenc xmm1, xmm1
movd dword [edx], xmm1
ret
movdqu xmm1, xmmword [eax + ebx - 0x20]
add ebx, ebx
pshufb xmm1, xmmword [ebx*8 + 0x4a48a0]
jmp 0x4591d8
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x4591d8
pxor xmm1, xmmword [0x522dd0]
aesenc xmm1, xmm1
movdqu xmm2, xmmword [eax]
movdqu xmm3, xmmword [eax + ebx - 0x10]
pxor xmm2, xmm0
pxor xmm3, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
pxor xmm2, xmm3
movd dword [edx], xmm2
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x522dd0]
pxor xmm2, xmmword [0x522de0]
pxor xmm3, xmmword [0x522df0]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax]
movdqu xmm5, xmmword [eax + 0x10]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
pxor xmm4, xmm0
pxor xmm5, xmm1
pxor xmm6, xmm2
pxor xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x522dd0]
pxor xmm2, xmmword [0x522de0]
pxor xmm3, xmmword [0x522df0]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax + ebx - 0x40]
movdqu xmm5, xmmword [eax + ebx - 0x30]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
dec ebx
shr ebx, 6
movdqu xmm0, xmmword [eax]
movdqu xmm1, xmmword [eax + 0x10]
movdqu xmm2, xmmword [eax + 0x20]
movdqu xmm3, xmmword [eax + 0x30]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
add eax, 0x40
dec ebx
jne 0x45935a
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
cmp byte [0x522aed], 0
je 0x45aa0a
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x459180
jmp fcn.00407400
Function at 0x403930
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0x10]
xor eax, eax
cmp edi, 0x10
jb 0x403845
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x20]
shr edi, 4
push esi
mov esi, dword [esp + 0x14]
mov eax, edi
sub ebx, esi
shl eax, 4
mov dword [esp + 0x1c], eax
lea esp, [esp]
push ebp
lea eax, [ebx + esi]
push eax
push esi
call fcn.00404820
add esp, 0xc
add esi, 0x10
sub edi, 1
jne 0x403820
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
pop esi
pop ebp
pop ebx
mov dword [ecx], edx
pop edi
ret
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
pop edi
ret
sub esp, 0x1c
mov eax, dword [0x410034]
xor eax, esp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
push ebp
mov ebp, dword [esp + 0x34]
push esi
mov esi, dword [esp + 0x2c]
xor ecx, ecx
cmp eax, 0x10
push edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0xc], edx
jb 0x403916
shr eax, 4
push ebx
mov ebx, eax
shl eax, 4
mov dword [esp + 0x14], eax
push ebp
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.00404820
add esp, 0xc
xor eax, eax
movzx ecx, byte [eax + 0x441d80]
xor cl, byte [esp + eax + 0x18]
add eax, 4
mov byte [esi], cl
movzx edx, byte [eax + 0x441d7d]
xor dl, byte [esp + eax + 0x15]
add esi, 4
mov byte [esi - 3], dl
movzx ecx, byte [eax + 0x441d7e]
xor cl, byte [esp + eax + 0x16]
mov byte [esi - 2], cl
movzx edx, byte [eax + 0x441d7f]
xor dl, byte [esp + eax + 0x17]
cmp eax, 0x10
mov byte [esi - 1], dl
jl 0x4038a2
mov eax, dword [edi]
mov dword [0x441d80], eax
mov ecx, dword [edi + 4]
mov dword [0x441d84], ecx
mov edx, dword [edi + 8]
mov dword [0x441d88], edx
mov eax, dword [edi + 0xc]
add edi, 0x10
sub ebx, 1
mov dword [0x441d8c], eax
jne 0x403891
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
pop ebx
pop edi
mov dword [edx], ecx
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
xor ecx, esp
call fcn.0040534d
add esp, 0x1c
ret
mov eax, dword [0x410030]
sub eax, 2
je 0x40393f
jmp 0x4037f0
jmp 0x403850

Function at 0x403950
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
lea eax, [ecx + 1]
ret
Function at 0x404660
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0xc]
push ebx
push eax
call fcn.004043c0
add esp, 8
test eax, eax
je 0x40467c
or eax, 0xffffffff
pop ebx
ret
push esi
xor edx, edx
push ebp
lea esi, [edx + 0x28]
lea ecx, [ebx + 0xa8]
lea eax, [ebx + 8]
push edi
lea ecx, [ecx]
mov ebp, dword [ecx - 8]
mov edi, dword [eax - 8]
mov dword [eax - 8], ebp
mov ebp, dword [ecx - 4]
mov dword [ecx - 8], edi
mov edi, dword [eax - 4]
mov dword [eax - 4], ebp
mov ebp, dword [ecx]
mov dword [ecx - 4], edi
mov edi, dword [eax]
mov dword [eax], ebp
mov ebp, dword [ecx + 4]
mov dword [ecx], edi
mov edi, dword [eax + 4]
mov dword [eax + 4], ebp
mov dword [ecx + 4], edi
add edx, 4
sub esi, 4
add eax, 0x10
sub ecx, 0x10
cmp edx, esi
jl 0x404690
pop edi
lea eax, [ebx + 1]
mov ecx, 9
pop ebp
jmp 0x4046e0
movzx edx, byte [eax + 0x11]
movzx edx, byte [edx + str.cw]
mov edx, dword [edx*4 + 0x40d5e0]
movzx esi, byte [eax + 0x12]
movzx esi, byte [esi + str.cw]
xor edx, dword [esi*4 + 0x40d1e0]
add eax, 0x10
movzx esi, byte [eax - 1]
movzx esi, byte [esi + str.cw]
xor edx, dword [esi*4 + 0x40dde0]
movzx esi, byte [eax]
movzx esi, byte [esi + str.cw]
xor edx, dword [esi*4 + 0x40d9e0]
movzx esi, byte [eax + 4]
mov dword [eax - 1], edx
movzx esi, byte [esi + str.cw]
movzx edx, byte [eax + 5]
movzx edx, byte [edx + str.cw]
mov edx, dword [edx*4 + 0x40d5e0]
xor edx, dword [esi*4 + 0x40d9e0]
movzx esi, byte [eax + 6]
movzx esi, byte [esi + str.cw]
xor edx, dword [esi*4 + 0x40d1e0]
movzx esi, byte [eax + 3]
movzx esi, byte [esi + str.cw]
xor edx, dword [esi*4 + 0x40dde0]
movzx esi, byte [eax + 8]
mov dword [eax + 3], edx
movzx esi, byte [esi + str.cw]
movzx edx, byte [eax + 9]
movzx edx, byte [edx + str.cw]
mov edx, dword [edx*4 + 0x40d5e0]
xor edx, dword [esi*4 + 0x40d9e0]
movzx esi, byte [eax + 0xa]
movzx esi, byte [esi + str.cw]
xor edx, dword [esi*4 + 0x40d1e0]
movzx esi, byte [eax + 7]
movzx esi, byte [esi + str.cw]
xor edx, dword [esi*4 + 0x40dde0]
movzx esi, byte [eax + 0xc]
mov dword [eax + 7], edx
movzx edx, byte [eax + 0xd]
movzx edx, byte [edx + str.cw]
movzx esi, byte [esi + str.cw]
mov edx, dword [edx*4 + 0x40d5e0]
xor edx, dword [esi*4 + 0x40d9e0]
movzx esi, byte [eax + 0xe]
movzx esi, byte [esi + str.cw]
xor edx, dword [esi*4 + 0x40d1e0]
movzx esi, byte [eax + 0xb]
movzx esi, byte [esi + str.cw]
xor edx, dword [esi*4 + 0x40dde0]
sub ecx, 1
mov dword [eax + 0xb], edx
jne 0x4046e0
pop esi
xor eax, eax
pop ebx
ret
Function at 0x5a3890
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x14f000]
push edi
jmp 0x5a38aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5a38b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5a38a0
mov eax, 1
add ebx, ebx
jne 0x5a38c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5a38d4
jne 0x5a38f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5a38f3
dec eax
add ebx, ebx
jne 0x5a38e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5a38b8
add ebx, ebx
jne 0x5a38ef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5a3945
xor ecx, ecx
sub eax, 3
jb 0x5a390b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5a397a
sar eax, 1
mov ebp, eax
jmp 0x5a3916
add ebx, ebx
jne 0x5a3916
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5a38e4
inc ecx
add ebx, ebx
jne 0x5a3924
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5a38e4
add ebx, ebx
jne 0x5a3931
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5a3926
jne 0x5a3942
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5a3926
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5a3964
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5a3956
jmp 0x5a38a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5a3964
add edi, ecx
jmp 0x5a38a6
pop esi
mov edi, esi
mov ecx, 0x3ed9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5a3982
cmp byte [edi], 0x11
jne 0x5a3982
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 0x5a3987
lea edi, [esi + 0x19c000]
mov eax, dword [edi]
or eax, eax
je 0x5a39ff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x270ac0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x270c3c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5a39b4
mov ecx, edi
jns 0x5a39e3
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 + 0x270c40]
or eax, eax
je 0x5a39f9
mov dword [ebx], eax
add ebx, 4
jmp 0x5a39d1
call dword [esi + 0x270c50]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x5a3a30
cmp al, 0xef
ja 0x5a3a23
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5a3a05
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5a3a12
mov ebp, dword [esi + 0x270c44]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x5a3a64
sub esp, 0xffffff80
jmp 0x425f74
Function at 0x405e04
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 0x405e6a
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.00404450
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402ea4
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405e54
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405e71
lea eax, [ebp - 0x10]
call fcn.004041e0
ret

Function at 0x40ae38
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 0x40ae71
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004042d0
jmp 0x40ae7a
mov eax, ebx
mov edx, esi
call fcn.00404234
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b53c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b3a4
mov eax, dword [0x44f014]
cmp byte [eax], 0
je 0x40b5b8
mov eax, dword [0x44ee3c]
call fcn.00402d10
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.00408628
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 0x40b600
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b5ee
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x44edec]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x450664]
call fcn.00405270
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