joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424550
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 0xc]
jbe 0x424753
sub esp, 0x34
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
cmp dword [edx + 0x34], eax
jbe 0x424579
mov dword [edx + 0x34], eax
mov ebx, dword [esp + 0x40]
mov ebp, ebx
shl ebx, 0xd
lea ebx, [ebx + eax - 1]
cmp dword [edx + 0x78], ebx
jae 0x42458e
mov dword [edx + 0x78], ebx
cmp ebp, 1
je 0x424620
nop
nop
nop
nop
mov ecx, eax
shr eax, 0x16
mov esi, ebx
shr ebx, 0x16
and ecx, 0x3fffff
shr ecx, 0xd
and esi, 0x3fffff
shr esi, 0xd
cmp ebx, eax
je 0x4245fc
mov ebp, dword [edx + 0x30]
test byte [ebp], al
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], esi
shl eax, 7
add eax, ebp
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [ecx - 0x200]
neg eax
mov dword [esp + 8], eax
call fcn.00425990
mov eax, dword [esp + 0x2c]
inc eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x38]
jmp 0x42470e
mov ebx, dword [edx + 0x30]
test byte [ebx], al
shl eax, 7
add eax, ebx
mov dword [esp], eax
mov dword [esp + 4], ecx
sub esi, ecx
lea eax, [esi + 1]
mov dword [esp + 8], eax
call fcn.00425990
jmp 0x4246bf
mov ebx, dword [edx + 0x30]
test byte [ebx], al
nop
mov esi, eax
shr eax, 0x16
shl eax, 7
add ebx, eax
mov eax, esi
and eax, 0x3fffff
nop
mov edi, eax
shr eax, 0x13
cmp eax, 8
jae 0x4246e6
mov dword [esp + 0x30], ebx
mov dword [esp + 0x20], eax
shr edi, 0xd
and edi, 0x3f
mov dword [esp + 0x1c], edi
cmp edi, 0x20
sbb ebp, ebp
mov dword [esp + 0x18], ebp
lea esi, [edi - 0x20]
mov dword [esp + 0x14], esi
xchg esi, ebx
neg ebx
xchg esi, ebx
cmp esi, 0x20
sbb edx, edx
mov ebp, dword [esp + 0x14]
cmp ebp, 0x20
sbb edi, edi
lea eax, [ebx + eax*8]
mov ecx, esi
mov ebx, 1
shr ebx, cl
and ebx, edx
mov ecx, ebp
mov edx, 1
shl edx, cl
and edi, edx
or ebx, edi
not ebx
and ebx, dword [eax + 4]
mov ecx, dword [esp + 0x1c]
mov edx, 1
shl edx, cl
mov ebp, dword [esp + 0x18]
and edx, ebp
not edx
and dword [eax], edx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
lea eax, [edx + eax*8 + 4]
mov dword [eax], ebx
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
mov word [esp + 0xc], 1
call fcn.00422e40
add esp, 0x34
ret
mov ecx, 8
call fcn.00458100
mov dword [esp + 0x10], eax
shl eax, 7
add eax, ebx
mov dword [esp], eax
call fcn.00425c40
mov eax, dword [esp + 0x10]
inc eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x38]
cmp eax, ecx
jae 0x424720
mov ebx, dword [edx + 0x30]
test byte [ebx], al
cmp eax, 0x400
jb 0x4246f0
jmp 0x424748
mov eax, dword [edx + 0x30]
test byte [eax], al
shl ecx, 7
add eax, ecx
mov dword [esp], eax
mov dword [esp + 4], 0
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 8], eax
call fcn.00425990
jmp 0x4246bf
mov ecx, 0x400
call fcn.00458100
nop
call fcn.00455940
jmp fcn.00424550
Function at 0x42ee00
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x1c
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x14]
test edx, edx
je 0x42ef2d
lea ebx, [esp + 0x20]
cmp dword [edx + 8], ebx
jne 0x42ef29
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], edx
lea edi, [ecx + 0x14]
mov dword [esp + 0x18], edi
movzx ebp, byte [edx + 6]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x42eee3
mov ebp, dword [edx]
test ebp, ebp
je 0x42ee7e
cmp ebp, 4
jne 0x42ee5e
lea ebp, [edx + 0x28]
test byte [ebp], al
mov ebp, dword [edx + 0x28]
nop
mov dword [ebx], ebp
jmp 0x42ee7e
nop
mov dword [esp], ebx
lea eax, [edx + 0x28]
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.004589a0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ebx, dword [edx + 0x10]
mov ebp, dword [0x551ef0]
test ebp, ebp
jne 0x42ee94
mov dword [edx + 0x10], 0
jmp 0x42eea4
lea ebp, [edx + 0x10]
xor eax, eax
mov esi, edi
mov edi, ebp
call fcn.00458070
mov edi, esi
mov dword [esp + 0x10], ebx
test byte [ecx], al
mov ebp, dword [0x551ef0]
mov eax, dword [edx + 0x18]
test ebp, ebp
jne 0x42eebc
mov dword [ecx + 0x14], eax
jmp 0x42eec1
call fcn.00458070
mov dword [esp], edx
call fcn.0042ea30
mov eax, dword [esp + 0x10]
test byte [eax], al
mov dword [esp], eax
lea eax, [esp + 0x20]
mov dword [esp + 4], eax
call fcn.00457cc0
add esp, 0x1c
ret
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.0042f550
movzx eax, byte [esp + 8]
test al, al
je 0x42ef31
mov ecx, dword [esp + 0xc]
test byte [ecx], al
mov edx, dword [0x551ef0]
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx + 0x18]
test edx, edx
jne 0x42ef14
mov dword [ecx + 0x14], eax
jmp 0x42ef1d
mov edi, dword [esp + 0x18]
call fcn.00458070
mov dword [esp], ebx
call fcn.0042ea30
add esp, 0x1c
ret
add esp, 0x1c
ret
add esp, 0x1c
ret
lea eax, [0x4a7040]
mov dword [esp], eax
mov dword [esp + 4], 0x2b
call fcn.004305d0
nop
int3
Function at 0x439bb0
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 + 0x6b], 1
mov ecx, dword [esp + 0x1c]
mov dword [esp], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
call fcn.00439b50
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.004346e0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x38]
cmp dword [eax], ecx
ja 0x439c23
cmp dword [eax + 4], ecx
jae 0x439c51
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
lea ecx, [0x439d80]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x10]
mov dword [esp], ecx
call fcn.00456b20
mov eax, dword [esp + 0xc]
movzx ecx, byte [0x5363c8]
test cl, cl
je 0x439c7e
lea eax, [0x4a86e8]
mov dword [esp], eax
call fcn.00456b20
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.00439b50
lea eax, [0x52c80c]
mov dword [esp], eax
call fcn.00401ea0
mov eax, dword [esp + 4]
test eax, eax
je 0x439cb6
lea eax, [0x4a85c0]
mov dword [esp], eax
call fcn.00456b20
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.00439b50
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x54]
test byte [ecx], al
mov ecx, dword [ecx + 0x13a8]
test ecx, ecx
je 0x439cf2
lea eax, [0x4a86a0]
mov dword [esp], eax
call fcn.00456b20
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.00439b50
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x54]
mov edx, dword [edx + 0x10]
mov dword [ecx + 0x164], edx
mov byte [eax + 0x6f], 1
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x54]
mov dword [ecx + 0x2c], 0
mov edx, dword [eax + 0x18]
mov ebx, ecx
mov dword [edx + 0x5c], ecx
mov ecx, dword [eax + 0x18]
mov dword [ecx + 0x54], 0
lea ecx, [ebx + 4]
mov dword [esp], ecx
mov dword [esp + 4], 2
call fcn.00402080
mov eax, dword [0x52c800]
test eax, eax
je 0x439d63
lea eax, [0x4a85bc]
mov dword [esp], eax
call fcn.00456b20
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call fcn.00439b50
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x18]
dec dword [eax + 0x78]
add esp, 0x18
ret
Function at 0x441ed0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4420cf
sub esp, 0x30
mov eax, dword [esp + 0x34]
mov ecx, eax
mov dword [esp + 0x20], eax
mov dword [esp], ecx
mov dword [esp + 4], 1
call fcn.00401fc0
mov eax, dword [esp + 0x20]
shr eax, 3
mov ecx, eax
mov eax, 0x828cbfbf
mul ecx
shr edx, 7
imul eax, edx, 0xfb
sub ecx, eax
shl ecx, 6
mov dword [esp + 0x1c], ecx
lea eax, [0x52dee0]
lea edx, [eax + ecx + 8]
mov dword [esp + 0x2c], edx
mov dword [esp], edx
call fcn.00401ea0
mov eax, dword [esp + 4]
test eax, eax
je 0x4420b4
mov eax, dword [esp + 0x1c]
lea ecx, [0x52dee0]
lea edx, [ecx + eax]
mov dword [esp + 0x28], edx
mov dword [esp], edx
call fcn.00408560
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.00401ea0
mov eax, dword [esp + 4]
test eax, eax
je 0x4420a2
mov eax, dword [esp + 0x1c]
lea ecx, [0x52dee0]
add eax, ecx
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.004424e0
mov eax, dword [esp + 8]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], edx
test eax, eax
je 0x441fc4
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
call fcn.00401fc0
nop
nop
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00408760
mov eax, dword [esp + 0x24]
test eax, eax
je 0x44209e
mov ecx, dword [eax + 0x10]
test ecx, ecx
setne dl
mov ebx, dword [eax + 0x14]
test ebx, ebx
xchg ebp, ebx
setne bl
xchg ebp, ebx
or ebp, edx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x442021
mov eax, dword [esp + 0x14]
sub eax, ecx
mov ecx, dword [esp + 0x18]
sbb ecx, ebx
mov dword [esp + 4], ecx
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
lea ecx, [eax + 3]
mov dword [esp + 8], ecx
call fcn.00454b80
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x4420b8
movzx ecx, byte [esp + 0x38]
test cl, cl
je 0x44205b
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.004420e0
movzx eax, byte [esp + 4]
test al, al
je 0x442057
mov eax, dword [esp + 0x24]
mov dword [eax + 0x20], 1
jmp 0x44205b
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov ecx, dword [esp + 0x3c]
add ecx, 5
mov dword [esp + 4], ecx
call fcn.00441b50
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x20], 1
jne 0x44209e
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x78]
test eax, eax
jne 0x44209e
nop
lea eax, [0x4a8628]
mov dword [esp], eax
call fcn.00456ac0
add esp, 0x30
ret
nop
nop
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00408760
add esp, 0x30
ret
add esp, 0x30
ret
lea eax, [0x4a4549]
mov dword [esp], eax
mov dword [esp + 4], 0x1a
call fcn.004305d0
nop
call fcn.00456c30
jmp fcn.00441ed0
Function at 0x4491d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x449353
sub esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x44934b
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
test ebx, ebx
jne 0x44922c
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x44922c
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 0x44923f
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0x449320
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 0x449312
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 0x44930b
movzx edx, byte [edx + eax]
test edx, 0x80
je 0x449296
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x4492df
mov eax, 1
cmp eax, ecx
ja 0x4492cd
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.00458160
lea esi, [ecx + 7]
mov ecx, dword [esp + 8]
mov eax, ebp
mov ebp, dword [esp + 0xc]
cmp eax, ecx
jae 0x449306
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 0x4492d2
mov ecx, dword [esp + 8]
mov eax, ebp
mov ebp, dword [esp + 0xc]
jmp 0x44929b
call fcn.00458100
xor eax, eax
call fcn.004580f0
call fcn.00458160
lea ebp, [ecx + 7]
mov ecx, dword [esp + 0x18]
mov eax, edi
cmp ecx, eax
jbe 0x449346
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 0x449317
mov ecx, dword [esp + 0x18]
mov eax, edi
jmp 0x449244
call fcn.00458100
xor eax, eax
call fcn.004580f0
nop
call fcn.00456c30
jmp fcn.004491d0
Function at 0x450140
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 0x4501df
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.00458297
lea ecx, [0x4501f0]
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.00456b20
mov ecx, dword [esp + 4]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.00456c30
jmp fcn.00450140
Function at 0x457f20
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 [0x551f80]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x4566eb
je 0x45673a
cmp ebx, 0x20
jbe 0x456740
cmp ebx, 0x40
jbe 0x45677e
jmp 0x45680f
test ebx, ebx
je 0x456730
add eax, 0x10
test ax, 0xff0
je 0x45671c
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x4c0620]
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 + 0x4c0720]
jmp 0x456708
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x456708
pxor xmm1, xmmword [0x551f90]
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 [0x551f90]
pxor xmm2, xmmword [0x551fa0]
pxor xmm3, xmmword [0x551fb0]
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 [0x551f90]
pxor xmm2, xmmword [0x551fa0]
pxor xmm3, xmmword [0x551fb0]
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 0x45686e
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 [0x551d11], 0
je 0x457f3a
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x4566b0
jmp fcn.004070d0

