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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x18]
cmp eax, dword [ecx + 8]
jbe 0x699db7
sub esp, 0x98
xor ebx, ebx
xor ebx, ebx
xor ebx, ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
xor ebx, ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov ebx, dword [esp + 0xb0]
mov dword [esp], ebx
mov ebx, dword [esp + 0xb4]
mov dword [esp + 4], ebx
call fcn.0069db80
mov ebx, dword [esp + 8]
mov dword [esp + 0x50], ebx
movzx ebx, byte [esp + 0xc]
mov byte [esp + 0x43], bl
movzx ebx, byte [esp + 0xd]
cmp bl, 0
jne 0x699a74
xor ebx, ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov ebx, 0x7650c1
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], 0x19
mov dword [esp], 0x8c38b0
lea ebx, [esp + 0x6c]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0
call fcn.00417980
mov ebx, dword [esp + 0xc]
mov dword [esp + 0xc4], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0xc8], ebx
add esp, 0x98
ret
xor edx, edx
mov dword [esp + 0x48], edx
xor eax, eax
mov ecx, dword [esp + 0xa0]
cmp eax, ecx
jge 0x699be4
xor ebx, ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x60], bl
mov ebx, dword [esp + 0x9c]
mov dword [esp], ebx
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.00699560
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x5c], edi
movzx ebx, byte [esp + 0x1c]
mov ebp, ebx
mov byte [esp + 0x60], bl
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xc4], eax
cmp eax, 0
je 0x699b07
add esp, 0x98
ret
mov dword [esp + 0x58], ecx
cmp ecx, 0x16
jg 0x699d91
cmp ecx, 0xc
jne 0x699d7a
mov ecx, 0x13
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], esi
cmp esi, 0
jne 0x699d26
movzx ebx, byte [esp + 0x43]
xchg ebp, eax
cmp al, bl
xchg ebp, eax
jne 0x699d26
mov ebx, dword [esp + 0x50]
cmp ecx, ebx
jne 0x699d26
mov ebp, dword [esp + 0xa0]
mov esi, edx
add esi, edi
cmp esi, edx
jl 0x699d1c
mov eax, edx
add eax, edi
cmp eax, ebp
jg 0x699d1c
xor eax, eax
cmp al, 0
je 0x699bc8
xor ebx, ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov ebx, 0x7614da
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], 0x12
mov dword [esp], 0x8c38d0
lea ebx, [esp + 0x64]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0
call fcn.00417980
mov ebx, dword [esp + 0xc]
mov dword [esp + 0xc4], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0xc8], ebx
add esp, 0x98
ret
mov eax, edi
add eax, edx
mov edx, dword [esp + 0x48]
inc edx
mov dword [esp + 0x48], edx
mov ecx, dword [esp + 0xa0]
cmp eax, ecx
jl 0x699a8b
mov ebx, dword [esp + 0xa8]
mov dword [esp], ebx
mov ebx, dword [esp + 0xac]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], edx
call fcn.005eab30
mov ebx, dword [esp + 0x10]
mov dword [esp + 0xb8], ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0xbc], ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0xc0], ebx
lea edi, [esp + 0x80]
xor eax, eax
call fcn.004637ba
mov dword [esp + 0x44], 0
xor eax, eax
mov ebp, dword [esp + 0x48]
cmp eax, ebp
jge 0x699d15
mov ebx, dword [esp + 0xb8]
mov dword [esp], ebx
mov ebx, dword [esp + 0xbc]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xc0]
mov dword [esp + 8], ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0xc], eax
call fcn.005e76c0
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x74], edx
mov dword [esp], edx
mov dword [esp + 0x78], ecx
mov dword [esp + 4], ecx
mov dword [esp + 0x7c], eax
mov dword [esp + 8], eax
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0xa0]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x18], ebx
lea esi, [esp + 0x80]
lea edi, [esp + 0x1c]
cld
call fcn.00463c94
call fcn.00699dd0
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x44], ebx
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xc4], eax
cmp eax, 0
je 0x699d04
add esp, 0x98
ret
mov eax, dword [esp + 0x4c]
inc eax
mov ebp, dword [esp + 0x48]
cmp eax, ebp
jl 0x699c4b
add esp, 0x98
ret
mov eax, 1
jmp 0x699b6f
xor ebx, ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov ebx, 0x762f30
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], 0x15
mov dword [esp], 0x8c38b0
lea ebx, [esp + 0x6c]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0
call fcn.00417980
mov ebx, dword [esp + 0xc]
mov dword [esp + 0xc4], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0xc8], ebx
add esp, 0x98
ret
cmp ecx, 0x14
je 0x699b1d
cmp ecx, 0x16
je 0x699b1d
jmp 0x699b26
cmp ecx, 0x17
jne 0x699da4
mov ecx, 0x17
mov dword [esp + 0x58], ecx
jmp 0x699b26
cmp ecx, 0x18
je 0x699d96
cmp ecx, 0x1b
je 0x699b1d
jmp 0x699b26
call fcn.004616d0
jmp fcn.006999a0