joyce8/EMBER2024-capa huggingface dataset:
Function at 0x65bc3570
Capabilities:
Encrypt data using salsa20 or chacha
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x65da0168]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x65bc3740
mov eax, dword [esp + 8]
mov dword [eax], 0x61707865
mov dword [eax + 4], 0x61707865
mov dword [eax + 8], 0x61707865
mov dword [eax + 0xc], 0x61707865
mov dword [eax + 0x10], 0x3320646e
mov dword [eax + 0x14], 0x3320646e
mov dword [eax + 0x18], 0x3320646e
mov dword [eax + 0x1c], 0x3320646e
mov dword [eax + 0x20], 0x79622d32
mov dword [eax + 0x24], 0x79622d32
mov dword [eax + 0x28], 0x79622d32
mov dword [eax + 0x2c], 0x79622d32
mov dword [eax + 0x30], 0x6b206574
mov dword [eax + 0x34], 0x6b206574
mov dword [eax + 0x38], 0x6b206574
mov dword [eax + 0x3c], 0x6b206574
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], edx
mov dword [eax + 0x48], edx
mov dword [eax + 0x4c], edx
mov edx, dword [ecx + 4]
mov dword [eax + 0x50], edx
mov dword [eax + 0x54], edx
mov dword [eax + 0x58], edx
mov dword [eax + 0x5c], edx
mov edx, dword [ecx + 8]
mov dword [eax + 0x60], edx
mov dword [eax + 0x64], edx
mov dword [eax + 0x68], edx
mov dword [eax + 0x6c], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x70], edx
mov dword [eax + 0x74], edx
mov dword [eax + 0x78], edx
mov dword [eax + 0x7c], edx
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x80], edx
mov dword [eax + 0x84], edx
mov dword [eax + 0x88], edx
mov dword [eax + 0x8c], edx
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x90], edx
mov dword [eax + 0x94], edx
mov dword [eax + 0x98], edx
mov dword [eax + 0x9c], edx
mov edx, dword [ecx + 0x18]
mov dword [eax + 0xa0], edx
mov dword [eax + 0xa4], edx
mov dword [eax + 0xa8], edx
mov dword [eax + 0xac], edx
mov ecx, dword [ecx + 0x1c]
mov dword [eax + 0xb0], ecx
mov dword [eax + 0xb4], ecx
mov dword [eax + 0xb8], ecx
mov dword [eax + 0xbc], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + 0xc0], ecx
lea edx, [ecx + 1]
mov dword [eax + 0xc4], edx
lea edx, [ecx + 2]
mov dword [eax + 0xc8], edx
add ecx, 3
mov dword [eax + 0xcc], ecx
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0
mov dword [eax + 0xd8], 0
mov dword [eax + 0xdc], 0
mov dword [eax + 0xe0], 0
mov dword [eax + 0xe4], 0
mov dword [eax + 0xe8], 0
mov dword [eax + 0xec], 0
mov dword [eax + 0xf0], 0
mov dword [eax + 0xf4], 0
mov dword [eax + 0xf8], 0
mov dword [eax + 0xfc], 0
ret
call fcn.65c2b2c0
jmp fcn.65bc3570
Function at 0x65bc4d60
Capabilities:
Access peb ldr_data

