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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x38]
cmp eax, dword [ecx + 8]
jbe 0x687e06
sub esp, 0xb8
mov edx, dword [esp + 0xbc]
mov ebx, dword [edx + 0x1c]
mov ebp, dword [edx + 0x20]
mov esi, dword [edx + 0x18]
test ebx, ebx
je 0x687dd2
mov ecx, dword [esi + 4]
mov eax, esi
mov esi, dword [esi]
cmp ecx, 2
jl 0x687dad
cmp byte [esi], 0x2d
jne 0x687dad
lea edi, [edx + 0x18]
cmp byte [esi + 1], 0x2d
jne 0x687d97
cmp ecx, 2
je 0x687d48
mov dword [esp + 0x4c], eax
mov eax, 2
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x48], ebp
mov ebp, dword [esp + 0x2c]
cmp ebp, ecx
ja 0x687dfe
mov dword [esp + 0x28], ecx
sub ecx, ebp
mov dword [esp + 0x30], ecx
neg ecx
sar ecx, 0x1f
and ebp, ecx
mov ecx, edx
lea edx, [ebp + esi]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x30]
test edx, edx
je 0x687ca9
mov dword [esp + 0x44], ebp
movzx ebp, byte [ebp + esi]
xchg ebp, eax
cmp al, 0x2d
xchg ebp, eax
je 0x687ca9
xchg ebp, eax
cmp al, 0x3d
xchg ebp, eax
je 0x687ca9
dec ebx
mov dword [ecx + 0x1c], ebx
mov ebx, dword [esp + 0x48]
dec ebx
mov dword [ecx + 0x20], ebx
mov ebp, dword [0xcc7b40]
neg ebx
sar ebx, 0x1f
and ebx, 8
add eax, ebx
test ebp, ebp
jne 0x687c9f
mov dword [ecx + 0x18], eax
mov dword [esp + 0x84], edi
mov dword [esp + 0x60], esi
mov ebx, dword [esp + 0x64]
mov eax, 1
jmp 0x68756c
inc eax
cmp eax, edx
jge 0x687c8a
jae 0x687df7
movzx ebp, byte [eax + ebx]
xchg ebp, eax
cmp al, 0x3d
xchg ebp, eax
jne 0x68756b
lea ebp, [eax + 1]
sub edx, ebp
mov dword [esp + 0x24], edx
neg edx
sar edx, 0x1f
and ebp, edx
lea edx, [ebx + ebp]
mov ebp, 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x5c], edx
xchg ebp, eax
mov byte [esp + 0x23], al
xchg ebp, eax
mov esi, dword [ecx + 0x14]
lea edi, [0x7f9fa0]
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.004100a0
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
mov eax, dword [eax]
test cl, cl
jne 0x6876ed
mov eax, dword [esp + 0x30]
cmp eax, 4
jne 0x6876e0
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x60]
mov ebx, dword [edx + ecx]
cmp ebx, 0x706c6568
jne 0x687633
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
call fcn.00687420
mov eax, dword [0xcb45d4]
mov ecx, dword [0xcb45d0]
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0xb8
ret
cmp eax, 1
jne 0x687641
movzx ecx, byte [ecx + edx]
cmp cl, 0x68
je 0x6875fb
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004087a0
mov eax, dword [esp + 8]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
lea ecx, [0x7f33a0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
lea eax, [0x877f45]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x22
lea eax, [esp + 0x88]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.00687330
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
add esp, 0xb8
ret
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x60]
jmp 0x687633
mov dword [esp + 0x6c], eax
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
lea ebx, [0x815880]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00408b30
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
movzx edx, byte [esp + 0x14]
test dl, dl
jne 0x687c68
xor edx, edx
test dl, dl
je 0x687a19
movzx edx, byte [esp + 0x23]
test dl, dl
je 0x687911
mov eax, dword [eax + 0x14]
mov dword [esp], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 8], edx
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
jne 0x687813
mov eax, dword [esp + 0xbc]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x6877da
mov eax, dword [eax + 0x10]
lea ecx, [0x7f9fa0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
call fcn.00410430
mov edi, dword [esp + 0x10]
test byte [edi], al
mov eax, dword [0xcc7b40]
test eax, eax
jne 0x6877cf
mov eax, dword [esp + 0x6c]
mov dword [edi], eax
mov byte [esp + 0xc0], 1
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
add esp, 0xb8
ret
mov eax, dword [esp + 0x6c]
call fcn.0045a0b0
jmp 0x6877aa
call fcn.0040bae0
mov eax, dword [0xcc7b40]
mov ecx, dword [esp]
test eax, eax
jne 0x6877fb
mov eax, dword [esp + 0xbc]
mov dword [eax + 0x10], ecx
jmp 0x68776f
mov edx, dword [esp + 0xbc]
lea edi, [edx + 0x10]
mov eax, ecx
call fcn.0045a0b0
mov eax, edx
jmp 0x68776f
mov dword [esp + 0x74], eax
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.004087a0
mov eax, dword [esp + 8]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
call fcn.004087a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x68785d
mov ecx, dword [ecx + 4]
mov dword [esp + 0x7c], ecx
lea edi, [esp + 0xa0]
mov edx, eax
xor eax, eax
call fcn.0045a35a
lea ecx, [0x7f33a0]
mov dword [esp + 0xa0], ecx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp], ecx
lea ecx, [0x87923c]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x24
lea ecx, [esp + 0xa0]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 3
call fcn.00687330
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], ecx
add esp, 0xb8
ret
mov eax, dword [eax + 0x14]
mov dword [esp], ecx
lea ecx, [0x867dd7]
mov dword [esp + 4], ecx
mov dword [esp + 8], 4
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x687761
mov dword [esp + 0x78], eax
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call fcn.004087a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x687966
mov ecx, dword [ecx + 4]
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
lea edx, [0x7f33a0]
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov eax, dword [esp + 0x78]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
lea eax, [0x8736e8]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1b
lea eax, [esp + 0x90]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 2
call fcn.00687330
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
add esp, 0xb8
ret
movzx ecx, byte [esp + 0x23]
test cl, cl
je 0x687c09
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x5c]
test cl, cl
je 0x687b66
mov dword [esp + 0x24], eax
mov dword [esp + 0x5c], edx
mov ecx, dword [esp + 0x6c]
mov ebx, dword [ecx + 0x10]
mov ebp, dword [ecx + 0x14]
mov ebx, dword [ebx + 0x10]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call ebx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x687761
mov dword [esp + 0x70], eax
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.004087a0
mov eax, dword [esp + 8]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
call fcn.004087a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x687ab2
mov ecx, dword [ecx + 4]
mov dword [esp + 0x7c], ecx
lea edi, [esp + 0xa0]
mov edx, eax
xor eax, eax
call fcn.0045a35a
lea ecx, [0x7f33a0]
mov dword [esp + 0xa0], ecx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp], ecx
lea ecx, [0x87753c]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x21
lea ecx, [esp + 0xa0]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 3
call fcn.00687330
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], ecx
add esp, 0xb8
ret
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call fcn.004087a0
mov eax, dword [esp + 8]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
lea ecx, [0x7f33a0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
lea eax, [0x873553]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1b
lea eax, [esp + 0x88]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.00687330
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
add esp, 0xb8
ret
mov edx, dword [esp + 0xbc]
mov ebx, dword [edx + 0x20]
mov ebp, dword [edx + 0x18]
mov esi, dword [edx + 0x1c]
test esi, esi
jle 0x687a26
mov ecx, dword [ebp + 4]
mov eax, ecx
mov ecx, dword [ebp]
dec esi
mov dword [edx + 0x1c], esi
dec ebx
mov dword [edx + 0x20], ebx
mov esi, dword [0xcc7b40]
neg ebx
sar ebx, 0x1f
and ebx, 8
add ebx, ebp
test esi, esi
jne 0x687c54
mov dword [edx + 0x18], ebx
mov edx, ecx
mov ecx, 1
jmp 0x687a2e
mov edi, dword [esp + 0x84]
mov ebp, eax
mov eax, ebx
call fcn.0045a0b0
mov eax, ebp
jmp 0x687c48
mov dword [esp + 0x34], eax
mov dword [esp + 0x68], ecx
mov edx, dword [eax + 0x10]
mov dword [esp], ecx
call edx
movzx edx, byte [esp + 4]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x68]
jmp 0x687724
mov eax, edx
xor ebp, ebp
xor eax, eax
mov dword [esp + 0x24], eax
xor edx, edx
mov eax, dword [esp + 0x30]
jmp 0x68759d
call fcn.0045a0b0
jmp 0x687555
mov dword [esp], esi
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call fcn.004087a0
mov eax, dword [esp + 8]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
lea ecx, [0x7f33a0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
lea eax, [0x86e15b]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x13
lea eax, [esp + 0x88]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.00687330
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0xb8
ret
lea ecx, [ebx - 1]
mov dword [edx + 0x1c], ecx
lea ecx, [ebp - 1]
mov dword [edx + 0x20], ecx
mov ebx, dword [0xcc7b40]
neg ecx
sar ecx, 0x1f
and ecx, 8
add eax, ecx
test ebx, ebx
jne 0x687d90
mov dword [edx + 0x18], eax
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
add esp, 0xb8
ret
call fcn.0045a0b0
jmp 0x687d6b
mov dword [esp + 0x54], eax
mov eax, 1
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x54]
jmp 0x6874d8
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
add esp, 0xb8
ret
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
add esp, 0xb8
ret
mov ecx, edx
call fcn.0045a130
mov eax, ebp
call fcn.0045a190
nop
call fcn.00458870
jmp fcn.00687460