Function at 0x65fcd0
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x68
call fcn.0053e710
mov eax, dword [0x7ec540]
xor eax, esp
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x78]
push ebx
push ebp
mov edx, dword [ecx + 0x18]
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x20], edx
push esi
push edi
cmp edx, 3
ja case.0x65fd15.2
jmp dword [edx*4 + 0x6600c0]
mov dword [esp + 0x10], 0
jmp 0x65fd38
mov dword [esp + 0x10], 1
jmp 0x65fd38
mov dword [esp + 0x10], 2
mov ebx, dword [ecx + 0x48]
mov dword [eax], 0
cmp dword [ecx + 8], 0
mov dword [esp + 0x24], ebx
je 0x6600a8
cmp edx, 4
jae 0x6600a8
mov eax, dword [esp + 0x84]
cmp eax, 3
jae 0x6600a8
lea esi, [eax + edx*2]
mov dword [esp + 0x3c], 0
lea eax, [ecx + 0x50]
add esi, edx
mov dword [esp + 0x2c], eax
lea edi, [ebp + 0x2c]
mov eax, edx
add eax, eax
mov esi, dword [esi*4 + 0x75e870]
push edi
mov eax, dword [ebp + eax*8 + 0x138]
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x38], eax
call fcn.0059ecc0
mov ecx, dword [esp + 0x14]
add esp, 4
neg eax
mov dword [esp + 0x4c], 1
sbb eax, eax
and eax, edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + ecx*8 + 0xd8]
mov ecx, dword [ebp + ecx*8 + 0xdc]
mov edi, dword [edi + 0x4c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
test edi, edi
je 0x65fe45
nop dword [eax]
mov edx, dword [edi + 0xd0]
test edx, 0x60000000
je 0x65fe3e
mov eax, dword [edi + 0x20]
xorps xmm0, xmm0
mov ecx, dword [edi + 0x24]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x6c]
shr edx, 0x1c
and eax, 0xfffffff8
and edx, 6
mov dword [esp + 0x58], ecx
or edx, eax
mov dword [esp + 0x5c], 0xffffffff
lea eax, [esp + 0x54]
mov dword [esp + 0x60], 0xffffffff
push eax
push ebx
movlpd qword [esp + 0x6c], xmm0
mov dword [esp + 0x74], edx
call fcn.0065ba50
add esp, 8
test eax, eax
je 0x6600a8
mov edi, dword [edi + 0x18]
test edi, edi
jne 0x65fde0
lea eax, [ebp + 0xa4]
push ebx
push eax
call fcn.0068a560
add esp, 8
test eax, eax
je 0x6600a8
mov edi, dword [esp + 0x10]
add dword [ebp + edi*8 + 0xd8], 1
mov eax, dword [ebp + edi*8 + 0xdc]
adc eax, 0
mov dword [ebp + edi*8 + 0xdc], eax
mov eax, dword [esp + 0x1c]
mov dword [eax], 1
lea eax, [esp + 0x2c]
push eax
push dword [ebp + 0x4c]
call fcn.00653b20
add esp, 8
test eax, eax
je 0x6600a8
mov eax, dword [esp + 0x18]
mov ebx, dword [eax + 0x4c]
test ebx, ebx
je 0x65ff89
nop dword [eax + eax]
test dword [ebx + 0xd0], 0x10000000
lea ebp, [ebx + 0xd4]
mov edi, esi
je 0x65fed9
and dword [ebp], 0xfffffffd
lea eax, [ebx + 0x80]
push 1
push eax
call fcn.005ef7b0
add esp, 8
mov eax, dword [ebx + 0xd0]
test eax, 0x20000000
je 0x65feea
and dword [ebp], 0xfffffffb
test eax, 0x40000000
je 0x65fef5
and dword [ebp], 0xfffffff7
mov ecx, dword [ebx + 0x4c]
mov eax, dword [ebx + 0x48]
test ecx, ecx
jne 0x65ff03
test eax, eax
je 0x65ff27
push ecx
push eax
lea eax, [ebx + 0x60]
push eax
call fcn.005ef440
add esp, 0xc
mov dword [ebx + 0x48], 0
neg eax
mov dword [ebx + 0x4c], 0
sbb eax, eax
and dword [esp + 0x14], eax
mov ebp, dword [esp + 0x20]
push ebx
push dword [ebp + 0x5c]
call fcn.005f1800
movzx eax, byte [ebx + 0xd1]
add esp, 8
sub eax, 1
je 0x65ff4d
sub eax, 1
je 0x65ff4d
sub eax, 1
jne 0x65ff7a
push dword [ebx + 0x58]
mov esi, edi
call fcn.005f0050
add esp, 4
test eax, eax
jne 0x65ff7a
push eax
push dword [ebx + 0x58]
call fcn.005f0520
add esp, 8
test eax, eax
je 0x65ff7a
push ebx
push dword [ebp + 0x5c]
call fcn.005f1b50
add esp, 8
mov ebx, dword [ebx + 0x18]
test ebx, ebx
jne 0x65feb0
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x24]
test byte [ebx + 0x20], 8
je 0x65ffb5
mov ecx, dword [ebp + 0xf8]
mov eax, ecx
shr eax, 7
and ecx, 0xfffffc7f
and eax, 7
btr eax, edi
shl eax, 7
or eax, ecx
mov dword [ebp + 0xf8], eax
test byte [ebx + 0x54], 1
je 0x65ffc2
and dword [ebp + 0xf8], 0xfffffffe
test byte [ebx + 0x54], 2
je 0x65ffdc
and dword [ebp + 0xf8], 0xfffffffd
push 1
push dword [ebp + 0x64]
call fcn.005ef7b0
add esp, 8
test byte [ebx + 0x54], 4
je 0x65fff6
and dword [ebp + 0xf8], 0xfffffffb
push 1
push dword [ebp + 0x68]
call fcn.005ef7b0
add esp, 8
test byte [ebx + 0x54], 8
je 0x660010
and dword [ebp + 0xf8], 0xfffffff7
push 1
push dword [ebp + 0x6c]
call fcn.005ef7b0
add esp, 8
test byte [ebx + 0x54], 0x10
je 0x660035
mov ecx, dword [ebp + 0xf8]
mov eax, ecx
shr eax, 4
and ecx, 0xffffff8f
and eax, 7
btr eax, edi
shl eax, 4
or eax, ecx
mov dword [ebp + 0xf8], eax
test byte [ebx + 0x54], 0x20
je 0x660045
and dword [ebp + 0xf8], 0xfffffbff
test byte [ebx + 0x20], 8
je 0x660091
push dword [ebp + 0x58]
call fcn.0065ad80
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x66006b
mov eax, dword [ecx]
test eax, eax
je 0x66007b
dec eax
mov dword [ecx], eax
jmp 0x66007b
cmp eax, 1
jne 0x66007b
mov eax, dword [ecx + 4]
test eax, eax
je 0x66007b
dec eax
mov dword [ecx + 4], eax
test esi, 0x2000
je 0x660091
lea edx, [ecx + edi*4]
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x660091
dec ecx
mov dword [edx + 8], ecx
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00541f33
add esp, 0x68
ret
mov ecx, dword [esp + 0x74]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00541f33
add esp, 0x68
ret