Disassembly:
sub esp, 0x38
mov eax, dword [0x65da0168]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov dword [esp + 0x30], eax
mov ecx, dword [eax + 0x18]
cmp dword [ecx + 0x50], eax
je 0x65bc4daa
call fcn.65bf6720
lea eax, [0x65c91bbc]
mov dword [esp], eax
mov dword [esp + 4], 0x1e
call fcn.65bf6f80
call fcn.65bf6780
mov dword [esp], 2
call fcn.65bf1dc0
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov byte [esp + 8], 0
call fcn.65bc4b20
mov eax, dword [0x65da0168]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
nop
inc dword [eax + 0x140]
mov eax, dword [0x65da0168]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
mov edx, eax
nop
mov dword [ecx + 0xb8], eax
mov eax, dword [edx + 0x18]
mov dword [edx + 0x88], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x34], ecx
test byte [ecx], al
lea esi, [ecx + 0x1d0]
lea edi, [esp + 0xc]
call fcn.65c2cd94
mov ecx, dword [eax + 0x38]
mov edx, dword [eax + 0x40]
mov dword [esp + 0x28], ecx
mov ebx, dword [eax + 0x3c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], edx
call fcn.65c27110
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x18]
mov byte [ecx + 0x8c], 0
mov ecx, dword [eax + 0x18]
movzx edx, byte [ecx + 0x8d]
test dl, dl
je 0x65bc4e51
mov byte [ecx + 0x8e], 0
mov ecx, dword [eax + 0x18]
test byte [ecx], al
add ecx, 0x318
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.65c30dc0
mov eax, dword [esp + 0x30]
movzx ecx, byte [eax + 0x75]
test cl, cl
jne 0x65bc4f25
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
call fcn.65bc4f40
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x18]
mov byte [ecx + 0x8c], 1
call fcn.65c018f0
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x18]
movzx edx, byte [ecx + 0x8d]
test dl, dl
je 0x65bc4ec4
mov byte [ecx + 0x8e], 1
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0x34]
cmp ecx, edx
jne 0x65bc4f0f
mov dword [esp], ecx
call fcn.65bf3810
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.65bffa30
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x18]
test byte [eax], al
lea edi, [eax + 0x1d0]
lea esi, [esp + 0xc]
call fcn.65c2cd94
add esp, 0x38
ret
lea eax, [0x65c936cb]
mov dword [esp], eax
mov dword [esp + 4], 0x26
call fcn.65c26c40
lea eax, [0x65c7b940]
mov dword [esp], eax
lea eax, [0x65d0d828]
mov dword [esp + 4], eax
call fcn.65c268b0
nop
int3
Function at 0x65bcbc40
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword [0x65da0168]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x65bcbe0b
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x65bcbc69
mov eax, 0x7000000
jmp 0x65bcbc71
test eax, eax
je 0x65bcbde6
mov dword [esp + 0x34], eax
mov ecx, dword [0x65da0168]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x448]
mov ebx, dword [ecx + 0x44c]
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 + 0x448], ebx
mov dword [ecx + 0x44c], ebp
mov dword [esp], edx
call fcn.65c2c690
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, [0x65c67ce0]
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 0x65bcbdfe
cmp edx, 0x21
jae 0x65bcbdf2
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.65c1f4f0
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.65c1f5c0
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 [0x65d0d760]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x65d0d7d0]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x65bcbdc1
xorps xmm0, xmm0
mov eax, dword [esp + 0x34]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x65d0d818]
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.65c2c770
mov eax, edx
mov ecx, 0x21
call fcn.65c2c800
nop
call fcn.65c2b2c0
jmp fcn.65bcbc40
Function at 0x65bd34f0
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [0x65da0168]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x65bd36ee
sub esp, 0x18
mov eax, dword [0x65da0098]
test eax, eax
jne 0x65bd36d7
nop
nop
lea eax, [0x65da0088]
mov dword [esp], eax
call fcn.65bca290
mov eax, dword [0x65da008c]
test eax, eax
je 0x65bd3538
cmp dword [eax + 8], 0xcc
jne 0x65bd35ae
mov edx, dword [0x65da0090]
test edx, edx
jne 0x65bd3590
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x65da2770]
mov dword [esp + 8], eax
call fcn.65bcbe20
mov eax, dword [esp + 0xc]
mov dword [0x65da0090], eax
mov ecx, dword [0x65da0094]
mov dword [eax], ecx
mov eax, dword [0x65da0090]
mov dword [0x65da0094], eax
movzx eax, byte [0x65da0500]
test al, al
jne 0x65bd3590
xor eax, eax
jmp 0x65bd36a8
mov edx, dword [0x65da0090]
mov ebx, dword [edx + 4]
mov dword [0x65da0090], ebx
mov ebx, dword [0x65da008c]
mov dword [edx + 4], ebx
mov dword [0x65da008c], edx
mov edx, dword [0x65da008c]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x65bd3687
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.65c30cf0
mov eax, dword [0x65da0248]
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
test eax, eax
jne 0x65bd3600
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
jmp 0x65bd3640
call fcn.65c2c750
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, [0x65da0088]
mov dword [esp], eax
call fcn.65bca4b0
nop
lea eax, [0x65da0084]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.65c30e70
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.65c2c770
lea edx, [0x65c672a0]
movzx ebx, byte [edx + eax]
lea ebp, [0x65da0500]
mov byte [ebp + ecx], bl
lea eax, [ecx + 1]
cmp eax, 0x80
jge 0x65bd3590
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 0x65bd3691
mov ecx, 5
call fcn.65c2c760
lea eax, [0x65c90580]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.65c26c40
nop
call fcn.65c2b2c0
jmp fcn.65bd34f0
Function at 0x65bd8470
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x65da0168]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x65bd84f9
sub esp, 0x10
mov eax, dword [esp + 0x14]
test byte [eax], al
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 1
call fcn.65c30ba0
movzx eax, byte [esp + 0xc]
test al, al
je 0x65bd84de
mov eax, dword [esp + 0x14]
movzx ecx, byte [eax + 6]
test cl, cl
jne 0x65bd84e2
mov dword [esp], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 8], ecx
call fcn.65bd8510
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.65bd8ac0
add esp, 0x10
ret
add esp, 0x10
ret
lea eax, [0x65c90598]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.65c26c40
nop
call fcn.65c2b2c0
jmp fcn.65bd8470
Function at 0x65be7980
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x65da0168]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x65be7ac4
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.65be5610
mov eax, dword [esp + 4]
test eax, eax
je 0x65be7aad
mov dword [esp + 0xc], eax
lea ecx, [eax + 0x4c]
mov dword [esp + 0x18], ecx
mov edx, dword [0x65da0168]
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.65be3070
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.65bca290
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x50]
mov edx, dword [esp + 0x10]
movzx ebx, byte [esp + 0xa]
jmp 0x65be7a17
mov ecx, ebp
mov ebp, dword [ecx]
test ebp, ebp
je 0x65be7a42
movzx esi, word [ebp + 4]
cmp esi, edx
jne 0x65be7a2c
cmp byte [ebp + 6], bl
je 0x65be7a37
cmp esi, edx
ja 0x65be7a3e
jne 0x65be7a15
cmp byte [ebp + 6], bl
jbe 0x65be7a15
jmp 0x65be7a3e
mov ebx, 1
jmp 0x65be7a44
xor ebx, ebx
jmp 0x65be7a44
xor ebx, ebx
mov byte [esp + 0xb], bl
test bl, bl
jne 0x65be7a62
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.65be7880
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.65bca4b0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0x65da0168]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x65be7a9d
movzx eax, byte [ebx + 0x69]
test al, al
je 0x65be7a9d
mov dword [ebx + 8], 0xfffffade
movzx eax, byte [esp + 0xb]
xor eax, 1
mov byte [esp + 0x28], al
add esp, 0x1c
ret
lea eax, [0x65c9186d]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.65c26c40
nop
call fcn.65c2b2c0
jmp fcn.65be7980
Function at 0x65be7f40
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x65da0168]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x65be811a
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 2
ja 0x65be8045
cmp cl, 1
je 0x65be7fd4
cmp cl, 2
jne 0x65be8103
mov ecx, dword [eax + 8]
test byte [ecx], al
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.65c30c40
nop
nop
lea eax, [0x65d8c308]
mov dword [esp], eax
call fcn.65bca290
mov eax, dword [0x65d8c2fc]
sub eax, dword [0x65d8c2e0]
nop
mov dword [0x65d8c2fc], eax
mov eax, dword [0x65d8c2ec]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x65d8c2ec], ecx
nop
lea eax, [0x65d8c308]
mov dword [esp], eax
call fcn.65bca4b0
jmp 0x65be80ff
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.65bd34f0
nop
nop
lea eax, [0x65d8c308]
mov dword [esp], eax
call fcn.65bca290
mov eax, dword [0x65d8c25c]
sub eax, dword [0x65d8c240]
nop
mov dword [0x65d8c25c], eax
mov eax, dword [0x65d8c24c]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x65d8c24c], ecx
nop
lea eax, [0x65d8c308]
mov dword [esp], eax
call fcn.65bca4b0
jmp 0x65be80ff
cmp cl, 3
je 0x65be80a7
cmp cl, 4
jne 0x65be8058
mov byte [eax + 8], 1
jmp 0x65be80ff
cmp cl, 5
jne 0x65be8103
nop
nop
lea eax, [0x65d8c308]
mov dword [esp], eax
call fcn.65bca290
mov eax, dword [0x65d8c2d4]
sub eax, dword [0x65d8c2b8]
nop
mov dword [0x65d8c2d4], eax
mov eax, dword [0x65d8c2c4]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x65d8c2c4], ecx
nop
lea eax, [0x65d8c308]
mov dword [esp], eax
call fcn.65bca4b0
jmp 0x65be80ff
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.65bed470
nop
nop
lea eax, [0x65d8c308]
mov dword [esp], eax
call fcn.65bca290
mov eax, dword [0x65d8c284]
sub eax, dword [0x65d8c268]
nop
mov dword [0x65d8c284], eax
mov eax, dword [0x65d8c274]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x65d8c274], ecx
nop
nop
lea eax, [0x65d8c308]
mov dword [esp], eax
call fcn.65bca4b0
add esp, 0x14
ret
lea eax, [0x65c8e2ae]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.65c26c40
nop
call fcn.65c2b2c0
jmp fcn.65be7f40
Function at 0x65bed540
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x65da0168]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x65bed6c2
sub esp, 0x24
mov eax, dword [0x65da04dc]
test eax, eax
je 0x65bed66d
mov eax, dword [esp + 0x38]
cmp eax, 5
jg 0x65bed678
mov ecx, dword [0x65da0168]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x18]
nop
inc dword [edx + 0x7c]
mov edx, dword [ecx + 0x18]
mov dword [esp + 0x20], edx
mov ebx, dword [edx + 0x50]
test ebx, ebx
je 0x65bed5c6
cmp ecx, ebx
je 0x65bed5c6
mov ecx, dword [edx + 0x17c]
mov ebp, dword [edx + 0x180]
mov esi, dword [edx + 0x178]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
call fcn.65c16940
mov eax, dword [esp + 0x14]
jmp 0x65bed5f0
mov ecx, dword [edx + 0x178]
mov ebx, dword [edx + 0x17c]
mov ebp, dword [edx + 0x180]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call fcn.65c2a590
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
mov edx, dword [ebx + 0x180]
cmp eax, edx
ja 0x65bed671
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.65bedf80
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0x65da0168]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x65bed669
movzx eax, byte [ebx + 0x69]
test al, al
je 0x65bed669
mov dword [ebx + 8], 0xfffffade
add esp, 0x24
ret
add esp, 0x24
ret
mov ecx, eax
call fcn.65c2c7a0
call fcn.65bf6720
lea eax, [0x65c8dce9]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.65bf6f80
mov eax, dword [esp + 0x38]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.65bf6da0
call fcn.65bf6780
lea eax, [0x65c8eb51]
mov dword [esp], eax
mov dword [esp + 4], 0x12
call fcn.65c26c40
nop
call fcn.65c2b2c0
jmp fcn.65bed540
Function at 0x65bf3160
Capabilities:
Access peb ldr_data

