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

Disassembly:
mov ecx, dword [0x5915c4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40a62a
sub esp, 0x2c
movsd xmm0, qword [esp + 0x30]
movsd qword [esp], xmm0
call fcn.0040a730
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, ecx
shr ecx, 0x14
and ecx, 0x7ff
mov ebx, edx
shr edx, 0xf
and edx, 0x1f
shl ebx, 5
shr eax, 0x1b
or eax, ebx
and eax, 0xfffff
mov dword [esp + 0x10], eax
lea ebx, [0x54ad20]
movsd xmm0, qword [ebx + edx*8]
movsd qword [esp + 0x14], xmm0
add ecx, 0xfffffc01
mov ebp, 0xffffffff
adc ebp, 0
add edx, 1
movsd xmm1, qword [ebx + edx*8]
movsd qword [esp + 0x1c], xmm1
mov dword [esp], ecx
mov dword [esp + 4], ebp
call fcn.00467090
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x24], xmm0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00467110
movsd xmm0, qword [esp + 0x24]
movsd xmm1, qword [esp + 0x14]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x1c]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0x4d9578]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd qword [esp + 0x38], xmm0
add esp, 0x2c
ret
call fcn.0046c370
jmp fcn.0040a540

Function at 0x40e290
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x5915c4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40e3b8
sub esp, 0x20
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x24]
bsf ebx, edx
jne 0x40e2b8
mov ebx, 0x20
mov ebp, dword [eax + 0x20]
bsf esi, ebp
jne 0x40e2c5
mov esi, 0x20
cmp ebp, 1
sbb edi, edi
xor edi, 0xffffffff
xchg edi, ebx
not ebx
xchg edi, ebx
and edi, ebx
lea ebx, [esi + edi]
cmp ebx, 0x40
jge 0x40e3ac
mov dword [esp + 0x10], ebp
movzx ecx, word [eax + 0x18]
lea ebp, [ebx + ecx]
movzx eax, word [eax + 0x1a]
cmp ax, bp
jbe 0x40e3ac
lea ebx, [ebx + ecx + 1]
test bx, 0x3f
jne 0x40e315
cmp ax, bx
je 0x40e315
mov dword [esp + 0x28], 0
add esp, 0x20
ret
mov word [esp + 0xa], bx
mov dword [esp + 0xc], edx
lea ecx, [esi + edi - 0x1f]
mov dword [esp + 0x1c], ecx
mov eax, edx
shr edx, cl
mov dword [esp + 0x18], edx
neg ecx
shl eax, cl
lea esi, [esi + edi + 1]
mov edi, ecx
mov ecx, esi
mov ebx, dword [esp + 0xc]
shr ebx, cl
mov edx, dword [esp + 0x10]
shr edx, cl
movzx ebp, bp
mov dword [esp + 0x14], ebp
cmp ecx, 0x20
sbb esi, esi
and edx, esi
and ebx, esi
cmp edi, 0x20
sbb esi, esi
and eax, esi
or eax, edx
mov edx, dword [esp + 0x1c]
cmp edx, 0x20
sbb edx, edx
mov esi, dword [esp + 0x18]
and esi, edx
or eax, esi
mov edx, dword [esp + 0x24]
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], ebx
movzx eax, word [esp + 0xa]
mov word [edx + 0x18], ax
movzx eax, word [edx + 0x3c]
inc eax
mov word [edx + 0x3c], ax
mov dword [esp], edx
call fcn.0042d300
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
imul eax, dword [edx + 0x44]
add eax, dword [esp + 4]
mov dword [esp + 0x28], eax
add esp, 0x20
ret
mov dword [esp + 0x28], 0
add esp, 0x20
ret
call fcn.0046c370
jmp fcn.0040e290
Function at 0x41b6d0
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [0x5915c4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41b8a6
sub esp, 0x18
mov eax, dword [0x591500]
test eax, eax
jne 0x41b88f
lea eax, [0x5914f0]
mov dword [esp], eax
call fcn.0040c9b0
mov eax, dword [0x5914f4]
test eax, eax
je 0x41b716
cmp dword [eax + 8], 0xcc
jne 0x41b78c
mov eax, dword [0x5914f8]
test eax, eax
jne 0x41b76e
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x593dd0]
mov dword [esp + 8], eax
call fcn.0040f1c0
mov eax, dword [esp + 0xc]
mov dword [0x5914f8], eax
mov ecx, dword [0x5914fc]
mov dword [eax], ecx
mov eax, dword [0x5914f8]
mov dword [0x5914fc], eax
movzx eax, byte [0x591940]
test al, al
jne 0x41b76e
xor eax, eax
jmp 0x41b883
mov eax, dword [0x5914f8]
mov ecx, dword [eax + 4]
mov dword [0x5914f8], ecx
mov ecx, dword [0x5914f4]
mov dword [eax + 4], ecx
mov dword [0x5914f4], eax
mov eax, dword [0x5914f4]
mov dword [esp + 0x14], eax
mov ecx, dword [eax + 8]
mov dword [esp + 0x10], ecx
lea edx, [eax + 8]
mov dword [esp], edx
mov dword [esp + 4], 1
call fcn.00403d80
mov eax, dword [0x591668]
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
test eax, eax
jne 0x41b7d3
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
jmp 0x41b813
call fcn.0046d7e0
mov eax, dword [esp + 0x20]
mov dword [edi], eax
mov edx, dword [esp + 0x14]
mov ebx, dword [edx + ecx*4 + 0x10]
mov dword [edi + 4], ebx
mov ebx, dword [esp + 0x28]
mov dword [edi + 8], ebx
mov ebp, dword [edx + ecx*4 + 0x1c]
mov dword [edi + 0xc], ebp
mov ebp, dword [esp + 0x2c]
mov dword [edi + 0x10], ebp
mov esi, dword [edx + ecx*4 + 0x20]
mov dword [edi + 0x14], esi
mov esi, dword [esp + 0x1c]
mov dword [edi + 0x18], esi
mov esi, dword [edx + ecx*4 + 0x14]
mov dword [edi + 0x1c], esi
mov dword [edx + ecx*4 + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [edx + ecx*4 + 0x18], eax
mov dword [edx + ecx*4 + 0x1c], ebx
mov dword [edx + ecx*4 + 0x20], ebp
mov eax, dword [esp + 0x1c]
mov dword [edx + ecx*4 + 0x14], eax
lea eax, [0x5914f0]
mov dword [esp], eax
call fcn.0040cbd0
lea eax, [0x5914ec]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00403860
add esp, 0x18
ret
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
lea edx, [edx + edx*4]
mov ebx, ecx
sub ecx, edx
lea edx, [0x54a238]
movzx ecx, byte [edx + ecx]
lea ebp, [0x591940]
mov byte [ebp + ebx], cl
lea eax, [ebx + 1]
cmp eax, 0x80
jl 0x41b857
jmp 0x41b76e
lea eax, [0x4cd7df]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.0043e340
nop
call fcn.0046c370
jmp fcn.0041b6d0
Function at 0x430410
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x5915c4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x430549
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 2
ja 0x4304ec
cmp cl, 1
je 0x430490
cmp cl, 2
jne 0x430532
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.00435df0
lea eax, [0x55d940]
mov dword [esp], eax
call fcn.0040c9b0
lea eax, [0x55d8c8]
mov dword [esp], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
call fcn.0041c7d0
lea eax, [0x55d940]
mov dword [esp], eax
call fcn.0040cbd0
jmp 0x43052e
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.0041b6d0
lea eax, [0x55d940]
mov dword [esp], eax
call fcn.0040c9b0
lea eax, [0x55d8a0]
mov dword [esp], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
call fcn.0041c7d0
lea eax, [0x55d940]
mov dword [esp], eax
call fcn.0040cbd0
jmp 0x43052e
cmp cl, 3
jne 0x4304f7
mov byte [eax + 8], 1
jmp 0x43052e
cmp cl, 4
jne 0x430532
lea eax, [0x55d940]
mov dword [esp], eax
call fcn.0040c9b0
lea eax, [0x55d918]
mov dword [esp], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
call fcn.0041c7d0
lea eax, [0x55d940]
mov dword [esp], eax
call fcn.0040cbd0
add esp, 0x14
ret
lea eax, [0x4cb234]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.0043e340
nop
call fcn.0046c370
jmp fcn.00430410
Function at 0x4365f0
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x5915c4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4366c9
sub esp, 0x2c
mov eax, dword [esp + 0x30]
mov dword [eax + 0x88], 0
lea ecx, [0x5918f0]
mov dword [esp], ecx
call fcn.00403550
mov eax, dword [esp + 4]
test eax, eax
je 0x4366b0
mov dword [esp + 8], 0
mov ecx, dword [0x5915c4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov dword [esp + 0xc], ecx
lea edx, [esp + 0x30]
lea edi, [esp + 0x10]
xor eax, eax
call fcn.0046d869
lea ecx, [0x4366e0]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 8]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 3
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x28], ecx
lea edx, [esp + 0x10]
mov dword [esp], edx
call fcn.0046c280
mov ecx, dword [esp + 8]
cmp ecx, 0x20
jge 0x4366ac
mov eax, dword [esp + 0x30]
mov dword [eax + ecx*4 + 8], 0
add esp, 0x2c
ret
lea eax, [fcn.0044b090]
inc eax
mov ecx, dword [esp + 0x30]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], 0
add esp, 0x2c
ret
call fcn.0046c370
jmp fcn.004365f0
Function at 0x45f820
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x5915c4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45fa02
sub esp, 0x54
mov eax, dword [0x5915c4]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x50]
mov dword [esp + 0x4c], eax
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x58]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x58]
mov dword [esp], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 4], edx
mov word [esp + 8], 0x101
call fcn.0045de40
mov eax, dword [esp + 0xc]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 0x4c]
lea ebp, [ebx + 0xe0]
mov dword [esp], ebp
mov ebp, dword [esp + 0x5c]
mov dword [esp + 4], ebp
call fcn.00461000
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov edx, dword [esp + 0x4c]
mov ebx, dword [edx + 0x50]
mov edx, dword [edx + 0x54]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 0x10
lea eax, [esp + 0x2c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 2
call fcn.0045e0e0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 0x28]
mov dword [esp], ebx
call fcn.004511f0
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x970]
test eax, eax
jne 0x45f961
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x3c]
jmp 0x45f9ee
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.004511f0
mov eax, dword [esp + 0x5c]
and eax, 1
shl eax, 5
lea ecx, [0x591310]
add eax, ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov ecx, dword [ecx + 0x970]
lea eax, [eax + ecx*8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 0x27
lea eax, [esp + 0x44]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call fcn.0045e0e0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0045e160
add esp, 0x54
ret
call fcn.0046c370
jmp fcn.0045f820
Function at 0x45fd30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x5915c4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45ff06
sub esp, 0x6c
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
mov word [esp + 8], 0x102
call fcn.0045de40
mov eax, dword [esp + 0x78]
test byte [eax], al
lea ecx, [eax + 0xe0]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x64], edx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x44], ebx
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x40], ebp
mov dword [esp], ecx
mov esi, dword [esp + 0x74]
mov dword [esp + 4], esi
call fcn.00460f60
movzx eax, byte [esp + 8]
test al, al
je 0x45fdb4
mov ebx, dword [esp + 0x44]
mov edx, dword [esp + 0x64]
mov ebp, dword [esp + 0x40]
jmp 0x45fe36
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
call fcn.00460e70
movzx eax, byte [esp + 8]
test al, al
jne 0x45fddf
mov ebx, dword [esp + 0x44]
mov edx, dword [esp + 0x64]
mov ebp, dword [esp + 0x40]
jmp 0x45fe36
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x50]
mov edx, dword [eax + 0x54]
movzx ebx, byte [eax + 0x6e]
mov ebp, dword [esp + 0x64]
mov dword [esp], ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x40]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x18], 0xffffffff
mov byte [esp + 0x1c], 4
mov byte [esp + 0x1d], bl
call fcn.00460b80
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x60], edx
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call fcn.00461000
mov eax, dword [esp + 8]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x70]
mov dword [esp], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 8], edx
call fcn.0045e2f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], ecx
lea edi, [esp + 0x48]
mov edx, eax
xor eax, eax
call fcn.0046d86a
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x50]
mov eax, dword [eax + 0x54]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], edx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 0x15
lea eax, [esp + 0x48]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 3
mov dword [esp + 0x18], 3
call fcn.0045e060
add esp, 0x6c
ret
call fcn.0046c370
jmp fcn.0045fd30
Function at 0x463ed0
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x5915c4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x463f6b
sub esp, 0x30
lea ecx, [esp + 0x34]
mov dword [esp + 4], ecx
mov edx, dword [0x5915c4]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov dword [esp + 8], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.0046d867
lea ecx, [0x463f80]
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.0046c280
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.0046c370
jmp fcn.00463ed0
Function at 0x46a530
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x5915c4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x46a6b1
sub esp, 0x24
mov eax, dword [esp + 0x28]
test byte [eax], al
lea ecx, [eax + 0x18]
mov dword [esp + 0x20], ecx
mov dword [esp], ecx
call fcn.0040c9b0
mov eax, dword [esp + 0x28]
movzx ecx, byte [eax + 0x1c]
test cl, cl
jne 0x46a69a
mov byte [eax + 0x1c], 1
inc dword [eax + 0x24]
inc dword [eax + 0x60]
mov dword [esp], eax
call fcn.00439640
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.00439d40
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.00439d40
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x3c]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], edx
test ecx, ecx
je 0x46a617
lea ecx, [eax + 0x28]
mov dword [esp], ecx
call fcn.0045b720
mov eax, dword [0x591668]
test eax, eax
jne 0x46a5fe
mov eax, dword [esp + 0x28]
jmp 0x46a60c
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x3c]
call fcn.0046d770
mov dword [edi], ecx
mov dword [eax + 0x3c], 0
mov edx, dword [esp + 0x18]
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x46a64e
lea ecx, [eax + 0x64]
mov dword [esp], ecx
call fcn.0045b720
mov eax, dword [0x591668]
test eax, eax
jne 0x46a639
mov eax, dword [esp + 0x28]
jmp 0x46a647
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x78]
call fcn.0046d770
mov dword [edi], ecx
mov dword [eax + 0x78], 0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.0040cbd0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x46a672
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00439ba0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x46a68a
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00439ba0
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.00439e40
add esp, 0x24
ret
lea eax, [0x4d08c4]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call fcn.0043e340
nop
call fcn.0046c370
jmp fcn.0046a530
Function at 0x46d620
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 [0x5917e0]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x46bdab
je 0x46bdfe
cmp ebx, 0x20
jbe 0x46be04
cmp ebx, 0x40
jbe 0x46be4a
jmp 0x46beeb
test ebx, ebx
je 0x46bdf4
add eax, 0x10
test ax, 0xff0
je 0x46bde0
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x4d9e60]
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 + 0x4d9f60]
jmp 0x46bdc8
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x46bdc8
pxor xmm1, xmmword [0x5917f0]
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 [0x5917f0]
pxor xmm2, xmmword [0x591800]
pxor xmm3, xmmword [0x591810]
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 [0x5917f0]
pxor xmm2, xmmword [0x591800]
pxor xmm3, xmmword [0x591810]
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 0x46bf4a
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 [0x5914a6], 0
je 0x46d63a
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x46bd70
jmp fcn.0040a8f0
Function at 0x46d640
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov ecx, dword [0x5915c4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40507c
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.0040a8f0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
add esp, 0x10
ret
call fcn.0046c370
jmp 0x405040
cmp byte [0x5914a6], 0
je 0x46d65b
mov eax, dword [esp + 4]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0xc]
jmp 0x46bd70
jmp 0x405040

