joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409a30
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x409bf0
sub esp, 0x34
mov eax, dword [esp + 0x38]
cmp eax, 0x7000000
jle 0x409bd5
mov eax, 0x7000000
mov dword [esp + 0x38], eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
nop
mov edx, dword [ecx + 0x90]
mov ebx, dword [ecx + 0x94]
mov dword [ecx + 0x90], ebx
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
mov dword [ecx + 0x94], ebp
lea ecx, [ebp + ebx]
and ecx, 0x3ffffff
inc ecx
mov dword [esp], ecx
call fcn.0044a970
nop
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x24], xmm0
mov eax, dword [esp + 0x28]
mov ecx, eax
shr eax, 0x14
and eax, 0x7ff
mov edx, eax
add eax, 0xfffffc01
mov ebx, ecx
shr ecx, 0xf
and ecx, 0x1f
mov ebp, ecx
add ecx, 1
mov esi, 0
adc esi, 0
nop
mov edi, dword [esp + 0x24]
shr edi, 0x1b
shl ebx, 5
or edi, ebx
test esi, esi
jne 0x409be9
cmp ecx, 0x21
jae 0x409be9
mov dword [esp + 0x10], edi
lea ebx, [0x5a4000]
movsd xmm0, qword [ebx + ebp*8]
movsd qword [esp + 0x14], xmm0
movsd xmm1, qword [ebx + ecx*8]
movsd qword [esp + 0x1c], xmm1
mov dword [esp], eax
add edx, 0xfffffc01
mov eax, 0xffffffff
adc eax, 0
mov dword [esp + 4], eax
call fcn.00445b90
mov eax, dword [esp + 0x10]
and eax, 0xfffff
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x2c], xmm0
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00445c80
movsd xmm0, qword [esp + 0x2c]
movsd xmm1, qword [esp + 0x14]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x1c]
subsd xmm2, xmm1
mulsd xmm2, qword [esp + 8]
movsd xmm1, qword [0x50d620]
mulsd xmm1, xmm2
addsd xmm0, xmm1
movsd xmm1, qword [0x50d678]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x409bb0
xorps xmm0, xmm0
mov eax, dword [esp + 0x38]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x50d6a0]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x3c], eax
add esp, 0x34
ret
test eax, eax
jne 0x409a5d
mov dword [esp + 0x3c], 0
add esp, 0x34
ret
call fcn.004253a0
ud2
call fcn.00449270
jmp fcn.00409a30
Function at 0x411e10
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41201b
sub esp, 0x18
mov eax, dword [0x5c2418]
test eax, eax
jne 0x412003
lea eax, [0x5c2404]
mov dword [esp], eax
call fcn.00407a10
mov eax, dword [0x5b202c]
test eax, eax
je 0x411e5c
cmp dword [eax + 8], 0xcc
jne 0x411f23
mov eax, dword [0x5b2024]
test eax, eax
jne 0x411f05
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x5c3a18]
mov dword [esp + 8], eax
call fcn.00409c00
mov eax, dword [esp + 0xc]
mov dword [0x5b2024], eax
mov ecx, dword [0x5b2000]
mov dword [eax], ecx
mov eax, dword [0x5b2024]
mov dword [0x5b2000], eax
movzx eax, byte [0x5c2720]
test al, al
jne 0x411f05
xor eax, eax
jmp 0x411ec2
lea ebp, [0x5c2720]
mov byte [ebp + edx], bl
lea eax, [edx + 1]
cmp eax, 0x80
jge 0x411f05
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
mov ebx, ecx
sar ecx, 0x1f
sub edx, ecx
lea ecx, [edx + edx*4]
mov edx, ebx
sub ebx, ecx
cmp ebx, 5
jae 0x411ffc
lea ecx, [0x5a00c4]
movzx ebx, byte [ecx + ebx]
cmp edx, 0x80
jb 0x411eb5
jmp 0x411ffc
mov eax, dword [0x5b2024]
mov ecx, dword [eax + 4]
mov dword [0x5b2024], ecx
mov ecx, dword [0x5b202c]
mov dword [eax + 4], ecx
mov dword [0x5b202c], eax
mov eax, dword [0x5b202c]
mov ecx, dword [eax + 8]
cmp ecx, 0xcc
jae 0x411ff5
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
lea ecx, [eax + 8]
mov dword [esp], ecx
mov dword [esp + 4], 1
call fcn.004021a0
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x14]
lea edi, [ecx + eax*4 + 0x10]
mov edx, dword [0x5c2560]
lea ebx, [ecx + eax*4 + 0x1c]
lea ebp, [ecx + eax*4 + 0x20]
lea esi, [ecx + eax*4 + 0x14]
test edx, edx
jne 0x411fe6
mov edx, dword [esp + 0x20]
mov dword [ecx + eax*4 + 0x10], edx
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*4 + 0x18], edx
mov edx, dword [0x5c2560]
test edx, edx
jne 0x411fc3
mov edx, dword [esp + 0x28]
mov dword [ecx + eax*4 + 0x1c], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + eax*4 + 0x20], edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + eax*4 + 0x14], edx
mov byte [0x5c239b], 1
lea eax, [0x5c2404]
mov dword [esp], eax
call fcn.00407bf0
add esp, 0x18
ret
mov edi, ebx
mov eax, dword [esp + 0x28]
call fcn.0044a9c0
mov edi, ebp
mov eax, dword [esp + 0x2c]
call fcn.0044a9c0
mov edi, esi
mov eax, dword [esp + 0x1c]
call fcn.0044a9c0
jmp 0x411faa
mov edx, eax
mov eax, dword [esp + 0x20]
call fcn.0044a9c0
mov eax, edx
jmp 0x411f80
call fcn.004253a0
ud2
call fcn.004253a0
ud2
lea eax, [0x4f347e]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.004266a0
ud2
call fcn.00449270
jmp fcn.00411e10
Function at 0x4204e0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4205ea
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 1
je 0x420567
cmp cl, 2
jne 0x4205d2
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.00421160
lea eax, [0x5b63ec]
mov dword [esp], eax
call fcn.00407a10
nop
mov eax, dword [0x5b63e0]
sub eax, dword [0x5b63c8]
mov dword [0x5b63e0], eax
mov eax, dword [0x5b63d4]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x5b63d4], ecx
lea eax, [0x5b63ec]
mov dword [esp], eax
call fcn.00407bf0
add esp, 0x14
ret
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.00411e10
lea eax, [0x5b63ec]
mov dword [esp], eax
call fcn.00407a10
nop
mov eax, dword [0x5b63bc]
sub eax, dword [0x5b63a4]
mov dword [0x5b63bc], eax
mov eax, dword [0x5b63b0]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x5b63b0], ecx
lea eax, [0x5b63ec]
mov dword [esp], eax
call fcn.00407bf0
jmp 0x420563
lea eax, [0x4f0ce5]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.004266a0
ud2
call fcn.00449270
jmp fcn.004204e0
Function at 0x42d4b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x18
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov ecx, dword [eax + 0x18]
inc dword [ecx + 0x78]
mov dword [eax + 8], 0xfffffade
mov byte [eax + 0x6a], 1
mov ecx, dword [esp + 0x1c]
mov dword [esp], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
call fcn.0042d470
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x38], eax
mov edx, dword [esp + 0x1c]
mov dword [ecx + 0x3c], edx
mov dword [esp], ecx
mov dword [esp + 4], 2
mov dword [esp + 8], 3
call fcn.00429600
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x38]
cmp dword [eax], ecx
jbe 0x42d69a
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
lea ecx, [0x4484e0]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x10]
mov dword [esp], ecx
call fcn.00449150
movzx eax, byte [0x5ba2e8]
test al, al
jne 0x42d673
lea eax, [0x5b2884]
mov dword [esp], eax
call fcn.00402080
mov eax, dword [esp + 4]
test eax, eax
jne 0x42d64c
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x54]
test byte [ecx], al
nop
mov ecx, dword [ecx + 0x11d0]
test ecx, ecx
jne 0x42d621
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x54]
nop
mov edx, dword [edx + 0x14]
mov dword [ecx + 0x164], edx
mov byte [eax + 0x6c], 1
mov ecx, dword [eax + 0x18]
mov dword [ecx + 0xbc], 0
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x54]
nop
mov dword [ecx + 0x30], 0
mov edx, dword [eax + 0x18]
nop
mov ebx, ecx
mov dword [edx + 0x5c], ecx
mov ecx, dword [eax + 0x18]
mov dword [ecx + 0x54], 0
lea ecx, [ebx + 8]
mov dword [esp], ecx
mov dword [esp + 4], 2
call fcn.00402260
mov eax, dword [0x5b2878]
test eax, eax
jne 0x42d5fd
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x18]
dec dword [eax + 0x78]
add esp, 0x18
ret
lea eax, [0x4f83c8]
mov dword [esp], eax
call fcn.00449150
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call fcn.0042d470
jmp 0x42d5ef
lea eax, [0x4f84b8]
mov dword [esp], eax
call fcn.00449150
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.0042d470
mov eax, dword [esp + 0xc]
jmp 0x42d590
lea eax, [0x4f83cc]
mov dword [esp], eax
call fcn.00449150
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.0042d470
jmp 0x42d575
lea eax, [0x4f8500]
mov dword [esp], eax
call fcn.00449150
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.0042d470
jmp 0x42d55b
cmp dword [eax + 4], ecx
jb 0x42d522
jmp 0x42d54c
Function at 0x43d370
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
sub esp, 0x10
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
nop
inc dword [eax + 0x148]
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
nop
mov edx, eax
mov dword [ecx + 0xc0], eax
nop
mov eax, dword [edx + 0x18]
mov dword [edx + 0x84], eax
mov dword [esp], 0
lea eax, [0x4f8508]
mov dword [esp + 4], eax
call fcn.00425640
test eax, eax
jne 0x43d457
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x14]
mov dword [eax + 0x194], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x198], ecx
lea ecx, [esp + 0x1c]
nop
mov dword [eax + 0x19c], ecx
mov ecx, dword [0x5b200c]
mov dword [esp], ecx
lea ecx, [eax + 0x194]
mov dword [esp + 4], ecx
call fcn.00403440
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x1a0]
mov edx, dword [eax + 0x1a4]
mov eax, dword [eax + 0x1a8]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
nop
call fcn.00425e10
add esp, 0x10
ret
nop
call fcn.00425e10
add esp, 0x10
ret
Function at 0x43f9d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x43fb70
sub esp, 0x48
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x4c]
mov edx, dword [ecx + 0x18]
mov ebx, dword [ecx + 0x78]
add ebx, 1
mov edx, dword [edx + 0x54]
mov ebp, dword [ecx + 0x7c]
mov dword [ecx + 0x78], ebx
adc ebp, 0
mov dword [ecx + 0x7c], ebp
mov ebx, edx
nop
mov ebp, dword [edx + 0x950]
nop
cmp ecx, ebp
jne 0x43faa8
mov dword [esp + 0x44], ecx
nop
lea edi, [esp + 0x2c]
xor eax, eax
call fcn.0044aaba
mov ecx, dword [esp + 0x44]
mov ebx, dword [ecx + 0x50]
mov ebp, dword [ecx + 0x54]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebp
mov ebx, dword [ecx + 0x7c]
mov ecx, dword [ecx + 0x78]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
mov ecx, dword [edx + 0x954]
cmp ecx, 3
jae 0x43fb69
lea eax, [0x5c2354]
lea eax, [eax + ecx*8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
mov byte [esp], 0x29
mov dword [esp + 4], 0xffffffff
lea eax, [esp + 0x2c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], 3
call fcn.0043ea70
add esp, 0x48
ret
cmp dword [ecx + 0x80], ebx
jne 0x43faf9
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov eax, dword [ecx + 0x50]
mov ecx, dword [ecx + 0x54]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov byte [esp], 0x26
mov dword [esp + 4], 0xffffffff
lea eax, [esp + 0x14]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.0043ea70
jmp 0x43faa4
mov dword [ecx + 0x80], ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov eax, dword [ecx + 0x50]
mov edx, dword [ecx + 0x54]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov eax, dword [ecx + 0x7c]
mov ecx, dword [ecx + 0x78]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
mov byte [esp], 0xe
mov dword [esp + 4], 0xffffffff
lea eax, [esp + 0x1c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.0043ea70
jmp 0x43faa4
call fcn.004253a0
ud2
call fcn.00449270
jmp fcn.0043f9d0
Function at 0x442870
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 0x44290f
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.0044aab7
lea ecx, [0x448b60]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 8]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 4]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0xc]
mov dword [esp], ecx
call fcn.00449150
mov ecx, dword [esp + 4]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.00449270
jmp fcn.00442870
Function at 0x44a630
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x44a670
movd xmm0, dword [esp + 8]
pinsrw xmm0, ebx, 4
pshufhw xmm0, xmm0, 0
movdqa xmm1, xmm0
pxor xmm0, xmmword [0x5c25e0]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x44a6ab
je 0x44a6fa
cmp ebx, 0x20
jbe 0x44a700
cmp ebx, 0x40
jbe 0x44a73e
jmp 0x44a7cf
test ebx, ebx
je 0x44a6f0
add eax, 0x10
test ax, 0xff0
je 0x44a6dc
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x510000]
aesenc xmm1, xmm0
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 + 0x510100]
jmp 0x44a6c8
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x44a6c8
pxor xmm1, xmmword [0x5c25f0]
aesenc xmm1, xmm1
movdqu xmm2, xmmword [eax]
movdqu xmm3, xmmword [eax + ebx - 0x10]
aesenc xmm2, xmm0
aesenc xmm3, xmm1
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 [0x5c25f0]
pxor xmm2, xmmword [0x5c2600]
pxor xmm3, xmmword [0x5c2610]
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]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc 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
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x5c25f0]
pxor xmm2, xmmword [0x5c2600]
pxor xmm3, xmmword [0x5c2610]
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 0x44a82e
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
Function at 0x44b500
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword fs:[0x14]
mov edx, esp
sub esp, 0x1b8
mov dword [esp], esp
mov dword [esp + 4], 0x1b8
call fcn.0044afe0
lea ecx, [esp + 0x30]
mov dword fs:[0x14], ecx
mov ebx, esp
sub esp, 0xd8
mov dword [ecx], esp
mov dword [ebx], esp
mov dword [esp], esp
mov dword [esp + 4], 0xd8
call fcn.0044afe0
lea ebx, [esp + 0xd8]
mov dword [esp + 0x18], ebx
lea ecx, [esp - 0x8000]
mov dword [esp], ecx
add ecx, 0xb70
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 4], edx
push eax
push dword [ebp + 0x10]
call dword [ebp + 8]
pop ecx
pop eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov esp, dword [ecx + 4]
pop dword fs:[0x14]
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x44b5a0
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
mov eax, esp
mov dword [edx + 4], eax
sub eax, 0x10000
mov dword [edx], eax
add eax, 0xb70
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
lea esi, [ecx + 0x30]
mov dword fs:[0x14], esi
mov dword [edx + 0x18], ecx
mov dword [esi], edx
cld
call fcn.0044a580
call fcn.0042a120
ret
Function at 0x47fd10
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x47ff34
sub esp, 0x4c
mov eax, dword [esp + 0x54]
movzx ecx, word [eax + 2]
movzx edx, word [eax + 8]
movzx ebx, word [eax + 0xa]
movzx ebp, word [eax + 0xc]
mov esi, dword [esp + 0x50]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], 0
mov ecx, dword [0x5ae438]
mov dword [esp + 0x1c], ecx
call fcn.0047e7b0
lea esi, [esp + 0x20]
mov dword [esp + 0x34], esi
lea edi, [esp + 0x38]
call fcn.0044af9e
nop
mov edi, esp
mov esi, dword [esp + 0x34]
call fcn.0044af9e
call fcn.0047ddb0
mov eax, dword [esp + 0x14]
add eax, 0x15180
nop
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
adc ecx, 0
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x93a80
mov dword [esp + 0xc], 0
call fcn.00445ed0
mov eax, dword [esp + 0x54]
movzx ecx, word [eax + 4]
mov edx, dword [esp + 0x10]
mov ebx, eax
mov eax, edx
mov ebp, 0xc22e4507
mov esi, edx
imul ebp
mov eax, esi
sar esi, 0x1f
add eax, edx
sar eax, 0x10
sub eax, esi
sub ecx, eax
test ecx, ecx
jge 0x47fdf0
add ecx, 7
movzx edx, word [ebx + 6]
lea ebp, [edx - 1]
cmp ebp, 4
jge 0x47fe8c
lea ebx, [edx + edx*2]
lea edx, [edx + ebx*2]
lea ecx, [ecx + edx - 6]
nop
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
mov ebp, edx
shr edx, 0x1f
shl edx, 0x1f
test edx, edx
je 0x47fe82
shl ebp, 1
mov edx, ebx
shr ebx, 0x1f
or ebx, ebp
shl edx, 1
shr edx, 0x1f
mov ebp, ebx
shl ebx, 1
or ebx, edx
mov edx, ebx
add ebx, 0xd7b17f80
shr ebp, 0x1f
add edx, 0xd7b17f80
adc ebp, 0xd
lea eax, [ecx - 1]
mov ecx, 0x15180
mov esi, eax
mul ecx
mov ecx, eax
add eax, ebx
mov edi, eax
add eax, 0x886e0900
mov dword [esp + 0x58], eax
sar esi, 0x1f
imul esi, esi, 0x15180
add edx, esi
add ecx, ebx
adc edx, ebp
add edi, 0x886e0900
adc edx, 0xfffffff1
mov dword [esp + 0x5c], edx
add esp, 0x4c
ret
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x44]
jmp 0x47fe47
nop
movzx edx, word [ebx + 2]
cmp edx, 2
jne 0x47ff29
nop
mov ebx, dword [esp + 0x50]
mov ebp, ebx
sar ebx, 0x1f
mov esi, ebx
shr ebx, 0x1e
add ebx, ebp
sar ebx, 2
shl ebx, 2
cmp ebx, ebp
jne 0x47ff23
mov eax, 0x51eb851f
mov ebx, edx
imul ebp
mov edi, edx
sar edx, 5
sub edx, esi
imul edx, edx, 0x64
cmp ebp, edx
je 0x47ff11
mov eax, 1
test al, al
je 0x47fef0
mov eax, 0x1d
lea edx, [ecx + 0x1d]
cmp edx, eax
jle 0x47fee9
add ecx, 0x16
jmp 0x47fe0a
mov ecx, edx
jmp 0x47fe0a
cmp ebx, 0xd
jae 0x47ff2d
lea edx, [0x5a17c0]
mov edx, dword [edx + ebx*4]
lea ebp, [ebx - 1]
cmp ebp, 0xd
jae 0x47ff2d
sub edx, dword [ebx*4 + 0x5a17bc]
mov eax, edx
jmp 0x47feda
sar edi, 7
sub edi, esi
imul edx, edi, 0x190
cmp edx, ebp
sete al
jmp 0x47fed1
mov ebx, edx
xor eax, eax
jmp 0x47fed1
mov ebx, edx
jmp 0x47fef0
call fcn.004253a0
ud2
call fcn.00449270
jmp fcn.0047fd10
Function at 0x40c89c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, 0x4b0c4c
push 0xa
push 0x40c930
mov eax, dword [0x4b0c3c]
push eax
call sub.kernel32.dll_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x40c8c0
call fcn.004172b8
push ebx
mov eax, dword [0x4b0c3c]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x40c8d7
call fcn.004172b8
push ebx
call sub.kernel32.dll_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x40c8e9
call fcn.004172b8
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x4b0c50], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x4b0c54], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x4b0c58], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x4b0c5c], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x4b0c60], ecx
add edx, dword [eax + 0x14]
mov dword [0x4b0c64], edx
pop esi
pop ebx
ret

Function at 0x4101e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x410289
test eax, edx
je 0x41028c
push 0
push 0
cmp word [eax - 0xa], 2
je 0x410209
push edx
mov edx, eax
mov eax, esp
call fcn.00406a08
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x41021f
push eax
lea eax, [esp + 8]
call fcn.00406a08
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41022e
movzx eax, word [eax]
sub eax, ecx
jmp 0x410255
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x41026f
add ecx, 4
js 0x410246
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x41026c
push eax
mov eax, ecx
mov edx, 2
call fcn.00406054
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x410253
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x410255
xor eax, eax
ret
test eax, eax
je 0x41029c
test edx, edx
jne 0x4101f0
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x414788
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x4147c1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00406940
jmp 0x4147ca
mov eax, ebx
mov edx, esi
call fcn.00406804
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4147d4
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x4147f6
movzx eax, word [esp]
jmp 0x4147f8
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret