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

Disassembly:
mov ecx, dword [0x99f274]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40d86b
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40d6c9
mov eax, 0x7000000
jmp 0x40d6d1
test eax, eax
je 0x40d846
mov dword [esp + 0x34], eax
mov ecx, dword [0x99f274]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x4a4]
mov ebx, dword [ecx + 0x4a8]
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
lea edx, [ebp + ebx]
shr edx, 6
inc edx
mov dword [ecx + 0x4a4], ebx
mov dword [ecx + 0x4a8], ebp
mov dword [esp], edx
call fcn.0046c6c0
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x24], xmm0
mov eax, dword [esp + 0x28]
mov ecx, eax
shr ecx, 0x14
and ecx, 0x7ff
mov edx, eax
shr edx, 0xf
and edx, 0x1f
shl eax, 5
mov ebx, dword [esp + 0x24]
shr ebx, 0x1b
or ebx, eax
lea eax, [0x928d20]
movsd xmm0, qword [eax + edx*8]
mov ebp, ecx
add ecx, 0xfffffc01
add edx, 1
mov esi, 0
adc esi, 0
test esi, esi
jne 0x40d85e
cmp edx, 0x21
jae 0x40d852
movsd qword [esp + 0x14], xmm0
add ebp, 0xfffffc01
mov ebp, 0xffffffff
adc ebp, 0
and ebx, 0xfffff
mov dword [esp + 0x10], ebx
movsd xmm0, qword [eax + edx*8]
movsd qword [esp + 0x1c], xmm0
mov dword [esp], ecx
mov dword [esp + 4], ebp
call fcn.00464510
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x2c], xmm0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.004645e0
movsd xmm0, qword [esp + 0x2c]
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 [0x76f110]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x76f168]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40d821
xorps xmm0, xmm0
mov eax, dword [esp + 0x34]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x76f1a0]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x40], eax
add esp, 0x38
ret
mov dword [esp + 0x40], 0
add esp, 0x38
ret
mov eax, edx
mov ecx, 0x21
call fcn.0046c7a0
mov eax, edx
mov ecx, 0x21
call fcn.0046c870
nop
call fcn.0046b310
jmp fcn.0040d6a0
Function at 0x417d60
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [0x99f274]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x417f5e
sub esp, 0x18
mov eax, dword [0x99f0c4]
test eax, eax
jne 0x417f47
nop
nop
lea eax, [0x99f0b4]
mov dword [esp], eax
call fcn.0040b280
mov eax, dword [0x99f0b8]
test eax, eax
je 0x417da8
cmp dword [eax + 8], 0xcc
jne 0x417e1e
mov edx, dword [0x99f0bc]
test edx, edx
jne 0x417e00
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x9a3e50]
mov dword [esp + 8], eax
call fcn.0040d880
mov eax, dword [esp + 0xc]
mov dword [0x99f0bc], eax
mov ecx, dword [0x99f0c0]
mov dword [eax], ecx
mov eax, dword [0x99f0bc]
mov dword [0x99f0c0], eax
movzx eax, byte [0x99f860]
test al, al
jne 0x417e00
xor eax, eax
jmp 0x417f18
mov edx, dword [0x99f0bc]
mov ebx, dword [edx + 4]
mov dword [0x99f0bc], ebx
mov ebx, dword [0x99f0b8]
mov dword [edx + 4], ebx
mov dword [0x99f0b8], edx
mov edx, dword [0x99f0b8]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x417ef7
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
lea eax, [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00403020
mov eax, dword [0x99f370]
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
test eax, eax
jne 0x417e70
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
jmp 0x417eb0
call fcn.0046c780
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
nop
nop
lea eax, [0x99f0b4]
mov dword [esp], eax
call fcn.0040b4a0
nop
lea eax, [0x99f0b0]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.004031a0
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.0046c7a0
lea edx, [0x923b40]
movzx ebx, byte [edx + eax]
lea ebp, [0x99f860]
mov byte [ebp + ecx], bl
lea eax, [ecx + 1]
cmp eax, 0x80
jge 0x417e00
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 5
jb 0x417f01
mov ecx, 5
call fcn.0046c790
lea eax, [0x6f2f9c]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.0043a3f0
nop
call fcn.0046b310
jmp fcn.00417d60
Function at 0x42c5d0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x99f274]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42c740
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 2
ja 0x42c6d0
cmp cl, 1
je 0x42c662
cmp cl, 2
jne 0x42c729
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.00431bc0
nop
nop
lea eax, [0x96b500]
mov dword [esp], eax
call fcn.0040b280
mov eax, dword [0x96b4a4]
sub eax, dword [0x96b488]
nop
mov dword [0x96b4a4], eax
mov eax, dword [0x96b494]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x96b494], ecx
nop
lea eax, [0x96b500]
mov dword [esp], eax
call fcn.0040b4a0
jmp 0x42c725
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.00417d60
nop
nop
lea eax, [0x96b500]
mov dword [esp], eax
call fcn.0040b280
mov eax, dword [0x96b47c]
sub eax, dword [0x96b460]
nop
mov dword [0x96b47c], eax
mov eax, dword [0x96b46c]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x96b46c], ecx
nop
lea eax, [0x96b500]
mov dword [esp], eax
call fcn.0040b4a0
jmp 0x42c725
cmp cl, 3
jne 0x42c6db
mov byte [eax + 8], 1
jmp 0x42c725
cmp cl, 4
jne 0x42c729
nop
nop
lea eax, [0x96b500]
mov dword [esp], eax
call fcn.0040b280
mov eax, dword [0x96b4f4]
sub eax, dword [0x96b4d8]
nop
mov dword [0x96b4f4], eax
mov eax, dword [0x96b4e4]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x96b4e4], ecx
nop
nop
lea eax, [0x96b500]
mov dword [esp], eax
call fcn.0040b4a0
add esp, 0x14
ret
lea eax, [0x6ee134]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.0043a3f0
nop
call fcn.0046b310
jmp fcn.0042c5d0
Function at 0x432430
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x99f274]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x432516
sub esp, 0x2c
mov eax, dword [esp + 0x30]
mov dword [eax + 0x88], 0
lea ecx, [0x99f810]
mov dword [esp], ecx
call fcn.00402f90
mov eax, dword [esp + 4]
test eax, eax
je 0x4324f2
mov dword [esp + 8], 0
mov ecx, dword [0x99f274]
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.0046c9a9
lea ecx, [0x432520]
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.0046b220
mov eax, dword [esp + 8]
cmp eax, 0x20
jge 0x4324ee
jae 0x43250b
mov ecx, dword [esp + 0x30]
mov dword [ecx + eax*4 + 8], 0
add esp, 0x2c
ret
lea eax, [fcn.00447490]
inc eax
mov ecx, dword [esp + 0x30]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], 0
add esp, 0x2c
ret
mov ecx, 0x20
call fcn.0046c790
nop
call fcn.0046b310
jmp fcn.00432430
Function at 0x445570
Capabilities:
Access peb ldr_data

