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

Disassembly:
mov ecx, dword [0x590288]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x427504
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00425050
mov eax, dword [esp + 4]
test eax, eax
je 0x4274ed
mov dword [esp + 0xc], eax
lea ecx, [eax + 0x4c]
mov dword [esp + 0x18], ecx
mov edx, dword [0x590288]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov ebx, dword [edx + 0x18]
nop
inc dword [ebx + 0x7c]
mov edx, dword [edx + 0x18]
mov dword [esp + 0x14], edx
mov dword [esp], eax
call fcn.00422ab0
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 + 0xa], bl
nop
mov ebp, dword [esp + 0x18]
mov dword [esp], ebp
call fcn.00409cd0
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x50]
mov edx, dword [esp + 0x10]
movzx ebx, byte [esp + 0xa]
jmp 0x427457
mov ecx, ebp
mov ebp, dword [ecx]
test ebp, ebp
je 0x427482
movzx esi, word [ebp + 4]
cmp esi, edx
jne 0x42746c
cmp byte [ebp + 6], bl
je 0x427477
cmp esi, edx
ja 0x42747e
jne 0x427455
cmp byte [ebp + 6], bl
jbe 0x427455
jmp 0x42747e
mov ebx, 1
jmp 0x427484
xor ebx, ebx
jmp 0x427484
xor ebx, ebx
mov byte [esp + 0xb], bl
test bl, bl
jne 0x4274a2
mov ebx, dword [esp + 0x24]
mov word [ebx + 4], dx
mov edx, dword [ecx]
mov dword [ebx], edx
mov dword [ecx], ebx
mov dword [esp], eax
call fcn.004272c0
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00409ef0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0x590288]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x4274dd
movzx eax, byte [ebx + 0x69]
test al, al
je 0x4274dd
mov dword [ebx + 8], 0xfffffade
movzx eax, byte [esp + 0xb]
xor eax, 1
mov byte [esp + 0x28], al
add esp, 0x1c
ret
lea eax, [0x4ce729]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.004664c0
nop
call fcn.0046aae0
jmp fcn.004273c0
Function at 0x427980
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x590288]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x427b5a
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 2
ja 0x427a85
cmp cl, 1
je 0x427a14
cmp cl, 2
jne 0x427b43
mov ecx, dword [eax + 8]
test byte [ecx], al
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.004705f0
nop
nop
lea eax, [0x57c868]
mov dword [esp], eax
call fcn.00409cd0
mov eax, dword [0x57c85c]
sub eax, dword [0x57c840]
nop
mov dword [0x57c85c], eax
mov eax, dword [0x57c84c]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x57c84c], ecx
nop
lea eax, [0x57c868]
mov dword [esp], eax
call fcn.00409ef0
jmp 0x427b3f
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.00412f30
nop
nop
lea eax, [0x57c868]
mov dword [esp], eax
call fcn.00409cd0
mov eax, dword [0x57c7bc]
sub eax, dword [0x57c7a0]
nop
mov dword [0x57c7bc], eax
mov eax, dword [0x57c7ac]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x57c7ac], ecx
nop
lea eax, [0x57c868]
mov dword [esp], eax
call fcn.00409ef0
jmp 0x427b3f
cmp cl, 3
je 0x427ae7
cmp cl, 4
jne 0x427a98
mov byte [eax + 8], 1
jmp 0x427b3f
cmp cl, 5
jne 0x427b43
nop
nop
lea eax, [0x57c868]
mov dword [esp], eax
call fcn.00409cd0
mov eax, dword [0x57c834]
sub eax, dword [0x57c818]
nop
mov dword [0x57c834], eax
mov eax, dword [0x57c824]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x57c824], ecx
nop
lea eax, [0x57c868]
mov dword [esp], eax
call fcn.00409ef0
jmp 0x427b3f
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.0042ceb0
nop
nop
lea eax, [0x57c868]
mov dword [esp], eax
call fcn.00409cd0
mov eax, dword [0x57c7e4]
sub eax, dword [0x57c7c8]
nop
mov dword [0x57c7e4], eax
mov eax, dword [0x57c7d4]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x57c7d4], ecx
nop
nop
lea eax, [0x57c868]
mov dword [esp], eax
call fcn.00409ef0
add esp, 0x14
ret
lea eax, [0x4cabb0]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.004664c0
nop
call fcn.0046aae0
jmp fcn.00427980
Function at 0x42cf80
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x590288]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42d172
sub esp, 0x24
mov edx, dword [0x5905fc]
test edx, edx
je 0x42d0fc
mov edx, dword [esp + 0x38]
cmp edx, 5
jg 0x42d128
mov ebx, dword [0x590288]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov ebp, dword [ebx + 0x18]
nop
inc dword [ebp + 0x7c]
mov ebp, dword [ebx + 0x18]
mov esi, dword [ebp + 0x17c]
test esi, esi
jbe 0x42d11f
mov dword [esp + 0x20], ebp
mov esi, dword [ebp + 0x178]
mov dword [esi], 0xffffffff
mov esi, dword [ebx + 0x18]
mov esi, dword [esi + 0x50]
test esi, esi
je 0x42d03c
cmp ebx, esi
je 0x42d03c
mov ebx, dword [ebp + 0x17c]
cmp ebx, 1
jb 0x42d113
mov eax, dword [ebp + 0x178]
mov ecx, dword [ebp + 0x180]
mov dword [esp], esi
mov dword [esp + 4], edx
dec ecx
lea edx, [ebx - 1]
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 4
add eax, ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.004562c0
mov eax, dword [esp + 0x14]
jmp 0x42d07f
mov ebx, dword [ebp + 0x17c]
cmp ebx, 1
jb 0x42d107
mov eax, dword [ebp + 0x178]
mov ecx, dword [ebp + 0x180]
mov dword [esp], edx
dec ecx
lea edx, [ebx - 1]
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 4
add eax, ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.00469d90
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
mov edx, dword [ebx + 0x180]
cmp eax, edx
ja 0x42d100
mov ecx, dword [ebx + 0x178]
mov ebp, dword [esp + 0x28]
mov dword [esp], ebp
mov ebp, dword [esp + 0x2c]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x30]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x34]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
call fcn.0042da30
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0x590288]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x42d0f8
movzx eax, byte [ebx + 0x69]
test al, al
je 0x42d0f8
mov dword [ebx + 8], 0xfffffade
add esp, 0x24
ret
add esp, 0x24
ret
mov ecx, eax
call fcn.0046bfa0
mov eax, 1
xor ecx, ecx
call fcn.0046bfc0
mov eax, 1
xor ecx, ecx
call fcn.0046bfc0
xor eax, eax
mov ecx, eax
call fcn.0046bf60
call fcn.00436310
lea eax, [0x4ca7c7]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.00436b70
mov eax, dword [esp + 0x38]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.00436990
call fcn.00436370
lea eax, [0x4cb331]
mov dword [esp], eax
mov dword [esp + 4], 0x12
call fcn.004664c0
nop
call fcn.0046aae0
jmp fcn.0042cf80
Function at 0x432c10
Capabilities:
Access peb ldr_data