Disassembly:
sub esp, 8
mov dword [esp + 0x30], 0
mov eax, dword [0x65da0168]
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.65bf2e40
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
add esp, 8
ret
Function at 0x65c10d60
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x65da0168]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x65c10ebd
sub esp, 0x14
lea eax, [0x65da04f4]
mov dword [esp], eax
call fcn.65c30c60
mov eax, dword [esp + 4]
mov dword [esp + 0x10], eax
test eax, eax
je 0x65c10d97
mov ecx, dword [esp + 0x18]
jmp 0x65c10db3
mov ecx, dword [esp + 0x18]
movzx edx, byte [ecx + 6]
test dl, dl
je 0x65c10db3
lea eax, [ecx + 0x30]
nop
mov dword [esp], eax
call fcn.65bca290
mov ecx, dword [esp + 0x18]
test byte [ecx], al
nop
nop
mov dword [esp], ecx
call fcn.65bca290
mov eax, dword [esp + 0x10]
test eax, eax
je 0x65c10dd7
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.65c10c60
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
movzx edx, byte [ecx + 5]
test dl, 1
je 0x65c10e17
mov ebx, edx
or edx, 2
mov byte [ecx + 5], dl
test dl, 4
jne 0x65c10e17
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.65c30c80
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 0x65c10e53
movzx edx, byte [ecx + 6]
test dl, dl
je 0x65c10e53
inc dword [ecx + 0x28]
mov dword [esp], ecx
call fcn.65c10870
mov eax, dword [esp + 0x10]
test eax, eax
je 0x65c10e6a
movzx ebx, byte [esp + 0xf]
jmp 0x65c10eb5
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
test cl, cl
jne 0x65c10e7d
movzx ebx, byte [esp + 0xf]
jmp 0x65c10eb5
lea ecx, [eax + 0x30]
nop
mov dword [esp], ecx
call fcn.65bca4b0
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
test cl, cl
jne 0x65c10e9e
call fcn.65c12a80
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x24]
mov dword [esp], eax
call fcn.65bc5b20
movzx ebx, byte [esp + 4]
movzx eax, byte [esp + 0xf]
or ebx, eax
mov byte [esp + 0x1c], bl
add esp, 0x14
ret
call fcn.65c2b2c0
jmp fcn.65c10d60
Function at 0x65c12be0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x65da0168]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x65c12cdc
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.65bca290
mov eax, dword [esp + 0x10]
movzx ecx, byte [eax + 6]
test cl, cl
jne 0x65c12c23
call fcn.65c12a80
mov eax, dword [esp + 0x10]
inc dword [eax + 8]
movzx ecx, byte [eax + 5]
test cl, 1
je 0x65c12c77
test cl, 4
je 0x65c12c77
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 0x65c12c77
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.65c30c80
mov eax, dword [esp + 0x10]
movzx ecx, byte [eax + 5]
nop
test cl, 1
jne 0x65c12cb5
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 0x65c12cb5
movzx ecx, byte [eax + 6]
test cl, cl
je 0x65c12cae
mov ecx, dword [eax + 8]
test ecx, ecx
seta cl
jmp 0x65c12cb7
mov ecx, 1
jmp 0x65c12cb7
xor ecx, ecx
mov byte [esp + 0xf], cl
mov dword [esp], eax
call fcn.65c10870
movzx eax, byte [esp + 0xf]
test al, al
je 0x65c12cd8
mov eax, dword [esp + 0x10]
mov dword [esp], eax
call fcn.65c113b0
add esp, 0x14
ret
call fcn.65c2b2c0
jmp fcn.65c12be0