Disassembly:
sub esp, 0x2c
call fcn.0045c140
mov eax, dword [0x99f274]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov ecx, dword [eax + 0x18]
mov edx, dword [esp]
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 4]
mov dword [esp + 0xc], ebx
inc dword [ecx + 0x7c]
mov dword [eax + 8], 0xfffffade
mov byte [eax + 0x6b], 1
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
mov ebp, dword [esp + 0x34]
mov dword [esp + 4], ebp
call fcn.00445510
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x38], eax
mov edx, dword [esp + 0x30]
mov dword [ecx + 0x3c], edx
mov dword [esp], ecx
mov dword [esp + 4], 2
mov dword [esp + 8], 3
call fcn.0043efb0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x38]
cmp dword [eax], ecx
ja 0x4455f5
cmp dword [eax + 4], ecx
jae 0x445623
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
lea ecx, [0x4457d0]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x24]
mov dword [esp], ecx
call fcn.0046b220
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x445679
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
lea eax, [0x445780]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
mov dword [esp], eax
call fcn.0046b220
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call fcn.00445510
lea eax, [0x961620]
mov dword [esp], eax
call fcn.00402e20
movzx eax, byte [esp + 4]
test al, al
je 0x4456b2
lea eax, [0x721744]
mov dword [esp], eax
call fcn.0046b220
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call fcn.00445510
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x58]
test byte [ecx], al
mov ecx, dword [ecx + 0x11a0]
test ecx, ecx
je 0x4456ee
lea eax, [0x7218f8]
mov dword [esp], eax
call fcn.0046b220
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call fcn.00445510
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x58]
mov edx, dword [edx + 0x10]
mov dword [ecx + 0x1f8], edx
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x58]
lea edx, [ecx + 4]
mov dword [ecx + 0x2c], 0
mov ebx, dword [eax + 0x18]
mov dword [ebx + 0x60], ecx
mov ecx, dword [eax + 0x18]
mov dword [ecx + 0x58], 0
mov dword [esp], edx
mov dword [esp + 4], 2
call fcn.004030f0
lea eax, [0x961614]
mov dword [esp], eax
call fcn.00402e20
movzx eax, byte [esp + 4]
test al, al
je 0x445766
lea eax, [0x721740]
mov dword [esp], eax
call fcn.0046b220
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.00445510
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x18]
dec dword [eax + 0x7c]
add esp, 0x2c
ret
Function at 0x457db0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x99f274]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x457f2a
sub esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x457f20
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
test ebx, ebx
jne 0x457e0a
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x457e0a
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 0x457e1d
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0x457ef7
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 0x457eeb
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 0x457ee2
movzx edx, byte [edx + eax]
test edx, 0x80
je 0x457e70
mov dword [esp + 0xc], ecx
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x457eb3
mov eax, 1
cmp eax, ecx
ja 0x457ea7
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.0046c800
lea esi, [ecx + 7]
mov ecx, dword [esp + 0xc]
cmp eax, ecx
jae 0x457edd
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 0x457eac
mov ecx, dword [esp + 0xc]
jmp 0x457e75
call fcn.0046c7a0
xor eax, eax
mov ecx, eax
call fcn.0046c790
call fcn.0046c800
lea ebp, [ecx + 7]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jbe 0x457f1b
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 0x457ef0
mov ecx, dword [esp + 0x18]
jmp 0x457e22
call fcn.0046c7a0
xor eax, eax
mov ecx, eax
call fcn.0046c790
nop
call fcn.0046b310
jmp fcn.00457db0
Function at 0x45d270
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x99f274]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45d45d
sub esp, 0x68
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
mov word [esp + 8], 0x102
call fcn.0045b660
mov eax, dword [esp + 0x74]
test byte [eax], al
mov ecx, eax
mov eax, 0xaaaaaaab
mov edx, dword [esp + 0x70]
mov ebx, edx
mul edx
shr edx, 1
lea eax, [edx + edx*2]
sub ebx, eax
lea eax, [ecx + ebx*4 + 0xe0]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x64], ebx
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x44], ebp
mov esi, dword [esp + 0x14]
mov dword [esp + 0x40], esi
mov dword [esp], eax
call fcn.00402eb0
mov eax, dword [esp + 4]
test eax, eax
je 0x45d2fe
mov ebp, dword [esp + 0x44]
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x40]
jmp 0x45d386
mov eax, dword [esp + 0x74]
lea ecx, [eax + 0xe0]
mov dword [esp], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
call fcn.0045e210
movzx eax, byte [esp + 8]
test al, al
jne 0x45d32f
mov ebp, dword [esp + 0x44]
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x40]
jmp 0x45d386
mov eax, dword [esp + 0x74]
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.0045df20
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x60], ebx
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0x70]
mov ecx, eax
and eax, 1
mov edx, dword [esp + 0x74]
lea eax, [edx + eax*8 + 0xec]
mov edi, dword [eax]
mov esi, dword [eax + 4]
add edi, 1
mov dword [esp + 0x3c], edi
mov dword [eax], edi
adc esi, 0
mov dword [eax + 4], esi
mov eax, dword [eax + 4]
mov dword [esp + 0x30], eax
mov esi, dword [esp + 0x78]
mov dword [esp], esi
mov esi, dword [esp + 0x6c]
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
call fcn.0045dcb0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2c], ecx
lea edi, [esp + 0x48]
mov edx, eax
xor eax, eax
call fcn.0046c9aa
mov eax, dword [esp + 0x74]
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 + 0x30]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], edx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
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.0045b880
add esp, 0x68
ret
call fcn.0046b310
jmp fcn.0045d270
Function at 0x461190
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x99f274]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x46122b
sub esp, 0x30
lea ecx, [esp + 0x34]
mov dword [esp + 4], ecx
mov edx, dword [0x99f274]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov dword [esp + 8], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.0046c9a7
lea ecx, [0x461240]
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.0046b220
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.0046b310
jmp fcn.00461190
Function at 0x46c5c0
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 [0x99f700]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x46ad4b
je 0x46ad9e
cmp ebx, 0x20
jbe 0x46ada4
cmp ebx, 0x40
jbe 0x46adea
jmp 0x46ae8b
test ebx, ebx
je 0x46ad94
add eax, 0x10
test ax, 0xff0
je 0x46ad80
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x771c80]
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 + 0x771d80]
jmp 0x46ad68
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x46ad68
pxor xmm1, xmmword [0x99f710]
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 [0x99f710]
pxor xmm2, xmmword [0x99f720]
pxor xmm3, xmmword [0x99f730]
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 [0x99f710]
pxor xmm2, xmmword [0x99f720]
pxor xmm3, xmmword [0x99f730]
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 0x46aeea
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 [0x99f069], 0
je 0x46c5da
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x46ad10
jmp fcn.00409940
Function at 0x1002184
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
lea eax, [esi + 8]
mov edi, 0x100
push edi
push eax
push dword [esi + 4]
mov dword [esi + 0x108], eax
call dword [sym.imp.msvcrt.dll__read]
add esp, 0xc
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov dword [ebp - 4], eax
je 0x10021d0
push dword [esi + 0x10c]
push 0x1fd
push eax
call fcn.010014c5
add esp, 0xc
jmp 0x10021d9
cmp ebx, edi
jge 0x10021d9
mov byte [ebx + esi + 8], 0
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10027b7
Capabilities:
Set registry value