Disassembly:
sub esp, 8
mov dword [esp + 0x30], 0
mov eax, dword [0x590288]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [eax + 0x1b0], 8
lea ecx, [esp + 0x10]
mov dword [eax + 0x1b4], ecx
mov eax, dword [esp + 0xc]
mov dword [esp], eax
call fcn.004328f0
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
add esp, 8
ret
Function at 0x4506e0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x590288]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45083d
sub esp, 0x14
lea eax, [0x590614]
mov dword [esp], eax
call fcn.00470610
mov eax, dword [esp + 4]
mov dword [esp + 0x10], eax
test eax, eax
je 0x450717
mov ecx, dword [esp + 0x18]
jmp 0x450733
mov ecx, dword [esp + 0x18]
movzx edx, byte [ecx + 6]
test dl, dl
je 0x450733
lea eax, [ecx + 0x30]
nop
mov dword [esp], eax
call fcn.00409cd0
mov ecx, dword [esp + 0x18]
test byte [ecx], al
nop
nop
mov dword [esp], ecx
call fcn.00409cd0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x450757
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.004505e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
movzx edx, byte [ecx + 5]
test dl, 1
je 0x450797
mov ebx, edx
or edx, 2
mov byte [ecx + 5], dl
test dl, 4
jne 0x450797
or ebx, 6
mov byte [ecx + 5], bl
mov eax, dword [ecx + 0x2c]
test byte [eax], al
add eax, 0x14
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00470630
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 0x10]
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
test ebx, ebx
sete bl
xchg ebp, ebx
setg bl
xchg ebp, ebx
test edx, edx
seta dl
and ebx, edx
or ebx, ebp
mov byte [esp + 0xf], bl
test eax, eax
jne 0x4507d3
movzx edx, byte [ecx + 6]
test dl, dl
je 0x4507d3
inc dword [ecx + 0x28]
mov dword [esp], ecx
call fcn.004501f0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4507ea
movzx ebx, byte [esp + 0xf]
jmp 0x450835
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
test cl, cl
jne 0x4507fd
movzx ebx, byte [esp + 0xf]
jmp 0x450835
lea ecx, [eax + 0x30]
nop
mov dword [esp], ecx
call fcn.00409ef0
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
test cl, cl
jne 0x45081e
call fcn.00452400
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x24]
mov dword [esp], eax
call fcn.00405560
movzx ebx, byte [esp + 4]
movzx eax, byte [esp + 0xf]
or ebx, eax
mov byte [esp + 0x1c], bl
add esp, 0x14
ret
call fcn.0046aae0
jmp fcn.004506e0
Function at 0x452560
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x590288]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45265c
sub esp, 0x14
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x10], eax
test byte [eax], al
nop
nop
mov dword [esp], eax
call fcn.00409cd0
mov eax, dword [esp + 0x10]
movzx ecx, byte [eax + 6]
test cl, cl
jne 0x4525a3
call fcn.00452400
mov eax, dword [esp + 0x10]
inc dword [eax + 8]
movzx ecx, byte [eax + 5]
test cl, 1
je 0x4525f7
test cl, 4
je 0x4525f7
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
test ebx, ebx
setg bl
xchg ebp, ebx
sete bl
xchg ebp, ebx
test edx, edx
seta dl
and ebp, edx
or ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4525f7
and ecx, 0xfffffffb
mov byte [eax + 5], cl
mov ecx, dword [eax + 0x2c]
test byte [ecx], al
add ecx, 0x14
mov dword [esp], ecx
mov dword [esp + 4], 0xffffffff
call fcn.00470630
mov eax, dword [esp + 0x10]
movzx ecx, byte [eax + 5]
nop
test cl, 1
jne 0x452635
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
test edx, edx
setg dl
sete bl
test ecx, ecx
seta cl
and ebx, ecx
or ebx, edx
test bl, bl
je 0x452635
movzx ecx, byte [eax + 6]
test cl, cl
je 0x45262e
mov ecx, dword [eax + 8]
test ecx, ecx
seta cl
jmp 0x452637
mov ecx, 1
jmp 0x452637
xor ecx, ecx
mov byte [esp + 0xf], cl
mov dword [esp], eax
call fcn.004501f0
movzx eax, byte [esp + 0xf]
test al, al
je 0x452658
mov eax, dword [esp + 0x10]
mov dword [esp], eax
call fcn.00450d30
add esp, 0x14
ret
call fcn.0046aae0
jmp fcn.00452560
Function at 0x45bea0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x590288]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45c0aa
sub esp, 0x68
movzx eax, byte [esp + 0x88]
test al, al
je 0x45c05a
mov ecx, dword [esp + 0x8c]
test ecx, ecx
sete dl
mov ebx, dword [esp + 0x90]
test ebx, ebx
xchg ebp, ebx
sete bl
xchg ebp, ebx
and ebp, edx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x45bf6a
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x34], ebx
movzx eax, al
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 0x19
lea eax, [esp + 0x28]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 3
mov dword [esp + 0x18], 3
call fcn.00458760
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
jmp 0x45bfec
mov edx, dword [esp + 0x78]
mov dword [esp + 0x48], edx
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x4c], ebp
mov esi, dword [esp + 0x80]
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x84]
mov dword [esp + 0x54], esi
movzx eax, al
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ebx
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 0x30
lea eax, [esp + 0x48]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 4
mov dword [esp + 0x18], 4
call fcn.00458760
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
movzx ebx, byte [esp + 0x89]
test bl, bl
je 0x45c041
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x44], ebx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov byte [esp + 0xc], 0x22
lea eax, [esp + 0x40]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call fcn.00458760
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
add esp, 0x68
ret
call fcn.00436310
lea eax, [0x4ca556]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.00436b70
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
call fcn.00436860
call fcn.00436510
call fcn.00436370
lea eax, [0x4d1e74]
mov dword [esp], eax
mov dword [esp + 4], 0x2f
call fcn.004664c0
nop
call fcn.0046aae0
jmp fcn.0045bea0
Function at 0x4622d0
Capabilities:
Access peb ldr_data

