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

Disassembly:
mov ecx, dword [0x98cddc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xc]
cmp eax, dword [ecx + 8]
jbe 0x65df44
sub esp, 0x8c
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 0x34]
mov edx, dword [eax + 0x38]
mov ebx, dword [eax + 0x3c]
mov byte [esp], 7
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.0065e700
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test eax, eax
jne 0x65df13
mov dword [esp + 0x6c], ecx
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
lea edi, [esp + 0x70]
xor eax, eax
call fcn.00471d4b
test ebp, ebp
sete cl
test esi, esi
xchg edi, ebx
sete bl
xchg edi, ebx
and edi, ecx
xchg edi, eax
test al, al
xchg edi, eax
je 0x65dcff
xor ecx, ecx
jmp 0x65ddf4
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ebx
mov ecx, dword [0x95fc34]
mov edi, dword [ecx + 4]
mov dword [esp + 0x38], edi
sar edi, 0x1f
cmp esi, edi
xchg edi, ebx
sete bl
xchg edi, ebx
setb al
mov ebx, dword [esp + 0x38]
cmp ebx, ebp
setae dl
and edx, edi
or eax, edx
test al, al
je 0x65dd74
mov eax, ebp
add ebp, 0xffffffff
adc esi, 0xffffffff
test esi, esi
jne 0x65df3a
cmp ebp, ebx
jae 0x65df31
lea edx, [ebp + ebp*4]
mov ecx, dword [ecx]
lea esi, [ecx + edx*4]
lea edi, [esp + 0x70]
call fcn.0047222e
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
mov ebp, eax
mov ecx, 1
xor eax, eax
jmp 0x65ddf4
mov ecx, dword [esp + 0x90]
mov edx, dword [ecx + 4]
add edx, ebx
mov ebx, edx
sar edx, 0x1f
cmp esi, edx
seta dl
sete al
cmp ebp, ebx
seta bl
and eax, ebx
or eax, edx
test al, al
je 0x65dda8
xor eax, eax
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
xor ecx, ecx
jmp 0x65ddf4
lea edi, [esp + 0x50]
mov esi, ecx
call fcn.0047221a
mov ecx, dword [0x95fc34]
mov eax, dword [esp + 0x54]
mov ecx, dword [ecx + 4]
mov edx, ebp
sub ebp, ecx
mov ecx, eax
sub eax, ebp
cmp ecx, eax
jbe 0x65df2c
mov ecx, dword [esp + 0x50]
lea ebx, [eax + eax*4]
lea esi, [ecx + ebx*4]
lea edi, [esp + 0x70]
call fcn.0047222e
xor eax, eax
mov ebx, dword [esp + 0x34]
mov ebp, edx
mov ecx, 1
mov edx, dword [esp + 0x30]
mov byte [esp + 0x2f], cl
lea edi, [esp + 0x3c]
lea esi, [esp + 0x70]
call fcn.0047222e
movzx ecx, byte [esp + 0x2f]
test cl, cl
je 0x65dea5
mov ecx, dword [esp + 0x90]
mov dword [ecx + 0x38], edx
mov dword [ecx + 0x3c], ebx
mov edx, dword [0x98d0b8]
test edx, edx
jne 0x65de2f
mov edx, dword [esp + 0x6c]
jmp 0x65de40
call fcn.00471ac0
mov edx, dword [esp + 0x6c]
mov dword [edi], edx
mov ebx, dword [ecx + 0x34]
mov dword [edi + 4], ebx
mov dword [ecx + 0x34], edx
lea edi, [esp + 0x70]
call fcn.00471d4b
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
lea edi, [esp + 4]
lea esi, [esp + 0x70]
call fcn.0047222e
call fcn.0065e4c0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
add esp, 0x8c
ret
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp], ebp
call fcn.00409f20
mov eax, dword [esp + 4]
lea ecx, [0x7a4ab0]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
lea eax, [0x6f6dc0]
mov dword [esp], eax
lea eax, [esp + 0x84]
mov dword [esp + 4], eax
call fcn.00409df0
mov eax, dword [esp + 8]
lea ecx, [0x7a4820]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
add esp, 0x8c
ret
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
add esp, 0x8c
ret
call fcn.00471b30
mov eax, ebp
mov ecx, ebx
call fcn.00471b40
mov eax, ebp
mov ecx, ebx
call fcn.00471c10
nop
call fcn.004706b0
jmp fcn.0065dc70