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

Disassembly:
mov ecx, dword [0x82b814]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x468083
sub esp, 0x24
mov eax, dword [esp + 0x28]
test byte [eax], al
lea ecx, [eax + 0x18]
mov dword [esp + 0x20], ecx
nop
mov dword [esp], ecx
call fcn.0040b020
mov eax, dword [esp + 0x28]
movzx ecx, byte [eax + 0x1c]
test cl, cl
jne 0x46806c
mov byte [eax + 0x1c], 1
inc dword [eax + 0x24]
inc dword [eax + 0x60]
mov dword [esp], eax
call fcn.00434440
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], 0x72
mov byte [esp + 8], 0
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], ecx
call fcn.00434b20
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
mov dword [esp + 4], 0x77
mov byte [esp + 8], 0
lea edx, [esp + 0x14]
mov dword [esp + 0xc], edx
call fcn.00434b20
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x3c]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], edx
test ecx, ecx
je 0x467fd8
lea ecx, [eax + 0x28]
mov dword [esp], ecx
call fcn.00457d40
mov eax, dword [0x82b968]
test eax, eax
jne 0x467fbf
mov eax, dword [esp + 0x28]
jmp 0x467fcd
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x3c]
call fcn.0046b930
mov dword [edi], ecx
mov dword [eax + 0x3c], 0
mov edx, dword [esp + 0x18]
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x46800f
lea ecx, [eax + 0x64]
mov dword [esp], ecx
call fcn.00457d40
mov eax, dword [0x82b968]
test eax, eax
jne 0x467ffa
mov eax, dword [esp + 0x28]
jmp 0x468008
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x78]
call fcn.0046b930
mov dword [edi], ecx
mov dword [eax + 0x78], 0
nop
nop
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.0040b240
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x468035
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00434920
mov eax, dword [esp + 0x18]
test eax, eax
je 0x46804d
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00434920
mov eax, dword [esp + 0x14]
test eax, eax
je 0x468068
nop
lea ecx, [0x82b75c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00402df0
add esp, 0x24
ret
lea eax, [0x66b83e]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call fcn.00439ac0
nop
call fcn.0046a530
jmp fcn.00467ef0
Function at 0x46b7e0
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 [0x82bc40]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x469f6b
je 0x469fbe
cmp ebx, 0x20
jbe 0x469fc4
cmp ebx, 0x40
jbe 0x46a00a
jmp 0x46a0ab
test ebx, ebx
je 0x469fb4
add eax, 0x10
test ax, 0xff0
je 0x469fa0
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x6bb140]
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 + 0x6bb240]
jmp 0x469f88
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x469f88
pxor xmm1, xmmword [0x82bc50]
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 [0x82bc50]
pxor xmm2, xmmword [0x82bc60]
pxor xmm3, xmmword [0x82bc70]
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 [0x82bc50]
pxor xmm2, xmmword [0x82bc60]
pxor xmm3, xmmword [0x82bc70]
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 0x46a10a
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 [0x82b6eb], 0
je 0x46b7fa
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x469f30
jmp fcn.004096e0
Function at 0x46b800
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov ecx, dword [0x82b814]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x403eac
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004096e0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
add esp, 0x10
ret
call fcn.0046a530
jmp 0x403e70
cmp byte [0x82b6eb], 0
je 0x46b81b
mov eax, dword [esp + 4]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0xc]
jmp 0x469f30
jmp 0x403e70

Function at 0x46c700
Capabilities:
Allocate thread local storage

