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

Disassembly:
mov ecx, dword [0x98d270]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x1b0]
cmp eax, dword [ecx + 8]
jbe 0x6857e0
sub esp, 0x230
mov ecx, dword [esp + 0x234]
movzx edx, byte [ecx + 0x295]
test dl, dl
je 0x685481
lea edi, [esp + 0x124]
xor eax, eax
call fcn.00468bf4
mov ecx, dword [esp + 0x234]
mov edx, dword [ecx + 0x78]
lea ebx, [0x6fc860]
cmp edx, ebx
jne 0x6857c9
mov esi, dword [ecx + 0x7c]
lea edi, [esp + 0x124]
call fcn.00468ee8
mov eax, dword [esp + 0x15c]
jmp 0x6854b4
lea edi, [esp + 0x44]
xor eax, eax
call fcn.00468bf8
mov ecx, dword [esp + 0x234]
mov edx, dword [ecx + 0x78]
lea ebx, [0x6fcbe0]
cmp edx, ebx
jne 0x6857b3
mov esi, dword [ecx + 0x7c]
lea edi, [esp + 0x44]
call fcn.00468f10
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
lea ecx, [0x6d34e0]
mov dword [esp], ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 4], ecx
call fcn.004cf4a0
mov eax, dword [esp + 8]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x238]
mov edx, dword [esp + 0x23c]
add edx, ecx
mov dword [esp + 0x28], edx
jmp 0x68550b
mov ebx, dword [esp + 0x2c]
lea ecx, [ebx + eax]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
cmp ecx, edx
jae 0x68577e
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x234]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0067ac90
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x234]
mov dword [esp], ecx
lea edx, [0x6a98e0]
mov dword [esp + 4], edx
lea ebx, [esp + 0x34]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
call fcn.0067b980
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x685761
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
cmp ecx, eax
jb 0x685740
mov edx, dword [esp + 0x38]
cmp ecx, edx
jb 0x68571f
mov ecx, dword [esp + 0x234]
mov dword [esp], ecx
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
lea esi, [ebp + ebx]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
sub edx, ebx
mov dword [esp + 0xc], edx
call fcn.006851d0
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x685702
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x214], ecx
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
lea edi, [esp + 0x21c]
xor eax, eax
call fcn.00468c2b
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x21c], ecx
mov dword [esp + 0x220], ebp
mov ecx, dword [esp + 0x214]
mov dword [esp + 0x224], ecx
mov dword [esp + 0x228], edx
mov dword [esp + 0x22c], ebx
mov ecx, dword [esp + 0x234]
mov edx, dword [ecx + 0x108]
mov ebx, dword [ecx + 0x104]
inc ebx
mov ebp, dword [ecx + 0x100]
cmp edx, ebx
jae 0x68569f
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x6d3540]
mov dword [esp + 0x10], eax
call fcn.0044e1d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x234]
mov dword [ebx + 0x108], eax
mov eax, dword [0x98d4e0]
test eax, eax
je 0x68568e
call fcn.004689a0
mov dword [edi], ecx
mov eax, dword [ebx + 0x100]
mov dword [edi + 4], eax
mov dword [ebx + 0x100], ecx
mov ebx, edx
mov ebp, ecx
mov ecx, dword [esp + 0x234]
mov dword [ecx + 0x104], ebx
mov eax, dword [0x98d4e0]
lea edx, [ebx + ebx*4]
lea edi, [ebp + edx*4 - 0x14]
test eax, eax
je 0x6856e8
mov dword [esp + 0x218], edi
lea eax, [0x6d3540]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x21c]
mov dword [esp + 8], eax
call fcn.00411600
mov ecx, dword [esp + 0x234]
mov edi, dword [esp + 0x218]
lea esi, [esp + 0x21c]
call fcn.0046910e
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x6854fc
jmp 0x68577e
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x240], eax
mov dword [esp + 0x244], ecx
add esp, 0x230
ret
mov eax, dword [0x95dab8]
mov ecx, dword [0x95dabc]
mov dword [esp + 0x240], eax
mov dword [esp + 0x244], ecx
add esp, 0x230
ret
mov eax, dword [0x95dab0]
mov ecx, dword [0x95dab4]
mov dword [esp + 0x240], eax
mov dword [esp + 0x244], ecx
add esp, 0x230
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x240], eax
mov dword [esp + 0x244], ecx
add esp, 0x230
ret
mov eax, dword [esp + 0x234]
mov ecx, dword [eax + 0x104]
test ecx, ecx
je 0x685796
mov byte [eax + 0x2a0], 1
mov dword [esp + 0x240], 0
mov dword [esp + 0x244], 0
add esp, 0x230
ret
mov dword [esp], edx
mov dword [esp + 4], ebx
lea eax, [0x6be780]
mov dword [esp + 8], eax
call fcn.004099c0
mov dword [esp], edx
mov dword [esp + 4], ebx
lea eax, [0x6be780]
mov dword [esp + 8], eax
call fcn.004099c0
nop
call fcn.00467590
jmp fcn.00685410