joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417f60
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [0x1097750]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41815e
sub esp, 0x18
mov eax, dword [0x1097654]
test eax, eax
jne 0x418147
nop
nop
lea eax, [0x1097644]
mov dword [esp], eax
call fcn.0040b1f0
mov eax, dword [0x1097648]
test eax, eax
je 0x417fa8
cmp dword [eax + 8], 0xcc
jne 0x41801e
mov edx, dword [0x109764c]
test edx, edx
jne 0x418000
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x109ccd0]
mov dword [esp + 8], eax
call fcn.0040d7f0
mov eax, dword [esp + 0xc]
mov dword [0x109764c], eax
mov ecx, dword [0x1097650]
mov dword [eax], ecx
mov eax, dword [0x109764c]
mov dword [0x1097650], eax
movzx eax, byte [0x1097de0]
test al, al
jne 0x418000
xor eax, eax
jmp 0x418118
mov edx, dword [0x109764c]
mov ebx, dword [edx + 4]
mov dword [0x109764c], ebx
mov ebx, dword [0x1097648]
mov dword [edx + 4], ebx
mov dword [0x1097648], edx
mov edx, dword [0x1097648]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x4180f7
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.00402e30
mov eax, dword [0x1097848]
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
test eax, eax
jne 0x418070
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
jmp 0x4180b0
call fcn.0046d100
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, [0x1097644]
mov dword [esp], eax
call fcn.0040b410
nop
lea eax, [0x1097640]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00402fb0
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.0046d120
lea edx, [0x10174a4]
movzx ebx, byte [edx + eax]
lea ebp, [0x1097de0]
mov byte [ebp + ecx], bl
lea eax, [ecx + 1]
cmp eax, 0x80
jge 0x418000
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 0x418101
mov ecx, 5
call fcn.0046d110
lea eax, [0x8dcb3c]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.0043a440
nop
call fcn.0046bc90
jmp fcn.00417f60
Function at 0x42c590
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x1097750]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42c700
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 2
ja 0x42c690
cmp cl, 1
je 0x42c622
cmp cl, 2
jne 0x42c6e9
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.00431ab0
nop
nop
lea eax, [0x1063aa0]
mov dword [esp], eax
call fcn.0040b1f0
mov eax, dword [0x1063a44]
sub eax, dword [0x1063a28]
nop
mov dword [0x1063a44], eax
mov eax, dword [0x1063a34]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x1063a34], ecx
nop
lea eax, [0x1063aa0]
mov dword [esp], eax
call fcn.0040b410
jmp 0x42c6e5
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.00417f60
nop
nop
lea eax, [0x1063aa0]
mov dword [esp], eax
call fcn.0040b1f0
mov eax, dword [0x1063a1c]
sub eax, dword [0x1063a00]
nop
mov dword [0x1063a1c], eax
mov eax, dword [0x1063a0c]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x1063a0c], ecx
nop
lea eax, [0x1063aa0]
mov dword [esp], eax
call fcn.0040b410
jmp 0x42c6e5
cmp cl, 3
jne 0x42c69b
mov byte [eax + 8], 1
jmp 0x42c6e5
cmp cl, 4
jne 0x42c6e9
nop
nop
lea eax, [0x1063aa0]
mov dword [esp], eax
call fcn.0040b1f0
mov eax, dword [0x1063a94]
sub eax, dword [0x1063a78]
nop
mov dword [0x1063a94], eax
mov eax, dword [0x1063a84]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x1063a84], ecx
nop
nop
lea eax, [0x1063aa0]
mov dword [esp], eax
call fcn.0040b410
add esp, 0x14
ret
lea eax, [0x8d5bb2]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.0043a440
nop
call fcn.0046bc90
jmp fcn.0042c590
Function at 0x432320
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x1097750]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x432406
sub esp, 0x2c
mov eax, dword [esp + 0x30]
mov dword [eax + 0x88], 0
lea ecx, [0x1097d90]
mov dword [esp], ecx
call fcn.00402da0
mov eax, dword [esp + 4]
test eax, eax
je 0x4323e2
mov dword [esp + 8], 0
mov ecx, dword [0x1097750]
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.0046d349
lea ecx, [0x432410]
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.0046bba0
mov eax, dword [esp + 8]
cmp eax, 0x20
jge 0x4323de
jae 0x4323fb
mov ecx, dword [esp + 0x30]
mov dword [ecx + eax*4 + 8], 0
add esp, 0x2c
ret
lea eax, [fcn.004474e0]
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.0046d110
nop
call fcn.0046bc90
jmp fcn.00432320
Function at 0x457e00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x1097750]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x457f7a
sub esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x457f70
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
test ebx, ebx
jne 0x457e5a
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x457e5a
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 0x457e6d
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0x457f47
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 0x457f3b
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 0x457f32
movzx edx, byte [edx + eax]
test edx, 0x80
je 0x457ec0
mov dword [esp + 0xc], ecx
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x457f03
mov eax, 1
cmp eax, ecx
ja 0x457ef7
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.0046d180
lea esi, [ecx + 7]
mov ecx, dword [esp + 0xc]
cmp eax, ecx
jae 0x457f2d
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 0x457efc
mov ecx, dword [esp + 0xc]
jmp 0x457ec5
call fcn.0046d120
xor eax, eax
mov ecx, eax
call fcn.0046d110
call fcn.0046d180
lea ebp, [ecx + 7]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jbe 0x457f6b
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 0x457f40
mov ecx, dword [esp + 0x18]
jmp 0x457e72
call fcn.0046d120
xor eax, eax
mov ecx, eax
call fcn.0046d110
nop
call fcn.0046bc90
jmp fcn.00457e00
Function at 0x45d2c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x1097750]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45d4ad
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.0045b6b0
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.00402cc0
mov eax, dword [esp + 4]
test eax, eax
je 0x45d34e
mov ebp, dword [esp + 0x44]
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x40]
jmp 0x45d3d6
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.0045e260
movzx eax, byte [esp + 8]
test al, al
jne 0x45d37f
mov ebp, dword [esp + 0x44]
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x40]
jmp 0x45d3d6
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.0045df70
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.0045dd00
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.0046d34a
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.0045b8d0
add esp, 0x68
ret
call fcn.0046bc90
jmp fcn.0045d2c0
Function at 0x4611e0
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x1097750]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x46127b
sub esp, 0x30
lea ecx, [esp + 0x34]
mov dword [esp + 4], ecx
mov edx, dword [0x1097750]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov dword [esp + 8], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.0046d347
lea ecx, [0x461290]
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.0046bba0
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.0046bc90
jmp fcn.004611e0
Function at 0x46cf40
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 [0x1097c80]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x46b6cb
je 0x46b71e
cmp ebx, 0x20
jbe 0x46b724
cmp ebx, 0x40
jbe 0x46b76a
jmp 0x46b80b
test ebx, ebx
je 0x46b714
add eax, 0x10
test ax, 0xff0
je 0x46b700
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0xdbf9c0]
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 + 0xdbfac0]
jmp 0x46b6e8
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x46b6e8
pxor xmm1, xmmword [0x1097c90]
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 [0x1097c90]
pxor xmm2, xmmword [0x1097ca0]
pxor xmm3, xmmword [0x1097cb0]
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 [0x1097c90]
pxor xmm2, xmmword [0x1097ca0]
pxor xmm3, xmmword [0x1097cb0]
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 0x46b86a
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 [0x109760c], 0
je 0x46cf5a
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x46b690
jmp fcn.004098b0
Function at 0x7f75d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x1097750]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x7f77fc
sub esp, 0x18
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.007f79b0
movzx eax, byte [esp + 5]
test al, al
je 0x7f7704
movzx eax, byte [esp + 4]
cmp al, 0x22
je 0x7f76d0
cmp al, 0x27
je 0x7f76d0
mov ecx, dword [esp + 0x1c]
movzx edx, byte [ecx]
test dl, dl
jne 0x7f7666
nop
cmp al, 0xa
jne 0x7f762b
dec dword [ecx + 0x7c]
movzx eax, al
mov dword [ecx + 0x6c], eax
mov eax, dword [ecx + 0x88]
mov edx, dword [ecx + 0x8c]
add eax, 0xffffffff
mov dword [ecx + 0x88], eax
adc edx, 0xffffffff
mov dword [ecx + 0x8c], edx
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x3c], 0
mov byte [ecx + 0x40], 0
jmp 0x7f7733
lea eax, [0x88f2c0]
mov dword [esp], eax
call fcn.0040d4a0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2e
lea ecx, [0x8fb8b4]
mov dword [eax], ecx
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 0x7c]
mov dword [eax + 8], edx
lea edx, [0xdbd360]
mov dword [ecx + 0x74], edx
mov edx, dword [0x1097848]
test edx, edx
je 0x7f76b1
call fcn.0046d0a0
mov dword [edi], eax
mov edx, dword [ecx + 0x78]
mov dword [edi + 4], edx
mov dword [ecx + 0x78], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
mov dword [esp], ecx
movzx eax, al
mov dword [esp + 4], eax
mov byte [esp + 8], 0
call fcn.007f7aa0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
add esp, 0x18
ret
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
add esp, 0x18
ret
mov eax, dword [esp + 0x1c]
lea ecx, [eax + 0x30]
mov dword [esp], ecx
call fcn.00481060
mov ecx, dword [esp + 0x1c]
mov dword [esp], ecx
call fcn.007f79b0
movzx eax, byte [esp + 5]
test al, al
je 0x7f77da
movzx edx, byte [esp + 4]
lea ebx, [edx - 0x61]
cmp bl, 0x19
jbe 0x7f7720
lea ebx, [edx - 0x41]
cmp bl, 0x19
jbe 0x7f7720
lea ebx, [edx - 0x30]
cmp bl, 9
jbe 0x7f7720
cmp dl, 0x5f
je 0x7f7720
cmp dl, 0x3a
je 0x7f7720
cmp dl, 0x2d
je 0x7f7720
nop
cmp dl, 0xa
jne 0x7f7783
mov ebx, dword [esp + 0x1c]
dec dword [ebx + 0x7c]
jmp 0x7f7787
mov ebx, dword [esp + 0x1c]
movzx edx, dl
mov dword [ebx + 0x6c], edx
mov edx, dword [ebx + 0x88]
mov ebp, dword [ebx + 0x8c]
add edx, 0xffffffff
mov dword [ebx + 0x88], edx
adc ebp, 0xffffffff
mov dword [ebx + 0x8c], ebp
mov ecx, dword [ebx + 0x34]
mov eax, dword [ebx + 0x3c]
cmp ecx, eax
jb 0x7f77f6
mov edx, dword [ebx + 0x30]
mov ebx, dword [ebx + 0x38]
sub ebx, eax
sub ecx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
add eax, edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ebp
add esp, 0x18
ret
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
add esp, 0x18
ret
call fcn.0046d170
nop
call fcn.0046bc90
jmp fcn.007f75d0
Function at 0x7f8af0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x1097750]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x7f8c91
sub esp, 0x2c
mov eax, dword [esp + 0x30]
mov dword [eax + 0x34], 0
mov dword [eax + 0x3c], 0
mov byte [eax + 0x40], 0
mov dword [esp], eax
call fcn.007f8ca0
movzx eax, byte [esp + 4]
test al, al
je 0x7f8c72
mov edx, dword [esp + 0x30]
mov ecx, dword [edx + 0x34]
mov eax, dword [edx + 0x3c]
nop
cmp ecx, eax
jb 0x7f8c8b
mov ebx, dword [edx + 0x30]
mov ebp, dword [edx + 0x38]
sub ecx, eax
mov dword [esp + 0x1c], ecx
sub ebp, eax
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
add eax, ebx
mov dword [esp + 0x24], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
call fcn.007f8e10
movzx eax, byte [esp + 0xc]
test al, al
jne 0x7f8c3d
mov dword [esp], 0
lea eax, [0x8d7dd2]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x12
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
call fcn.004546b0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
lea edx, [0x88f2c0]
mov dword [esp], edx
call fcn.0040d4a0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x20]
mov dword [eax + 4], ecx
mov ecx, dword [0x1097848]
test ecx, ecx
jne 0x7f8bea
mov ecx, dword [esp + 0x28]
jmp 0x7f8bf5
call fcn.0046d090
mov ecx, dword [esp + 0x28]
mov dword [edi], ecx
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0x7c]
mov dword [eax + 8], edx
lea edx, [0xdbd360]
mov dword [ecx + 0x74], edx
mov edx, dword [0x1097848]
test edx, edx
je 0x7f8c21
call fcn.0046d0a0
mov dword [edi], eax
mov edx, dword [ecx + 0x78]
mov dword [edi + 4], edx
mov dword [ecx + 0x78], eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov byte [esp + 0x3c], 0
add esp, 0x2c
ret
mov dword [esp], 0
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], eax
call fcn.00454950
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov byte [esp + 0x3c], 1
add esp, 0x2c
ret
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov byte [esp + 0x3c], 0
add esp, 0x2c
ret
call fcn.0046d170
nop
call fcn.0046bc90
jmp fcn.007f8af0
Function at 0x42e001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
call 0x42e00c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x598033cc
Capabilities:
Check if file exists
Get file attributes
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x59803555
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
jne 0x59803410
mov eax, ebx
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
jne 0x59803446
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
je 0x5980353a
lea eax, [ebp - 0x10]
mov edx, ebx
mov ecx, 0
call sub.rtl120.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov eax, dword [ebp - 0x10]
call sub.rtl120.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x5980353a
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
jne 0x59803476
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
mov eax, ebx
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 8], eax
jmp 0x598034a8
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
lea eax, [ebp - 0x14]
mov edx, ebx
mov ecx, 0
call sub.rtl120.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov eax, dword [ebp - 0x14]
call sub.rtl120.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x5980353a
xor eax, eax
push ebp
push 0x59803533
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetFileSize
mov edx, eax
mov eax, esi
xor ecx, ecx
call sub.rtl120.bpl__System__LStrSetLength_qqrv
cmp dword [esi], 0
je 0x59803513
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, esi
xor edx, edx
call sub.rtl120.bpl__System__EnsureAnsiString_qqrr27System__AnsiStringT_us_i0__us
call sub.rtl120.bpl__System__LStrLen_qqrx27System__AnsiStringT_us_i0__
push eax
mov eax, dword [esi]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_ReadFile
test eax, eax
je 0x59803513
mov eax, esi
xor edx, edx
call sub.rtl120.bpl__System__EnsureAnsiString_qqrr27System__AnsiStringT_us_i0__us
call sub.rtl120.bpl__System__LStrLen_qqrx27System__AnsiStringT_us_i0__
cmp eax, dword [ebp - 0xc]
je 0x59803517
xor eax, eax
jmp 0x59803519
mov al, 1
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5980353a
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5980355c
lea eax, [ebp - 0x14]
mov edx, 2
call sub.rtl120.bpl__System__LStrArrayClr_qqrpvi
ret