Disassembly:
mov ebp, esp
mov eax, dword [sym.imp.kernel32.dll_TlsAlloc]
call eax
mov esp, ebp
mov ecx, eax
cmp ecx, 0x40
jb 0x46c71a
mov ecx, 0x14
jmp 0x46c723
shl ecx, 2
add ecx, 0xe10
mov dword [0x82b814], ecx
ret
Function at 0x4f6a20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x82b814]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4f6bfc
sub esp, 0x7c
lea edi, [esp + 0x1c]
mov esi, dword [esp + 0x80]
call fcn.0046c05c
lea eax, [esp + 0x1c]
mov dword [esp], eax
call fcn.004f5fe0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
lea edi, [esp + 0x54]
xor eax, eax
call fcn.0046bba6
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x84]
xor ecx, ecx
jmp 0x4f6ad0
mov edx, dword [esp + 0x48]
lea ecx, [edx + 1]
cmp ecx, 5
jge 0x4f6b9a
mov dword [esp + 0x48], ecx
lea edx, [esp + ecx*8 + 0x54]
mov ebx, dword [edx]
mov dword [esp + 0x44], ebx
mov edx, dword [edx + 4]
imul ebp, ecx, 0x33
mov esi, ebp
sar ebp, 0x1f
shr ebp, 0x1d
add ebp, esi
mov dword [esp + 0x50], ebp
and ebp, 0xfffffff8
sub esi, ebp
mov ecx, esi
shl ebx, cl
shl edx, cl
mov dword [esp + 0x4c], edx
lea ebp, [ecx - 0x20]
mov ecx, ebp
mov edi, dword [esp + 0x44]
shl edi, cl
neg ecx
mov edx, dword [esp + 0x44]
shr edx, cl
cmp ebp, 0x20
sbb ebp, ebp
and edi, ebp
cmp esi, 0x20
sbb ebp, ebp
and ebx, ebp
mov dword [esp + 0x18], ebx
mov byte [esp + 8], bl
mov esi, dword [esp + 0x4c]
and esi, ebp
mov ebp, ebx
shr ebx, 8
shr ebp, 0x10
mov dword [esp + 0x4c], ebp
mov ebp, dword [esp + 0x18]
shr ebp, 0x18
cmp ecx, 0x20
sbb ecx, ecx
and edx, ecx
or esi, edx
or edi, esi
mov edx, edi
shl edi, 0x18
or edi, ebx
xchg edi, eax
mov byte [esp + 9], al
xchg edi, eax
mov ebx, edx
shl edx, 0x10
mov esi, dword [esp + 0x4c]
or esi, edx
xchg esi, eax
mov byte [esp + 0xa], al
xchg esi, eax
mov edx, ebx
shl ebx, 8
or ebp, ebx
xchg ebp, eax
mov byte [esp + 0xb], al
xchg ebp, eax
mov dword [esp + 0xc], edx
mov ebx, dword [esp + 8]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x50]
xor ecx, ecx
jmp 0x4f6bd4
test byte [eax], al
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], 0x20
mov dword [esp + 0x90], 0x20
add esp, 0x7c
ret
test byte [eax], al
movzx ebp, byte [esp + ecx + 0x10]
movzx esi, byte [eax + edx]
or esi, ebp
xchg esi, ebx
mov byte [eax + edx], bl
xchg esi, ebx
inc ecx
mov edx, ebx
cmp ecx, 8
jge 0x4f6ac9
mov ebx, edx
sar edx, 3
add edx, ecx
cmp edx, 0x20
jge 0x4f6ac9
jb 0x4f6bbd
mov eax, edx
mov ecx, 0x20
call fcn.0046b9b0
nop
call fcn.0046a530
jmp fcn.004f6a20
Function at 0x4f6e00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x82b814]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4f6f84
sub esp, 0x6c
lea edi, [esp + 0x40]
xor eax, eax
call fcn.0046bba6
mov ecx, dword [0x7e67bc]
lea edx, [esp + 0x40]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 8], ecx
call fcn.004f61d0
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x68], ecx
lea edi, [esp + 0x14]
xor eax, eax
call fcn.0046bba8
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
lea edx, [esp + 0x14]
mov dword [esp + 4], edx
call fcn.004f6a20
mov ecx, dword [esp + 0xc]
test ecx, ecx
jbe 0x4f6f7a
mov eax, dword [esp + 0x68]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [esp + 0x74]
mov ebp, dword [ebx]
mov esi, dword [ebx + 4]
mov edi, dword [esp + 8]
movzx edi, byte [edi]
and edi, 1
mov dword [esp + 0x38], edi
sar edi, 0x1f
nop
xor ebx, ebx
mov eax, dword [esp + 0x38]
sub ebx, eax
mov dword [esp + 0x34], ebx
mov eax, 0
sbb eax, edi
mov dword [esp + 0x3c], eax
and ecx, ebx
and edx, eax
mov edi, ebx
not ebx
not eax
and ebp, ebx
or ecx, ebp
mov ebp, dword [esp + 0x70]
mov dword [ebp], ecx
and esi, eax
or edx, esi
mov dword [ebp + 4], edx
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 8]
and edx, edi
mov esi, dword [ecx + 0xc]
mov edi, dword [esp + 0x3c]
and esi, edi
mov edi, dword [esp + 0x74]
mov ecx, dword [edi + 8]
and ecx, ebx
or ecx, edx
mov edx, dword [edi + 0xc]
mov dword [ebp + 8], ecx
and edx, eax
or edx, esi
mov dword [ebp + 0xc], edx
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0x10]
mov esi, dword [esp + 0x34]
and edx, esi
mov esi, dword [ecx + 0x14]
mov ecx, dword [esp + 0x3c]
and esi, ecx
mov ecx, dword [edi + 0x10]
and ecx, ebx
or ecx, edx
mov edx, dword [edi + 0x14]
mov dword [ebp + 0x10], ecx
and edx, eax
or edx, esi
mov dword [ebp + 0x14], edx
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0x18]
mov esi, dword [esp + 0x34]
and edx, esi
mov esi, dword [ecx + 0x1c]
mov ecx, dword [esp + 0x3c]
and esi, ecx
mov ecx, dword [edi + 0x18]
and ecx, ebx
or ecx, edx
mov edx, dword [edi + 0x1c]
mov dword [ebp + 0x18], ecx
and edx, eax
or edx, esi
mov dword [ebp + 0x1c], edx
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0x20]
mov esi, dword [esp + 0x34]
and esi, edx
mov ecx, dword [ecx + 0x24]
mov edx, dword [esp + 0x3c]
and edx, ecx
mov ecx, dword [edi + 0x20]
and ebx, ecx
or ebx, esi
mov ecx, dword [edi + 0x24]
mov dword [ebp + 0x20], ebx
and eax, ecx
or eax, edx
mov dword [ebp + 0x24], eax
mov dword [esp + 0x78], ebp
add esp, 0x6c
ret
xor eax, eax
mov ecx, eax
call fcn.0046b9b0
nop
call fcn.0046a530
jmp fcn.004f6e00
Function at 0x4f9010
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x82b814]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x4f9264
sub esp, 0xa0
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xb4]
cmp ecx, edx
jne 0x4f924b
cmp ecx, 0x48
jg 0x4f9233
lea edi, [esp + 0x50]
xor eax, eax
call fcn.0046bb9e
lea edi, [esp + 8]
call fcn.0046bb9e
mov ecx, dword [esp + 0xa8]
mov ebx, dword [esp + 0xa4]
mov ebp, dword [esp + 0xb0]
xor eax, eax
jmp 0x4f9093
movzx esi, byte [ebx + edi - 1]
xchg esi, ebx
mov byte [esp + eax + 0x50], bl
xchg esi, ebx
mov byte [esp + eax + 8], dl
inc eax
mov edx, dword [esp + 0xb4]
cmp ecx, eax
jle 0x4f90bb
mov esi, edx
sub edx, eax
lea edi, [edx - 1]
cmp esi, edi
jbe 0x4f922a
mov edi, ecx
sub edi, eax
lea esi, [edi - 1]
movzx edx, byte [ebp + edx - 1]
cmp ecx, esi
ja 0x4f907a
jmp 0x4f9223
xor eax, eax
xor ecx, ecx
jmp 0x4f91e2
movzx ebx, byte [esp + edx + 0x50]
movzx ebp, byte [esp + edx + 0x51]
mov esi, ebp
shr ebp, 0x18
shl esi, 8
or esi, ebx
movzx ebx, byte [esp + edx + 0x52]
mov edi, ebx
shr ebx, 0x10
or ebx, ebp
shl edi, 0x10
or edi, esi
movzx ebp, byte [esp + edx + 0x53]
mov esi, ebp
shr ebp, 8
or ebp, ebx
shl esi, 0x18
or esi, edi
mov dword [esp + 0x9c], esi
movzx ebx, byte [esp + edx + 0x54]
or ebx, ebp
movzx ebp, byte [esp + edx + 0x55]
shl ebp, 8
or ebp, ebx
movzx ebx, byte [esp + edx + 0x56]
shl ebx, 0x10
or ebx, ebp
movzx ebp, byte [esp + edx + 0x57]
shl ebp, 0x18
or ebp, ebx
movzx ebx, byte [esp + edx + 8]
movzx edi, byte [esp + edx + 9]
mov dword [esp + 0x98], edi
shr edi, 0x18
mov esi, dword [esp + 0x98]
shl esi, 8
or esi, ebx
movzx ebx, byte [esp + edx + 0xa]
mov dword [esp + 0x98], ebx
shr ebx, 0x10
or ebx, edi
mov edi, dword [esp + 0x98]
shl edi, 0x10
or edi, esi
movzx esi, byte [esp + edx + 0xb]
mov dword [esp + 0x98], esi
shr esi, 8
or esi, ebx
mov ebx, dword [esp + 0x98]
shl ebx, 0x18
or ebx, edi
movzx edi, byte [esp + edx + 0xc]
or edi, esi
movzx esi, byte [esp + edx + 0xd]
shl esi, 8
or esi, edi
movzx edi, byte [esp + edx + 0xe]
shl edi, 0x10
or edi, esi
movzx edx, byte [esp + edx + 0xf]
shl edx, 0x18
or edx, edi
mov esi, ebp
xchg ebp, ebx
not ebx
xchg ebp, ebx
and ebp, edx
mov dword [esp + 0x98], ebp
mov edi, esi
xor esi, edx
xchg esi, ebx
not ebx
xchg esi, ebx
add eax, 8
nop
mov ebp, dword [esp + 0x9c]
sub ebp, ebx
sbb edi, edx
sub ebp, ecx
sbb edi, 0
and edi, esi
mov ecx, dword [esp + 0x98]
or ecx, edi
shr ecx, 0x1f
cmp eax, 0x48
jge 0x4f9200
lea edx, [eax - 0x48]
neg edx
mov ebx, edx
neg edx
sar edx, 0x1f
and edx, eax
cmp ebx, 7
ja 0x4f90c4
jmp 0x4f9217
cmp ecx, 1
sete al
and eax, 1
mov byte [esp + 0xbc], al
add esp, 0xa0
ret
mov eax, 7
mov ecx, ebx
call fcn.0046b9b0
mov eax, esi
call fcn.0046b9b0
mov eax, edi
mov ecx, esi
call fcn.0046b9b0
lea eax, [0x6309e0]
mov dword [esp], eax
lea eax, [0x6b90a0]
mov dword [esp + 4], eax
call fcn.00439050
lea eax, [0x6309e0]
mov dword [esp], eax
lea eax, [0x6b9098]
mov dword [esp + 4], eax
call fcn.00439050
nop
call fcn.0046a530
jmp fcn.004f9010
Function at 0x50d210
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x82b814]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x50d39b
sub esp, 0x50
lea edi, [esp + 0x64]
xor eax, eax
call fcn.0046bbab
mov ecx, dword [esp + 0x58]
cmp ecx, 0x19
je 0x50d23f
xor edx, edx
jmp 0x50d26a
mov eax, dword [esp + 0x54]
mov dword [esp], eax
lea ecx, [0x666c4f]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x19
call fcn.00403230
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x58]
mov edx, eax
xor eax, eax
test dl, dl
je 0x50d275
mov edx, 1
jmp 0x50d2a9
cmp ecx, 0x23
je 0x50d27e
xor edx, edx
jmp 0x50d2a9
mov eax, dword [esp + 0x54]
mov dword [esp], eax
lea ecx, [0x66b05a]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x23
call fcn.00403230
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x58]
mov edx, eax
xor eax, eax
test dl, dl
je 0x50d303
lea edi, [esp + 0x3c]
call fcn.0046bbab
mov ecx, dword [0x7e6654]
lea edx, [0x6b9a70]
mov dword [esp], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x60]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
call fcn.00518f10
movzx ecx, byte [esp + 0x24]
mov byte [esp + 0x37], cl
lea edi, [esp + 0x3c]
lea esi, [esp + 0x10]
call fcn.0046c08e
movzx ecx, byte [esp + 0x37]
test cl, cl
jne 0x50d37a
xor eax, eax
mov ecx, dword [esp + 0x58]
lea edi, [esp + 0x3c]
call fcn.0046bbab
mov ecx, dword [0x7e6650]
mov edx, dword [0x7e6654]
mov ebx, dword [esp + 0x54]
mov dword [esp], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.0050d3b0
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x30]
lea edi, [esp + 0x3c]
lea esi, [esp + 0x18]
call fcn.0046c08e
lea edi, [esp + 0x64]
lea esi, [esp + 0x3c]
call fcn.0046c08e
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
add esp, 0x50
ret
lea edi, [esp + 0x64]
lea esi, [esp + 0x3c]
call fcn.0046c08e
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x50
ret
call fcn.0046a530
jmp fcn.0050d210
Function at 0x517620
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x82b814]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x51780a
sub esp, 0x48
mov eax, dword [0x7e6650]
mov ecx, dword [esp + 0x50]
movzx edx, word [ecx + 2]
movzx ebx, word [ecx + 8]
movzx ebp, word [ecx + 0xa]
movzx esi, word [ecx + 0xc]
mov edi, dword [esp + 0x4c]
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 1
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
call fcn.00513910
lea edi, [esp + 0x34]
lea esi, [esp + 0x20]
call fcn.0046c08e
lea edi, [esp]
lea esi, [esp + 0x34]
call fcn.0046c08e
call fcn.005110e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add eax, 0x15180
mov dword [esp], eax
adc ecx, 0
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x93a80
mov dword [esp + 0xc], 0
call fcn.00463a50
mov eax, dword [esp + 0x50]
movzx ecx, word [eax + 4]
mov edx, dword [esp + 0x10]
mov ebx, eax
mov eax, 0xc22e4507
mov ebp, edx
imul edx
mov eax, ebp
sar ebp, 0x1f
add eax, edx
sar eax, 0x10
sub eax, ebp
sub ecx, eax
test ecx, ecx
jge 0x5176f7
add ecx, 7
movzx edx, word [ebx + 6]
lea ebp, [edx - 1]
cmp ebp, 4
jge 0x517711
lea ebx, [edx + edx*2]
lea edx, [edx + ebx*2]
lea ecx, [ecx + edx - 6]
mov edx, ecx
jmp 0x517788
movzx eax, word [ebx + 2]
cmp eax, 2
jne 0x51775e
mov edx, dword [esp + 0x4c]
test edx, 3
jne 0x51775a
mov ebx, edx
sar edx, 0x1f
mov ebp, eax
mov eax, 0x51eb851f
mov esi, edx
imul ebx
mov edi, edx
sar edx, 5
sub edx, esi
imul edx, edx, 0x64
cmp ebx, edx
jne 0x517753
sar edi, 7
sub edi, esi
imul edx, edi, 0x190
cmp ebx, edx
jne 0x517760
mov ebx, 0x1d
jmp 0x51777e
mov ebp, eax
jmp 0x517760
mov ebp, eax
cmp ebp, 0xd
jae 0x5177fd
lea eax, [ebp - 1]
lea edx, [0x7db740]
mov ebx, dword [edx + ebp*4]
cmp eax, 0xd
jae 0x5177f3
sub ebx, dword [edx + ebp*4 - 4]
lea edx, [ecx + 0x1d]
cmp ebx, edx
jge 0x517788
lea edx, [ecx + 0x16]
mov ecx, dword [esp + 0x38]
test ecx, 0x80000000
je 0x5177ba
mov ebx, dword [esp + 0x34]
shl ecx, 1
mov ebp, ebx
shl ebx, 1
shr ebp, 0x1f
or ebp, ecx
mov ecx, ebp
shl ebp, 1
shr ecx, 0x1f
shr ebx, 0x1f
or ebp, ebx
add ebp, 0xd7b17f80
adc ecx, 0xd
jmp 0x5177c2
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
lea eax, [edx - 1]
mov edx, eax
sar edx, 0x1f
mov ebx, 0x15180
mov esi, edx
mul ebx
imul ebx, esi, 0x15180
add edx, ebx
add eax, ebp
adc edx, ecx
add eax, 0x886e0900
mov dword [esp + 0x54], eax
adc edx, 0xfffffff1
mov dword [esp + 0x58], edx
add esp, 0x48
ret
mov ecx, 0xd
call fcn.0046b9b0
mov eax, ebp
mov ecx, 0xd
call fcn.0046b9b0
nop
call fcn.0046a530
jmp fcn.00517620
Function at 0x52fa20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x82b814]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x52fb1a
sub esp, 0x20
mov ecx, dword [esp + 0x24]
test byte [ecx], al
mov edx, dword [esp + 0x28]
mov ebx, edx
and edx, 0x7f
shl edx, 5
add ecx, edx
mov dword [esp + 0x1c], ecx
xor eax, eax
jmp 0x52fa60
mov ebp, dword [esp + 0x14]
inc ebp
mov ecx, dword [esp + 0x1c]
mov ebx, eax
mov eax, ebp
cmp eax, 4
jge 0x52fa99
mov dword [esp + 0x14], eax
lea edx, [ecx + eax*8]
mov dword [esp], edx
call fcn.00470110
mov eax, dword [esp + 0x28]
cmp dword [esp + 4], eax
sete cl
mov edx, dword [esp + 0x2c]
cmp dword [esp + 8], edx
sete bl
and ebx, ecx
test bl, bl
je 0x52fa53
mov byte [esp + 0x30], 1
add esp, 0x20
ret
xor eax, eax
mov edx, 0x84222325
jmp 0x52faa3
inc eax
cmp eax, 4
jge 0x52fab9
mov dword [esp + 0x18], eax
lea ebp, [ecx + eax*8]
mov esi, dword [ebp]
mov ebp, dword [ebp + 4]
xor edi, edi
jmp 0x52fb13
and edx, 3
lea eax, [ecx + edx*8]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
call fcn.00470160
mov byte [esp + 0x30], 0
add esp, 0x20
ret
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
and esi, 0xff
xor edx, esi
mov esi, dword [esp + 0xc]
shr esi, 8
shl ebp, 0x18
mov eax, edx
mov ebx, 0x1b3
mul ebx
inc edi
or esi, ebp
mov ebp, dword [esp + 0x10]
shr ebp, 8
mov ebx, dword [esp + 0x28]
mov edx, eax
mov eax, dword [esp + 0x18]
cmp edi, 8
jl 0x52fadc
jmp 0x52faa2
call fcn.0046a530
jmp fcn.0052fa20
Function at 0x547aa0
Capabilities:
Hash data using sha224
Hash data using sha256

