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

Disassembly:
mov ecx, dword [0x98d270]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x248]
cmp eax, dword [ecx + 8]
jbe 0x68871a
sub esp, 0x2c8
mov ecx, dword [esp + 0x2d4]
movzx edx, byte [ecx + 0x295]
mov ebx, dword [esp + 0x2cc]
mov ebp, dword [ebx + 0x14]
test dl, dl
je 0x6881cd
lea edi, [esp + 0x124]
xor eax, eax
call fcn.00468bf4
mov ecx, dword [esp + 0x2d4]
mov edx, dword [ecx + 0x78]
mov eax, ebx
lea ebx, [0x6fc860]
cmp edx, ebx
jne 0x688703
mov esi, dword [ecx + 0x7c]
lea edi, [esp + 0x124]
call fcn.00468ee8
mov ecx, dword [esp + 0x148]
jmp 0x688202
lea edi, [esp + 0x44]
xor eax, eax
call fcn.00468bf8
mov ecx, dword [esp + 0x2d4]
mov edx, dword [ecx + 0x78]
mov eax, ebx
lea ebx, [0x6fcbe0]
cmp edx, ebx
jne 0x6886ed
mov esi, dword [ecx + 0x7c]
lea edi, [esp + 0x44]
call fcn.00468f10
mov ecx, dword [esp + 0x68]
cmp ecx, 0x200
jbe 0x6882f7
test ecx, 1
je 0x6882f1
mov edx, dword [esp + 0x2d4]
mov ebx, dword [edx + 0x278]
mov esi, dword [edx + 0x274]
inc esi
mov edi, dword [edx + 0x270]
cmp ebx, esi
jae 0x6882a9
mov dword [esp + 0x24], ebp
mov dword [esp + 0x3c], ecx
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x6bd160]
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 + 0x2d4]
mov dword [ebx + 0x278], eax
mov eax, dword [0x98d4e0]
test eax, eax
je 0x688295
call fcn.004689a0
mov dword [edi], ecx
mov eax, dword [ebx + 0x270]
mov dword [edi + 4], eax
mov dword [ebx + 0x270], ecx
mov ebp, dword [esp + 0x24]
mov esi, edx
mov edi, ecx
mov ecx, dword [esp + 0x3c]
mov edx, ebx
mov dword [edx + 0x274], esi
lea ebx, [edi + esi*8 - 4]
mov eax, dword [0x95d9e4]
lea esi, [edi + esi*8 - 8]
mov edi, dword [0x95d9e0]
mov dword [ebx], eax
mov eax, dword [0x98d4e0]
test eax, eax
jne 0x6882d7
cmp ecx, 0x200
jmp 0x6882ed
mov eax, edi
call fcn.004689a0
mov dword [edi], eax
mov ebx, dword [esi]
mov dword [edi + 4], ebx
cmp ecx, 0x200
mov edi, eax
mov dword [esi], edi
jmp 0x6882fe
cmp ecx, 0x200
mov edx, dword [esp + 0x2d4]
jb 0x688306
and ebp, 0xfffffe00
mov eax, dword [edx + 0x28c]
sub eax, ebp
mov ecx, dword [esp + 0x2cc]
mov ebx, dword [ecx + 0x10]
cmp ebx, eax
jbe 0x688321
mov eax, dword [ecx + 8]
jmp 0x68832a
mov eax, dword [ecx + 8]
cmp eax, ebx
ja 0x68832a
mov eax, ebx
mov dword [esp + 0x28], eax
mov ebx, dword [ecx + 0xc]
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.0067b6e0
mov eax, dword [esp + 0x2d4]
mov ecx, dword [eax + 0xa0]
mov edx, dword [esp + 8]
mov dword [esp + 0x20], edx
mov ebx, dword [eax + 0xa4]
mov dword [esp + 0x40], ebx
mov ebp, dword [esp + 0x2cc]
xor esi, esi
jmp 0x68838e
mov eax, dword [esp + 0x214]
lea ecx, [eax + 0x2c]
mov eax, dword [esp + 0x38]
lea esi, [eax + 1]
mov ebp, dword [esp + 0x2cc]
mov eax, dword [esp + 0x2d4]
mov ebx, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
cmp esi, ebx
jge 0x688422
mov dword [esp + 0x38], esi
mov dword [esp + 0x214], ecx
lea edi, [esp + 0x29c]
mov esi, ecx
call fcn.004690d2
mov ecx, dword [eax + 0xa4]
dec ecx
mov esi, edx
mov edx, dword [esp + 0x38]
cmp edx, ecx
je 0x68841e
mov dword [esp], ebp
lea eax, [esp + 0x29c]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x28
call fcn.00403500
movzx eax, byte [esp + 0xc]
test al, al
je 0x688367
mov edx, dword [esp + 0x2d4]
mov ecx, dword [edx + 0xa4]
mov ebx, dword [esp + 0x38]
lea eax, [ebx + 1]
cmp ecx, eax
jbe 0x6886e8
mov eax, dword [edx + 0xa0]
imul ecx, ebx, 0x2c
mov eax, dword [ecx + eax + 0x38]
mov ebp, dword [esp + 0x2cc]
mov esi, dword [esp + 0x20]
mov ecx, eax
mov eax, edx
jmp 0x688426
xor ecx, ecx
jmp 0x688426
mov esi, edx
xor ecx, ecx
test ecx, ecx
je 0x688441
mov ecx, dword [eax + 0xa0]
mov edx, dword [eax + 0xa4]
mov dword [esp + 0x40], edx
xor ebx, ebx
jmp 0x688648
xor ecx, ecx
test cl, cl
je 0x68845e
mov ecx, dword [eax + 0xa0]
mov edx, dword [eax + 0xa4]
mov dword [esp + 0x40], edx
xor ebx, ebx
jmp 0x68857b
xor ecx, ecx
test cl, cl
je 0x688478
mov ecx, dword [eax + 0xa0]
mov edx, dword [eax + 0xa4]
mov dword [esp + 0x40], edx
xor ebx, ebx
jmp 0x6884c7
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2d0]
cmp ecx, esi
jb 0x688490
add eax, esi
cmp ecx, eax
setb al
jmp 0x688492
xor eax, eax
mov byte [esp + 0x2d8], al
add esp, 0x2c8
ret
mov eax, dword [esp + 0x214]
lea ecx, [eax + 0x2c]
mov eax, dword [esp + 0x2c]
lea ebx, [eax + 1]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x2d4]
mov ebp, dword [esp + 0x2cc]
mov esi, dword [esp + 0x20]
cmp ebx, edx
jge 0x688546
mov dword [esp + 0x214], ecx
lea edi, [esp + 0x218]
mov esi, ecx
call fcn.004690d2
mov ecx, dword [eax + 0xa4]
dec ecx
cmp ebx, ecx
je 0x68853e
mov dword [esp + 0x2c], ebx
mov dword [esp], ebp
lea eax, [esp + 0x218]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x28
call fcn.00403500
movzx eax, byte [esp + 0xc]
test al, al
je 0x6884a0
mov edx, dword [esp + 0x2d4]
mov ecx, dword [edx + 0xa4]
mov ebx, dword [esp + 0x2c]
lea eax, [ebx + 1]
cmp ecx, eax
jbe 0x68854f
mov eax, dword [edx + 0xa0]
imul ecx, ebx, 0x2c
mov eax, dword [ecx + eax + 0x38]
mov esi, dword [esp + 0x20]
jmp 0x688548
mov esi, dword [esp + 0x20]
xor eax, eax
jmp 0x688548
xor eax, eax
sub eax, esi
jmp 0x68847c
call fcn.00468a00
mov eax, dword [esp + 0x214]
lea ecx, [eax + 0x2c]
mov eax, dword [esp + 0x30]
lea ebx, [eax + 1]
mov ebp, dword [esp + 0x2cc]
mov eax, dword [esp + 0x2d4]
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x20]
cmp ebx, edx
jge 0x688609
mov dword [esp + 0x214], ecx
lea edi, [esp + 0x244]
mov esi, ecx
call fcn.004690d2
mov ecx, dword [eax + 0xa4]
dec ecx
cmp ebx, ecx
je 0x688601
mov dword [esp + 0x30], ebx
mov dword [esp], ebp
lea eax, [esp + 0x244]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x28
call fcn.00403500
movzx eax, byte [esp + 0xc]
test al, al
je 0x688554
mov edx, dword [esp + 0x2d4]
mov ecx, dword [edx + 0xa4]
mov ebx, dword [esp + 0x30]
lea eax, [ebx + 1]
cmp ecx, eax
jbe 0x68861c
mov eax, dword [edx + 0xa0]
imul ecx, ebx, 0x2c
mov eax, dword [ecx + eax + 0x38]
mov ebp, dword [esp + 0x2cc]
mov esi, dword [esp + 0x20]
mov ecx, eax
mov eax, edx
jmp 0x68860b
mov esi, dword [esp + 0x20]
xor ecx, ecx
jmp 0x68860b
xor ecx, ecx
mov edx, dword [esp + 0x28]
lea ebx, [edx + esi]
cmp ecx, ebx
setb cl
jmp 0x688460
call fcn.00468a00
mov eax, dword [esp + 0x214]
lea ecx, [eax + 0x2c]
mov eax, dword [esp + 0x34]
lea ebx, [eax + 1]
mov ebp, dword [esp + 0x2cc]
mov eax, dword [esp + 0x2d4]
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x20]
cmp ebx, edx
jge 0x6886d6
mov dword [esp + 0x214], ecx
lea edi, [esp + 0x270]
mov esi, ecx
call fcn.004690d2
mov ecx, dword [eax + 0xa4]
dec ecx
cmp ebx, ecx
je 0x6886ce
mov dword [esp + 0x34], ebx
mov dword [esp], ebp
lea eax, [esp + 0x270]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x28
call fcn.00403500
movzx eax, byte [esp + 0xc]
test al, al
je 0x688621
mov edx, dword [esp + 0x2d4]
mov ecx, dword [edx + 0xa4]
mov ebx, dword [esp + 0x34]
lea eax, [ebx + 1]
cmp ecx, eax
jbe 0x6886e3
mov eax, dword [edx + 0xa0]
imul ecx, ebx, 0x2c
mov eax, dword [ecx + eax + 0x38]
mov ebp, dword [esp + 0x2cc]
mov esi, dword [esp + 0x20]
mov ecx, eax
mov eax, edx
jmp 0x6886d8
mov esi, dword [esp + 0x20]
xor ecx, ecx
jmp 0x6886d8
xor ecx, ecx
cmp dword [ebp + 0xc], ecx
setb cl
jmp 0x688443
call fcn.00468a00
call fcn.00468a00
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.00688150