Function at 0x65da60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x65e11f
sub esp, 0x48
mov eax, dword [esp + 0x4c]
movzx ecx, word [eax]
test cx, 0x80
je 0x65daa7
mov ecx, dword [esp + 0x54]
cmp ecx, 2
jl 0x65daa7
mov edx, dword [esp + 0x50]
cmp byte [edx], 0x5c
jne 0x65daa7
movzx ebx, byte [edx + 1]
cmp bl, 0x70
je 0x65daea
cmp bl, 0x50
je 0x65dae3
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x48
ret
mov ebx, 0xffffffff
jmp 0x65daef
mov ebx, 1
mov dword [esp + 0x28], ebx
lea eax, [ecx - 2]
mov ebp, eax
neg eax
sar eax, 0x1f
and eax, 2
add eax, edx
mov dword [esp], eax
mov dword [esp + 4], ebp
call fcn.0065f8f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 8]
test eax, eax
jne 0x65e0ca
cmp esi, 0x7b
je 0x65db64
mov ecx, dword [esp + 0x54]
mov edx, ecx
sub ecx, ebx
cmp edx, ecx
jb 0x65e119
cmp ecx, 2
jb 0x65e10f
lea eax, [ecx - 2]
mov edx, eax
neg eax
sar eax, 0x1f
and eax, 2
mov esi, dword [esp + 0x50]
add eax, esi
jmp 0x65dc11
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x7d
call fcn.004d3fb0
mov ecx, dword [esp + 0xc]
test ecx, ecx
jl 0x65dfe9
lea ebx, [ecx + 1]
mov edx, dword [esp + 0x54]
cmp edx, ebx
jb 0x65e108
sub edx, ecx
dec edx
mov ebp, edx
neg edx
sar edx, 0x1f
and edx, ebx
mov esi, dword [esp + 0x50]
add edx, esi
cmp ecx, 3
jb 0x65e0fe
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x3c], edx
lea eax, [ecx - 3]
mov dword [esp + 0x30], eax
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, 3
add eax, esi
mov dword [esp + 0x40], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0065f7f0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
jne 0x65dfb5
mov esi, dword [esp + 0x50]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x3c]
test edx, edx
je 0x65dc39
cmp byte [eax], 0x5e
jne 0x65dc39
mov edi, dword [esp + 0x28]
xchg edi, ebx
neg ebx
xchg edi, ebx
dec edx
mov dword [esp + 0x30], edx
neg edx
sar edx, 0x1f
and edx, 1
add eax, edx
mov edx, dword [esp + 0x30]
jmp 0x65dc3d
mov edi, dword [esp + 0x28]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edi
cmp edx, 3
jne 0x65dc6c
cmp word [eax], 0x6e41
jne 0x65dc6c
cmp byte [eax + 2], 0x79
jne 0x65dc6c
mov eax, dword [0x8bad58]
mov edx, eax
jmp 0x65dd87
mov dword [esp + 0x30], edx
mov dword [esp + 0x40], eax
mov ecx, dword [0x8c0874]
lea ebx, [0x690160]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call fcn.0040fd30
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x65dcef
mov dword [esp + 0x38], eax
mov eax, dword [0x8c0878]
lea ecx, [0x690160]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
call fcn.0040fd30
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x28]
mov edx, eax
mov eax, dword [esp + 0x38]
jmp 0x65dd87
mov eax, dword [0x8c0884]
lea ecx, [0x690160]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
mov edx, dword [esp + 0x30]
mov dword [esp + 0xc], edx
call fcn.0040fd30
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
jne 0x65dd3b
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x28]
xor eax, eax
xor edx, edx
jmp 0x65dd87
mov dword [esp + 0x38], eax
mov eax, dword [0x8c087c]
lea ecx, [0x690160]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
call fcn.0040fd30
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x28]
mov edx, eax
mov eax, dword [esp + 0x38]
test eax, eax
je 0x65df30
mov ecx, dword [esp + 0x4c]
movzx esi, word [ecx]
test si, 1
je 0x65dda1
test edx, edx
jne 0x65de07
test edi, edi
jle 0x65ddd6
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.0065f0f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
jmp 0x65df00
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.0065f2d0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
jmp 0x65df00
mov dword [esp + 0x44], edx
mov edx, dword [ecx + 0x20]
mov ebx, dword [ecx + 0x28]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.0065f0f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], eax
call fcn.0065f0f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x4c]
mov dword [ebx + 0x24], ecx
mov dword [ebx + 0x28], edx
lea edi, [ebx + 0x20]
mov ecx, dword [0x8e84e0]
test ecx, ecx
jne 0x65de75
mov dword [ebx + 0x20], eax
jmp 0x65de7a
call fcn.00463080
mov dword [esp], edi
call fcn.0065e910
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x28]
test ebx, ebx
jle 0x65decc
mov ebx, dword [esp + 0x58]
mov dword [esp], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.0065ee50
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
jmp 0x65df00
mov ebx, dword [esp + 0x58]
mov dword [esp], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.0065efd0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x48
ret
lea eax, [0x69f300]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1d
lea ecx, [0x6cf4a2]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x8e84e0]
test ecx, ecx
jne 0x65df6b
mov ecx, dword [esp + 0x50]
mov dword [eax + 8], ecx
jmp 0x65df7b
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x50]
call fcn.00463080
mov eax, ecx
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea ecx, [0x739814]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x48
ret
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
add esp, 0x48
ret
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
call fcn.0065f7f0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
jne 0x65e096
lea eax, [0x69f300]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1d
lea ecx, [0x6cf4a2]
mov dword [eax], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x8e84e0]
test ecx, ecx
jne 0x65e04c
mov ecx, dword [esp + 0x50]
mov dword [eax + 8], ecx
jmp 0x65e05c
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x50]
call fcn.00463080
mov eax, ecx
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea ecx, [0x739814]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x48
ret
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
add esp, 0x48
ret
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
add esp, 0x48
ret
mov eax, 3
call fcn.00463160
mov ecx, ebx
call fcn.00463120
mov eax, 2
call fcn.00463160
call fcn.00463120
nop
call fcn.00461c70
jmp fcn.0065da60