Disassembly:
sub esp, 0x34
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4623d0
mov eax, dword [0x590288]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x28], eax
mov ecx, dword [eax + 0x98]
mov edx, dword [eax + 0x9c]
lea ebx, [eax + 0x1d0]
mov dword [esp + 0x30], ebx
lea ebp, [eax + 0x318]
mov dword [esp + 0x2c], ebp
add ecx, 1
mov dword [eax + 0x98], ecx
adc edx, 0
mov dword [eax + 0x9c], edx
mov ecx, dword [eax + 0xa8]
mov dword [ecx], 0
call fcn.004667b0
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.004332c0
mov eax, dword [esp + 0x28]
mov byte [eax + 0x8c], 1
inc dword [eax + 0xa0]
mov ecx, dword [esp + 0x38]
mov dword [esp], ecx
mov edx, dword [esp + 0x3c]
mov dword [esp + 4], edx
call fcn.0046bb70
mov eax, dword [esp + 8]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x28]
mov byte [ecx + 0x8c], 0
dec dword [ecx + 0xa0]
nop
mov edx, dword [esp + 0x2c]
mov dword [esp], edx
mov dword [esp + 4], 0
call fcn.00470770
lea edi, [esp + 0xc]
mov esi, dword [esp + 0x30]
call fcn.0046c5d4
call fcn.00466930
mov eax, dword [0x590288]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
test byte [eax], al
lea edi, [eax + 0x1d0]
lea esi, [esp + 0xc]
call fcn.0046c5d4
mov eax, dword [esp + 0x24]
mov dword [esp + 0x40], eax
add esp, 0x34
ret
lea eax, [0x4c9877]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.004664c0
nop
int3
Function at 0x4687a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x590288]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x46891a
sub esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x468910
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
test ebx, ebx
jne 0x4687fa
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4687fa
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 0x46880d
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0x4688e7
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 0x4688db
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 0x4688d2
movzx edx, byte [edx + eax]
test edx, 0x80
je 0x468860
mov dword [esp + 0xc], ecx
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x4688a3
mov eax, 1
cmp eax, ecx
ja 0x468897
mov esi, dword [esp + 0x20]
add dword [esi], edx
sub ebp, eax
sub ecx, eax
mov edx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
add eax, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov byte [esp + 0x38], 1
add esp, 0x10
ret
call fcn.0046bfd0
lea esi, [ecx + 7]
mov ecx, dword [esp + 0xc]
cmp eax, ecx
jae 0x4688cd
movzx edi, byte [eax + ebx]
xchg edi, eax
mov byte [esp + 0xb], al
xchg edi, eax
and edi, 0x7f
mov ecx, esi
shl edi, cl
inc eax
or edx, edi
movzx edi, byte [esp + 0xb]
xchg edi, eax
test al, 0x80
xchg edi, eax
jne 0x46889c
mov ecx, dword [esp + 0xc]
jmp 0x468865
call fcn.0046bf70
xor eax, eax
mov ecx, eax
call fcn.0046bf60
call fcn.0046bfd0
lea ebp, [ecx + 7]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jbe 0x46890b
movzx esi, byte [eax + edx]
mov edi, esi
and esi, 0x7f
mov ecx, ebp
shl esi, cl
inc eax
or ebx, esi
xchg edi, eax
test al, 0x80
xchg edi, eax
jne 0x4688e0
mov ecx, dword [esp + 0x18]
jmp 0x468812
call fcn.0046bf70
xor eax, eax
mov ecx, eax
call fcn.0046bf60
nop
call fcn.0046aae0
jmp fcn.004687a0
Function at 0x469d90
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x590288]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x469e2b
sub esp, 0x30
lea ecx, [esp + 0x34]
mov dword [esp + 4], ecx
mov edx, dword [0x590288]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov dword [esp + 8], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.0046c0f7
lea ecx, [0x456200]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
lea ecx, [esp + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0xc]
mov dword [esp], ecx
call fcn.0046a9f0
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.0046aae0
jmp fcn.00469d90
Function at 0x46bd90
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 [0x5904c0]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x46a51b
je 0x46a56e
cmp ebx, 0x20
jbe 0x46a574
cmp ebx, 0x40
jbe 0x46a5ba
jmp 0x46a65b
test ebx, ebx
je 0x46a564
add eax, 0x10
test ax, 0xff0
je 0x46a550
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x4ef120]
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 + 0x4ef220]
jmp 0x46a538
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x46a538
pxor xmm1, xmmword [0x5904d0]
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 [0x5904d0]
pxor xmm2, xmmword [0x5904e0]
pxor xmm3, xmmword [0x5904f0]
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 [0x5904d0]
pxor xmm2, xmmword [0x5904e0]
pxor xmm3, xmmword [0x5904f0]
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 0x46a6ba
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 [0x590168], 0
je 0x46bdaa
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x46a4e0
jmp fcn.00408840
Function at 0x46bdb0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov ecx, dword [0x590288]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40367c
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.00408840
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
add esp, 0x10
ret
call fcn.0046aae0
jmp 0x403640
cmp byte [0x590168], 0
je 0x46bdcb
mov eax, dword [esp + 4]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0xc]
jmp 0x46a4e0
jmp 0x403640

Function at 0x46cc50
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 0x46cc6a
mov ecx, 0x14
jmp 0x46cc73
shl ecx, 2
add ecx, 0xe10
mov dword [0x590288], ecx
ret
Function at 0x485230
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x590288]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x48532a
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 0x485270
mov ebp, dword [esp + 0x14]
inc ebp
mov ecx, dword [esp + 0x1c]
mov ebx, eax
mov eax, ebp
cmp eax, 4
jge 0x4852a9
mov dword [esp + 0x14], eax
lea edx, [ecx + eax*8]
mov dword [esp], edx
call fcn.004703a0
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 0x485263
mov byte [esp + 0x30], 1
add esp, 0x20
ret
xor eax, eax
mov edx, 0x84222325
jmp 0x4852b3
inc eax
cmp eax, 4
jge 0x4852c9
mov dword [esp + 0x18], eax
lea ebp, [ecx + eax*8]
mov esi, dword [ebp]
mov ebp, dword [ebp + 4]
xor edi, edi
jmp 0x485323
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.004703e0
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 0x4852ec
jmp 0x4852b2
call fcn.0046aae0
jmp fcn.00485230