Function at 0x458cc0
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, 0xba0
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.00457ea0
call fcn.00456aa0
ret
Function at 0x48b920
Capabilities:
Hash data with md5

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x48b9ca
sub esp, 0x24
lea eax, [0x498f00]
mov dword [esp], eax
call fcn.0040a5c0
mov eax, dword [esp + 4]
nop
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x50], 0
mov dword [eax + 0x54], 0
mov dword [eax + 0x58], 0
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
lea ecx, [0x4bf6cc]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.0048baa0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ebp
add esp, 0x24
ret
call fcn.00456c30
jmp fcn.0048b920

Function at 0x48b9e0
Capabilities:
Hash data using sha1

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x48ba91
sub esp, 0x24
lea eax, [0x498f80]
mov dword [esp], eax
call fcn.0040a5c0
mov eax, dword [esp + 4]
nop
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x54], 0
mov dword [eax + 0x58], 0
mov dword [eax + 0x5c], 0
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
lea ecx, [0x4bf6f0]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.0048baa0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ebp
add esp, 0x24
ret
call fcn.00456c30
jmp fcn.0048b9e0
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d7a
nop
sub eax, 0x403d20
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
popal
nop
nop
nop
nop
nop
jmp fcn.00401219

Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret
Function at 0x401411
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
lea eax, [esi + 0x30]
push eax
lea ecx, [ebp - 4]
xor ebx, ebx
call fcn.00401367
mov edi, dword [ebp + 0xc]
test edi, edi
jg 0x401434
mov edi, 0x5fffffff
mov ecx, esi
call fcn.00401399
test eax, eax
je 0x4014aa
cmp dword [ebp + 8], 0
je 0x40144e
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x64
push dword [esi + 0x24]
sub edi, 0x64
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4014aa
test edi, edi
jg 0x401434
mov eax, dword [esi + 0x24]
test eax, eax
je 0x401477
push 0xfffffffffffffff4
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x24]
test eax, eax
mov dword [esi + 0x2c], 0
je 0x401490
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x24], 0
mov esi, dword [ebp - 4]
test esi, esi
je 0x4014a1
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
dec dword [esi + 0x18]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8
xor ebx, ebx
inc ebx
jmp 0x401477

