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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x691e99
sub esp, 0x70
mov ecx, dword [esp + 0x7c]
cmp ecx, 5
jge 0x691e5b
xor eax, eax
test al, al
jne 0x691e0a
cmp ecx, 1
jb 0x691e8e
mov eax, dword [esp + 0x78]
movzx ecx, byte [eax]
mov byte [esp + 0x2a], cl
mov byte [esp + 0x2b], cl
mov edx, dword [esp + 0x74]
mov ebx, dword [edx + 0x4c]
lea ebp, [0x7fae20]
mov dword [esp], ebp
mov dword [esp + 4], ebx
lea ebx, [esp + 0x2b]
mov dword [esp + 8], ebx
call fcn.0040c0e0
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x10]
mov eax, dword [eax]
mov edx, dword [esp + 0x7c]
lea ebx, [edx - 1]
mov dword [esp + 0x40], ebx
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, 1
mov esi, dword [esp + 0x78]
add ebx, esi
mov dword [esp + 0x5c], ebx
test cl, cl
je 0x691b90
mov dword [esp + 0x4c], eax
cmp edx, 2
jle 0x6919ce
cmp byte [esi + 1], 0x3d
jne 0x6919ce
lea ecx, [esi + 2]
lea ebx, [edx - 2]
xor edx, edx
xor ebp, ebp
mov esi, dword [esp + 0x84]
mov edi, dword [esp + 0x80]
mov esi, dword [esp + 0x88]
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0x84]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x38], esi
mov dword [esp + 0x58], edi
mov esi, dword [eax + 0x44]
test esi, esi
je 0x691905
mov esi, dword [esp + 0x74]
mov edi, dword [esi + 0x68]
mov esi, dword [esi + 0x64]
test esi, esi
je 0x6919bd
mov dword [esp + 0x44], edi
mov dword [esp + 0x2c], esi
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.004087a0
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 0x44]
mov ebx, dword [ecx + 0x40]
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.004087a0
mov eax, dword [esp + 8]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
lea ecx, [0x7f33a0]
mov dword [esp + 0x60], ecx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
lea eax, [0x87c9b8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x2b
lea eax, [esp + 0x60]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 2
call fcn.004d5d50
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
mov edx, dword [esp + 0x8c]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
jne 0x69197c
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], eax
add esp, 0x70
ret
mov dword [esp + 0x50], eax
mov dword [esp + 0x34], ecx
mov edx, dword [ecx + 0x10]
mov dword [esp], eax
call edx
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call fcn.006910f0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
jmp 0x691933
mov edi, dword [0xcb405c]
lea esi, [0x9bb530]
jmp 0x691851
mov ecx, dword [eax + 0x30]
mov edi, dword [eax + 0x2c]
test ecx, ecx
je 0x691a0f
mov edx, dword [esp + 0x84]
mov esi, dword [esp + 0x88]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x40], esi
mov esi, edx
mov edx, ebp
mov ebp, ebx
mov ebx, ecx
mov ecx, edi
mov edi, dword [esp + 0x5c]
jmp 0x69181c
cmp edx, 1
jle 0x691a52
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
xor esi, esi
xor edi, edi
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x5c], edx
mov edx, ecx
mov ecx, ebp
mov ebp, esi
mov esi, dword [esp + 0x40]
mov esi, edi
mov edi, ebx
mov ebx, esi
mov esi, dword [esp + 0x40]
jmp 0x6919f8
mov ecx, dword [esp + 0x84]
test ecx, ecx
jle 0x691a9e
mov edx, dword [esp + 0x80]
mov esi, dword [edx + 4]
mov edi, dword [edx]
mov eax, dword [esp + 0x88]
dec eax
mov dword [esp + 0x3c], eax
neg eax
sar eax, 0x1f
and eax, 8
add edx, eax
dec ecx
mov eax, dword [esp + 0x4c]
mov ebx, edi
mov ebp, esi
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x5c]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x4c]
jmp 0x691a38
movzx eax, byte [esp + 0x2a]
mov byte [esp + 0x2b], al
mov dword [esp], esi
mov dword [esp + 4], edx
call fcn.004087a0
mov eax, dword [esp + 8]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
movzx ecx, byte [esp + 0x2b]
lea edx, [0x7f3620]
mov dword [esp + 0x60], edx
lea edx, [0xc6c020]
add ecx, edx
mov dword [esp + 0x64], ecx
lea ecx, [0x7f33a0]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x74]
mov dword [esp], eax
lea eax, [0x87730b]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x21
lea eax, [esp + 0x60]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 2
call fcn.006910f0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], eax
add esp, 0x70
ret
movzx edi, byte [esp + 0x2a]
xchg edi, eax
cmp al, 0x68
xchg edi, eax
je 0x691da0
mov eax, edi
mov edi, dword [esp + 0x74]
movzx edi, byte [edi + 5]
xchg edi, eax
test al, al
xchg edi, eax
je 0x691cb3
cmp edx, 2
jle 0x691bc3
cmp byte [esi + 1], 0x3d
je 0x691c59
mov edx, dword [esp + 0x84]
test edx, edx
jne 0x691c19
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebp
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
add esp, 0x70
ret
mov esi, dword [esp + 0x80]
mov ecx, dword [esi + 4]
mov edi, dword [esi]
test ecx, ecx
jbe 0x691e87
cmp byte [edi], 0x2d
jne 0x691c3d
mov eax, dword [esp + 0x88]
mov ecx, esi
jmp 0x691bdc
mov edi, dword [esp + 0x88]
lea eax, [edi - 1]
mov edi, eax
neg eax
sar eax, 0x1f
and eax, 8
lea ecx, [esi + eax]
dec edx
mov eax, edi
jmp 0x691bdc
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov eax, dword [esp + 0x80]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
add esp, 0x70
ret
mov byte [esp + 0x2b], al
mov dword [esp], esi
mov dword [esp + 4], edx
call fcn.004087a0
mov eax, dword [esp + 8]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
movzx ecx, byte [esp + 0x2b]
lea edx, [0x7f3620]
mov dword [esp + 0x60], edx
lea edx, [0xc6c020]
add ecx, edx
mov dword [esp + 0x64], ecx
lea ecx, [0x7f33a0]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x74]
mov dword [esp], eax
lea eax, [0x877aa6]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x21
lea eax, [esp + 0x60]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 2
call fcn.006910f0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
add esp, 0x70
ret
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.006911e0
mov eax, dword [0xcb499c]
mov ecx, dword [0xcb4998]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], eax
add esp, 0x70
ret
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
add esp, 0x70
ret
mov eax, dword [esp + 0x78]
mov dword [esp], eax
lea ecx, [0x868173]
mov dword [esp + 4], ecx
mov dword [esp + 8], 5
call fcn.004026d0
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x7c]
jmp 0x691768
xor eax, eax
call fcn.0045a130
mov eax, 1
call fcn.0045a190
nop
call fcn.00458870
jmp fcn.00691740