Function at 0x46e3c0
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 0x46e3da
mov ecx, 0x14
jmp 0x46e3e3
shl ecx, 2
add ecx, 0xe10
mov dword [0x5915c4], ecx
ret
Function at 0x49caa0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x5915c4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x49cc40
sub esp, 0xc
mov eax, dword [esp + 0x14]
cmp eax, 2
jl 0x49cb75
mov ecx, dword [esp + 0x10]
movzx edx, byte [ecx]
cmp byte [ecx + 1], 0x3a
jne 0x49caf9
lea ebx, [edx - 0x30]
cmp bl, 9
jbe 0x49cae9
lea ebx, [edx - 0x61]
cmp bl, 0x19
jbe 0x49cae9
lea ebx, [edx - 0x41]
cmp bl, 0x19
ja 0x49caf9
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 2
add esp, 0xc
ret
cmp eax, 5
jge 0x49cb02
xor edx, edx
jmp 0x49cb19
mov byte [esp], dl
call fcn.0049c930
movzx eax, byte [esp + 4]
mov ecx, dword [esp + 0x10]
mov edx, eax
mov eax, dword [esp + 0x14]
test dl, dl
jne 0x49cb21
xor edx, edx
jmp 0x49cb64
movzx eax, byte [ecx + 1]
mov byte [esp], al
call fcn.0049c930
movzx eax, byte [esp + 4]
test al, al
jne 0x49cb42
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
xor edx, edx
jmp 0x49cb64
mov eax, dword [esp + 0x10]
movzx ecx, byte [eax + 2]
mov byte [esp], cl
call fcn.0049c930
movzx eax, byte [esp + 4]
xor eax, 1
mov ecx, dword [esp + 0x10]
mov edx, eax
mov eax, dword [esp + 0x14]
test dl, dl
je 0x49cb89
cmp byte [ecx + 2], 0x2e
je 0x49cb89
mov edx, 3
jmp 0x49cbac
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
add esp, 0xc
ret
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
add esp, 0xc
ret
mov ebx, dword [esp + 8]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea ebx, [eax - 1]
cmp edx, ebx
jge 0x49cb89
mov dword [esp + 8], edx
movzx eax, byte [edx + ecx]
mov byte [esp], al
call fcn.0049c930
movzx eax, byte [esp + 4]
test al, al
je 0x49cb9d
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
movzx edx, byte [ecx + eax + 1]
mov byte [esp], dl
call fcn.0049c930
movzx eax, byte [esp + 4]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 8]
lea ebx, [edx + ecx + 1]
test al, al
jne 0x49cb89
cmp byte [ebx], 0x2e
je 0x49cb89
lea eax, [edx + 1]
jmp 0x49cc0b
mov edx, dword [esp + 8]
lea eax, [edx + 1]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
cmp edx, eax
jle 0x49cc34
mov dword [esp + 8], eax
movzx edx, byte [eax + ecx]
mov byte [esp], dl
call fcn.0049c930
movzx eax, byte [esp + 4]
test al, al
je 0x49cc00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
add esp, 0xc
ret
call fcn.0046c370
jmp fcn.0049caa0