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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6875a6
sub esp, 0x6c
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp + 8], edx
mov byte [esp + 0xc], 0
call fcn.006865d0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
test edx, edx
jne 0x687503
test eax, eax
jne 0x68740c
mov dword [esp + 0x48], ebx
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], esi
nop
nop
mov eax, ebx
and ebx, 0x1f
cmp ebx, 0x11
jne 0x687205
mov dword [esp + 0x44], ebx
xor ecx, ecx
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.006860f0
mov eax, dword [esp + 0x70]
cmp dword [eax + 0x10], 8
je 0x6871fc
mov ecx, dword [esp + 0x44]
cmp ecx, 0x17
je 0x68703a
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x48]
mov dword [esp + 8], edx
call fcn.0048d560
mov eax, dword [esp + 0x34]
cmp dword [esp + 0xc], eax
jle 0x686ff4
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov edx, dword [esp + 0x60]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x48]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.0048c900
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x70]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.00686360
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
jne 0x686fe2
mov eax, dword [esp + 0x70]
cmp dword [eax + 0x10], 9
je 0x686fc9
mov ecx, dword [esp + 0x34]
inc ecx
mov edx, dword [eax + 0x10]
cmp edx, 8
je 0x686dde
cmp edx, 7
je 0x686d04
jmp 0x68757d
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov edx, dword [esp + 0x60]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x48]
mov dword [esp + 8], ebx
call fcn.0048d560
mov eax, dword [esp + 0x34]
cmp dword [esp + 0xc], eax
jle 0x686f00
mov ecx, dword [esp + 0x44]
cmp ecx, 0x11
jne 0x686fa0
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x48]
mov dword [esp + 8], edx
call fcn.00490380
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x28]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00490de0
mov eax, dword [esp + 8]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x40], edx
mov ebx, dword [esp + 0x34]
jmp 0x686ed2
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov edx, dword [esp + 0x60]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x48]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.0048c900
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 + 0x58]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x14], edx
call fcn.0048ee60
mov eax, dword [esp + 0x34]
lea ebx, [eax + 1]
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x48]
mov dword [esp + 8], edx
call fcn.0048d560
mov eax, dword [esp + 0x34]
cmp dword [esp + 0xc], eax
jg 0x686e77
test eax, eax
jne 0x686f0d
mov eax, dword [esp + 0x44]
cmp eax, 0x17
je 0x686f27
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x6c
ret
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x48]
mov dword [esp + 8], edx
call fcn.00490380
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00490ae0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x5c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.0048ee60
jmp 0x686f0d
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov edx, dword [esp + 0x60]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x48]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.0048f520
mov eax, dword [esp + 0x34]
jmp 0x686f00
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.006860f0
mov eax, dword [esp + 0x70]
jmp 0x686dc3
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x6c
ret
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00686360
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x686db5
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x6c
ret
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x48]
mov dword [esp + 8], edx
call fcn.0048be00
mov eax, dword [esp + 0x34]
cmp dword [esp + 0xc], eax
jle 0x6870b6
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x48]
mov dword [esp + 8], edx
call fcn.0048d560
mov eax, dword [esp + 0x34]
cmp dword [esp + 0xc], eax
jg 0x686d37
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov edx, dword [esp + 0x60]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x48]
mov dword [esp + 8], ebx
lea ebp, [eax + 1]
mov dword [esp + 0xc], ebp
call fcn.0048f520
mov eax, dword [esp + 0x34]
jmp 0x686d37
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x48]
mov dword [esp + 8], edx
call fcn.0048be00
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov edx, dword [esp + 0x60]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x48]
mov dword [esp + 8], ebx
call fcn.0048be00
mov eax, dword [esp + 0xc]
mov ecx, eax
shr eax, 0x1f
add eax, ecx
sar eax, 1
mov ecx, dword [esp + 0x3c]
add eax, ecx
cmp eax, 4
jge 0x687113
mov eax, 4
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov edx, dword [esp + 0x60]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x48]
mov dword [esp + 8], ebx
call fcn.00490380
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp], edx
mov ebx, dword [esp + 0x60]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x48]
mov dword [esp + 8], ebp
call fcn.0048d560
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x38]
mov dword [esp], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
call fcn.00490ae0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x54], edx
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x60]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x48]
mov dword [esp + 0x14], esi
call fcn.004907b0
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x48]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x14], ebx
call fcn.0048ee60
jmp 0x687060
mov ecx, dword [esp + 0x34]
jmp 0x686dde
cmp ebx, 0x14
je 0x687304
cmp ebx, 0x17
je 0x686cfe
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
call fcn.00490380
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x38], ecx
lea edx, [0x80b760]
mov dword [esp], edx
call fcn.0040ac80
mov eax, dword [esp + 4]
mov dword [eax + 4], 5
lea ecx, [0x83fd15]
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov ecx, dword [0xc83da0]
test ecx, ecx
jne 0x6872ef
mov ecx, dword [esp + 0x50]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x10], edx
sar edx, 0x1f
mov dword [eax + 0x14], edx
mov edx, dword [ecx + 0x4c]
test edx, edx
je 0x6872ad
mov dword [esp], ecx
call fcn.00685fd0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x6c
ret
mov dword [esp], ecx
lea edx, [0x98a470]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00685ea0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x70]
mov dword [edx + 0x4c], eax
mov eax, dword [0xc83da0]
test eax, eax
jne 0x6872e3
mov dword [edx + 0x50], ecx
mov ecx, edx
jmp 0x68728b
lea edi, [edx + 0x50]
mov eax, ecx
call fcn.00459d90
jmp 0x6872df
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x50]
call fcn.00459d90
mov eax, ecx
jmp 0x687274
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
call fcn.0048e150
mov eax, dword [esp + 0xc]
test eax, eax
je 0x68732d
mov eax, dword [esp + 0x48]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x5c]
jmp 0x687217
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.0068bf00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 4]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00408570
mov eax, dword [esp + 0xc]
nop
movzx ecx, byte [0xc714a0]
test cl, cl
je 0x687401
lea ecx, [0x7b3580]
mov dword [0xc714a4], ecx
mov edx, dword [0xc83da0]
test edx, edx
jne 0x6873f4
mov dword [0xc714a8], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x6873ec
nop
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x6873aa
or edx, 0x80
mov ebx, dword [esp + 0x5c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
call fcn.0048ee60
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x6c
ret
xor edx, edx
xor eax, eax
xor ecx, ecx
jmp 0x6873aa
lea edi, [0xc714a8]
call fcn.00459d90
jmp 0x687385
lea ecx, [0x7b3580]
jmp 0x687385
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 8], eax
call fcn.00490380
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x38], ecx
lea edx, [0x80b760]
mov dword [esp], edx
call fcn.0040ac80
mov eax, dword [esp + 4]
mov dword [eax + 4], 5
lea ecx, [0x83fd15]
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov ecx, dword [0xc83da0]
test ecx, ecx
jne 0x6874ee
mov ecx, dword [esp + 0x50]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x10], edx
sar edx, 0x1f
mov dword [eax + 0x14], edx
mov edx, dword [ecx + 0x4c]
test edx, edx
je 0x6874ae
mov dword [esp], ecx
call fcn.00685fd0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x6c
ret
mov dword [esp], ecx
lea edx, [0x98a470]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00685ea0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x70]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0xc83da0]
test ecx, ecx
jne 0x6874e4
mov dword [edx + 0x50], eax
mov ecx, edx
jmp 0x68748c
lea edi, [edx + 0x50]
call fcn.00459d90
jmp 0x6874e0
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x50]
call fcn.00459d90
mov eax, ecx
jmp 0x687475
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x2c], edx
nop
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x3c], ecx
mov dword [esp], eax
call fcn.00685fd0
mov eax, dword [esp + 0x70]
mov edx, dword [eax + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 0xc]
cmp eax, edx
ja 0x68759e
mov ebx, dword [esp + 0x3c]
dec ebx
cmp ebx, eax
ja 0x687595
mov ebp, dword [esp + 0x2c]
mov ebp, dword [ebp + 0x10]
mov esi, dword [esp + 0x4c]
mov dword [esp], esi
sub edx, ebx
mov esi, edx
neg edx
sar edx, 0x1f
and edx, ebx
add ecx, edx
mov dword [esp + 4], ecx
sub eax, ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
call ebp
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x6c
ret
lea eax, [0x7cfd20]
mov dword [esp], eax
lea eax, [0x983b30]
mov dword [esp + 4], eax
call fcn.00430830
mov ecx, eax
mov eax, ebx
call fcn.00459e70
mov ecx, eax
call fcn.00459e50
nop
call fcn.00458550
jmp fcn.00686c80