Disassembly:
mov ecx, dword [0x82b814]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x547cb4
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0xcc]
cmp ecx, 6
jne 0x547b37
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0xcbbb9d5d
mov dword [eax + 8], 0x367cd507
mov dword [eax + 0xc], 0x629a292a
mov dword [eax + 0x10], 0x3070dd17
mov dword [eax + 0x14], 0x9159015a
mov dword [eax + 0x18], 0xf70e5939
mov dword [eax + 0x1c], 0x152fecd8
mov dword [eax + 0x20], 0xffc00b31
mov dword [eax + 0x24], 0x67332667
mov dword [eax + 0x28], 0x68581511
mov dword [eax + 0x2c], 0x8eb44a87
mov dword [eax + 0x30], 0x64f98fa7
mov dword [eax + 0x34], 0xdb0c2e0d
mov dword [eax + 0x38], 0xbefa4fa4
mov dword [eax + 0x3c], 0x47b5481d
jmp 0x547c95
cmp ecx, 0xe
jne 0x547bb0
mov dword [eax], 0x19544da2
mov dword [eax + 4], 0x8c3d37c8
mov dword [eax + 8], 0x89dcd4d6
mov dword [eax + 0xc], 0x73e19966
mov dword [eax + 0x10], 0x32ff9c82
mov dword [eax + 0x14], 0x1dfab7ae
mov dword [eax + 0x18], 0x582f9fcf
mov dword [eax + 0x1c], 0x679dd514
mov dword [eax + 0x20], 0x7bd44da8
mov dword [eax + 0x24], 0xf6d2b69
mov dword [eax + 0x28], 0x4c48942
mov dword [eax + 0x2c], 0x77e36f73
mov dword [eax + 0x30], 0x6a1d36c8
mov dword [eax + 0x34], 0x3f9d85a8
mov dword [eax + 0x38], 0x91d692a1
mov dword [eax + 0x3c], 0x1112e6ad
jmp 0x547c95
cmp ecx, 0xf
jne 0x547c26
mov dword [eax], 0xfc2bf72c
mov dword [eax + 4], 0x22312194
mov dword [eax + 8], 0xc84c64c2
mov dword [eax + 0xc], 0x9f555fa3
mov dword [eax + 0x10], 0x6f53b151
mov dword [eax + 0x14], 0x2393b86b
mov dword [eax + 0x18], 0x5940eabd
mov dword [eax + 0x1c], 0x96387719
mov dword [eax + 0x20], 0xa88effe3
mov dword [eax + 0x24], 0x96283ee2
mov dword [eax + 0x28], 0x53863992
mov dword [eax + 0x2c], 0xbe5e1e25
mov dword [eax + 0x30], 0x2c85b8aa
mov dword [eax + 0x34], 0x2b0199fc
mov dword [eax + 0x38], 0x81c52ca2
mov dword [eax + 0x3c], 0xeb72ddc
jmp 0x547c95
mov dword [eax], 0xf3bcc908
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x3c], 0x5be0cd19
mov dword [eax + 0xc0], 0
mov dword [eax + 0xc4], 0
mov dword [eax + 0xc8], 0
ret
call fcn.0046a530
jmp fcn.00547aa0