Disassembly:
mov eax, 0x10039d8
call fcn.01003708
sub esp, 0xc
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10027d4
sub eax, ecx
lea eax, [eax*4 + 9]
push eax
call sub.MFC42.dll_operatornew
or dword [ebp - 4], 0xffffffff
mov ebx, eax
mov eax, dword [ebp + 0xc]
pop ecx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10027f7
mov edi, dword [sym.imp.msvcrt.dll_sprintf]
sub eax, esi
push eax
push 0x1001254
push ebx
call edi
mov ecx, dword [ebp + 0xc]
mov esi, eax
mov al, byte [ecx]
add esp, 0xc
test al, al
mov dword [ebp - 0x14], ecx
je 0x1002843
movsx eax, al
push eax
lea eax, [esi + ebx]
push 0x1001250
push eax
call edi
add esi, eax
add esp, 0xc
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov al, byte [eax]
test al, al
jne 0x1002820
mov ecx, dword [ebp + 0xc]
test esi, esi
jne 0x100285b
push ecx
push 0x1f9
push 0x65b
call fcn.010014c5
mov esi, eax
jmp 0x10028cb
dec esi
push esi
push ebx
push 1
push 0
mov edi, 0x1001240
push edi
push dword [ebp + 8]
mov byte [esi + ebx], 0
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call esi
test eax, eax
je 0x1002887
push dword [ebp + 0xc]
push edi
push 0x1ff
push eax
jmp 0x10028b3
push 4
lea eax, [ebp - 0x18]
push eax
push 4
push 0
mov edi, 0x1001238
push edi
push dword [ebp + 8]
mov dword [ebp - 0x18], 1
call esi
push dword [ebp + 0xc]
mov esi, eax
test esi, esi
je 0x10028bf
push edi
push 0x1ff
push esi
call fcn.010014c5
add esp, 0x10
mov esi, eax
jmp 0x10028ce
push 0x8f
push 0xa
call fcn.01001547
add esp, 0xc
push ebx
call sub.MFC42.dll_operatordelete
pop ecx
mov eax, esi
jmp 0x10028f3
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8