Function at 0x402265
Capabilities:
Get file attributes

Disassembly:
mov eax, 0x41a977
call fcn.004081d8
sub esp, 0x5c
mov eax, dword [0x422980]
xor eax, ebp
push ebx
push esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
xor esi, esi
xor ebx, ebx
cmp eax, esi
push edi
mov edi, ecx
je 0x40233d
push eax
lea ecx, [ebp - 0x48]
call fcn.00401cad
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], 0xf
call fcn.0040155b
inc ebx
push ebx
push esi
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
mov byte [ebp - 0x4c], 0x5c
call fcn.00401f9e
cmp eax, esi
jge 0x4022fa
push 0x41b504
add edi, 4
lea eax, [ebp - 0x68]
push edi
push eax
call fcn.00401e59
add esp, 0xc
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0040197e
push esi
push ebx
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 1
call fcn.00401615
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401a0d
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x402315
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
jne 0x402325
cmp eax, 0xffffffff
jne 0x402327
xor ebx, ebx
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401615
push esi
push 1
lea ecx, [ebp - 0x48]
call fcn.00401615
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00408280
leave
ret 4
Function at 0x40259d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4025b2
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x4025c4
xor eax, eax
jmp 0x4025f6
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x4025e8
cmp esi, eax
jae 0x4025c0
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4025da
cmp esi, eax
jae 0x4025c0
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop ebp
ret