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

Disassembly:
mov ecx, dword [0x98cddc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6807c3
sub esp, 0x6c
lea eax, [0x6d9640]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.004050f0
mov eax, dword [esp + 8]
mov dword [esp + 0x3c], eax
lea ecx, [0x6daf20]
mov dword [esp], ecx
call fcn.0040bc10
mov eax, dword [esp + 4]
mov dword [esp + 0x68], eax
jmp 0x68050d
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.0047bd70
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 4], 8
mov dword [esp + 8], 8
call fcn.005ab810
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x6807b0
mov eax, dword [esp + 0x70]
test byte [eax], al
lea ecx, [eax + 0x34]
mov dword [esp + 0x40], ecx
mov dword [esp], ecx
call fcn.0047b9f0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x70]
mov ebp, dword [ebx + 0x74]
lea esi, [0x6e36e0]
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call fcn.00468ca0
movzx eax, byte [esp + 0x14]
test al, al
jne 0x6804fd
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x70]
mov ebx, dword [edx + 0x74]
mov ebp, dword [esp + 0x30]
lea esi, [0x6e36e0]
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
call fcn.00468e10
mov eax, dword [esp + 0x10]
test byte [eax], al
mov ecx, dword [0x98d0b8]
test ecx, ecx
jne 0x6805f5
mov ecx, dword [esp + 0x3c]
jmp 0x680605
call fcn.00471ac0
mov ecx, dword [esp + 0x3c]
mov dword [edi], ecx
mov edx, dword [eax]
mov dword [edi + 4], edx
mov dword [eax], ecx
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.0047bd70
lea eax, [0x6eabc0]
mov dword [esp], eax
call fcn.0040bc10
mov eax, dword [esp + 4]
mov dword [esp + 0x64], eax
mov dword [eax], 0
mov dword [eax + 4], 0
lea ecx, [0x6d9640]
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.004050f0
mov eax, dword [esp + 8]
mov dword [esp + 0x38], eax
lea ecx, [0x6ffba0]
mov dword [esp], ecx
call fcn.0040bc10
mov eax, dword [esp + 4]
lea ecx, [0x6807d0]
mov dword [eax], ecx
mov ecx, dword [0x98d0b8]
test ecx, ecx
jne 0x68068a
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x38]
jmp 0x6806aa
call fcn.00471ae0
mov ecx, dword [esp + 0x70]
mov dword [edi], ecx
mov edx, dword [esp + 0x64]
mov dword [edi + 4], edx
mov ebx, dword [esp + 0x68]
mov dword [edi + 8], ebx
mov ebp, dword [esp + 0x38]
mov dword [edi + 0xc], ebp
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebp
mov dword [esp], eax
call fcn.004425a0
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x78]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 0x18]
lea edi, [esp + 0x44]
mov ebx, eax
xor eax, eax
call fcn.00471d48
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x54], eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x44], edx
lea eax, [esp + 0x44]
mov dword [esp], eax
lea eax, [esp + 0x20]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 4
mov byte [esp + 0x14], 1
call fcn.00449f20
mov eax, dword [esp + 0x18]
test eax, eax
je 0x680797
cmp eax, 1
je 0x680770
cmp eax, 2
jne 0x680759
mov eax, dword [esp + 0x64]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x6c
ret
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x6c
ret
mov eax, dword [esp + 0x74]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x6c
ret
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x6c
ret
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x6c
ret
call fcn.004706b0
jmp fcn.006804b0