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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x68]
cmp eax, dword [ecx + 8]
jbe 0x6bc305
sub esp, 0xe8
mov eax, dword [esp + 0x12c]
test eax, eax
jne 0x6bb7f8
mov eax, dword [esp + 0xec]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0xc]
cmp dword [ecx + 4], 2
je 0x6bb76f
mov eax, dword [0x10e5118]
mov ecx, dword [0x10e511c]
mov edx, dword [0x10e5120]
mov dword [esp + 0x130], eax
mov dword [esp + 0x134], ecx
mov dword [esp + 0x138], edx
add esp, 0xe8
ret
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov eax, dword [esp + 0xfc]
mov dword [esp], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 4], eax
call fcn.00409480
mov eax, dword [esp + 8]
lea ecx, [0xaa9660]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xec]
mov dword [esp], eax
lea eax, [0xba8a1e]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1d
lea eax, [esp + 0x9c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.006b7e30
jmp 0x6bb741
mov ecx, dword [esp + 0x124]
mov dword [esp], ecx
mov edx, dword [esp + 0x128]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004d6580
mov eax, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0x124]
mov dword [esp], edx
mov edx, dword [esp + 0x128]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x12c]
mov dword [esp + 8], edx
call fcn.006bf0d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
movzx ebx, byte [esp + 0x18]
nop
mov ebp, eax
and eax, 0x1f
cmp eax, 0x14
jne 0x6bb95b
test bl, bl
je 0x6bb958
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov eax, dword [esp + 0x54]
test eax, eax
je 0x6bb8aa
mov eax, dword [eax + 4]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xfc]
mov dword [esp], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 4], eax
call fcn.00409480
mov eax, dword [esp + 8]
lea ecx, [0xaa9660]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xec]
mov dword [esp], eax
lea eax, [0xba7704]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1c
lea eax, [esp + 0xa4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 2
call fcn.006b7e30
mov eax, dword [0x10e5118]
mov ecx, dword [0x10e511c]
mov edx, dword [0x10e5120]
mov dword [esp + 0x130], eax
mov dword [esp + 0x134], ecx
mov dword [esp + 0x138], edx
add esp, 0xe8
ret
cmp eax, 0x14
mov byte [esp + 0x52], bl
mov dword [esp + 0x6c], eax
mov dword [esp + 0x90], edx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x68], ebp
je 0x6bb988
cmp eax, 0x16
je 0x6bb988
test ebp, 0x100
jne 0x6bc0b6
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov eax, dword [esp + 0xfc]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x100]
mov dword [esp + 0x10], ecx
call fcn.004d4400
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x6bbfe4
mov eax, dword [esp + 0x110]
cmp eax, 1
jle 0x6bbfa7
mov eax, 1
mov byte [esp + 0x53], al
mov ecx, dword [esp + 0x6c]
cmp ecx, 0x15
je 0x6bbc5d
cmp ecx, 0x16
je 0x6bc0d7
cmp ecx, 0x19
jne 0x6bc1f4
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov ecx, dword [esp + 0x90]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x68]
mov dword [esp + 8], edx
call fcn.004d6580
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x38]
mov dword [esp], ecx
mov ecx, dword [esp + 0xfc]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x100]
mov dword [esp + 8], edx
call eax
movzx eax, byte [esp + 0x40]
lea esi, [esp + 0xc]
lea edi, [esp + 0xb4]
call fcn.0046127e
test al, al
je 0x6bc1f4
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0xe0]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004d2690
mov eax, dword [esp + 0x18]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x90], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x6c], edx
mov ebx, dword [esp + 0xc0]
test ebx, ebx
jne 0x6bbb8f
movzx ebx, byte [esp + 0x53]
test bl, bl
jne 0x6bbaf4
mov dword [esp + 0x130], eax
mov dword [esp + 0x134], ecx
mov dword [esp + 0x138], edx
add esp, 0xe8
ret
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov eax, dword [esp + 0xfc]
mov dword [esp], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 4], eax
call fcn.00409480
mov eax, dword [esp + 8]
lea ecx, [0xaa9660]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xec]
mov dword [esp], eax
lea eax, [0xbbc254]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x32
lea eax, [esp + 0x9c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.006b7e30
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x6c]
jmp 0x6bbad8
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov eax, dword [esp + 0xfc]
mov dword [esp], eax
mov ecx, dword [esp + 0x100]
mov dword [esp + 4], ecx
call fcn.00409480
mov eax, dword [esp + 8]
lea ecx, [0xaa9660]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x54]
test eax, eax
je 0x6bbbf8
mov eax, dword [eax + 4]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xec]
mov dword [esp], eax
lea ecx, [0xbb6a0d]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x2b
lea ecx, [esp + 0xa4]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 2
call fcn.006b7e30
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x6c]
jmp 0x6bbacf
mov eax, dword [esp + 0xfc]
mov dword [esp], eax
mov ecx, dword [esp + 0x100]
mov dword [esp + 4], ecx
call fcn.00409480
mov eax, dword [esp + 8]
nop
movzx ecx, byte [0x10e5068]
test cl, cl
je 0x6bbf9c
lea ecx, [0xaa9660]
mov dword [0x10e506c], ecx
mov edx, dword [0x10fd360]
test edx, edx
jne 0x6bbf8c
mov dword [0x10e5070], eax
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
mov edx, dword [esp + 0x94]
test edx, edx
je 0x6bbf81
nop
movzx ebx, byte [edx + 0xf]
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x6bbcdf
or ebx, 0x80
mov dword [esp + 0x58], ebx
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], edx
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.004d6580
mov eax, dword [esp + 0xc]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x88], ecx
mov edx, dword [esp + 0x8c]
mov dword [esp], edx
mov ebx, dword [esp + 0x90]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x68]
mov dword [esp + 8], ebp
call fcn.004d6580
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x4c]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x88]
mov dword [esp], ecx
call eax
movzx eax, byte [esp + 0xc]
test al, al
je 0x6bc1f4
movzx eax, byte [esp + 0x53]
test al, al
jne 0x6bbef8
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov ecx, dword [esp + 0x90]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x68]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x14], ebx
call fcn.004d3900
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test eax, eax
je 0x6bbdd3
mov dword [esp + 0x130], ecx
mov dword [esp + 0x134], edx
mov dword [esp + 0x138], eax
add esp, 0xe8
ret
mov ebx, dword [esp + 0xec]
mov ebp, dword [ebx]
mov ebp, dword [ebp + 0xc]
mov ebp, dword [ebp + 4]
test ebp, ebp
je 0x6bbdb7
cmp ebp, 1
je 0x6bbea1
cmp ebp, 2
jne 0x6bbdb7
mov dword [esp + 0x84], ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x80], edx
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov eax, dword [esp + 0xfc]
mov dword [esp], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 4], eax
call fcn.00409480
mov eax, dword [esp + 8]
lea ecx, [0xaa9660]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xec]
mov dword [esp], eax
lea eax, [0xba62a9]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1b
lea eax, [esp + 0x9c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.006b7e30
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
jmp 0x6bbdb7
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 8], eax
call fcn.004d6580
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 + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004d7360
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
jmp 0x6bbdb7
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov eax, dword [esp + 0xfc]
mov dword [esp], eax
mov ecx, dword [esp + 0x100]
mov dword [esp + 4], ecx
call fcn.00409480
mov eax, dword [esp + 8]
lea ecx, [0xaa9660]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xec]
mov dword [esp], eax
lea edx, [0xbaf8d2]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x24
lea edx, [esp + 0x9c]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.006b7e30
jmp 0x6bbd6d
xor ebx, ebx
xor edx, edx
xor eax, eax
jmp 0x6bbcdf
lea edi, [0x10e5070]
call fcn.00460b40
jmp 0x6bbcab
lea ecx, [0xaa9660]
jmp 0x6bbcab
mov eax, dword [esp + 0x118]
cmp dword [0x10e5108], eax
je 0x6bbfc0
mov eax, 1
jmp 0x6bb9d7
mov eax, dword [esp + 0x11c]
cmp dword [0x10e510c], eax
jne 0x6bbfb6
mov ecx, dword [esp + 0x120]
cmp dword [0x10e5110], ecx
setne al
jmp 0x6bb9d7
mov ebx, dword [esp + 0xec]
mov dword [esp], ebx
mov ebx, dword [esp + 0xf0]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xf4]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xf8]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x104]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xfc]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x118]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x120]
mov dword [esp + 0x40], eax
call fcn.006bc310
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x130], eax
mov dword [esp + 0x134], ecx
mov dword [esp + 0x138], edx
add esp, 0xe8
ret
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
call fcn.004d0520
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
jmp 0x6bb988
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 8], eax
call fcn.004d6580
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 + 4]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x7c], ecx
mov edx, dword [eax + 0x50]
mov dword [esp], ecx
call edx
cmp dword [esp + 4], 0x19
je 0x6bc25f
movzx eax, byte [esp + 0x52]
test al, al
je 0x6bc1f4
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov eax, dword [esp + 0x54]
test eax, eax
je 0x6bc297
mov ecx, dword [eax + 4]
mov dword [esp + 0xa4], ecx
mov eax, dword [esp + 0x70]
mov dword [esp + 0xa8], eax
mov ecx, dword [esp + 0xfc]
mov dword [esp], ecx
mov edx, dword [esp + 0x100]
mov dword [esp + 4], edx
call fcn.00409480
mov eax, dword [esp + 8]
lea ecx, [0xaa9660]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xec]
mov dword [esp], eax
lea edx, [0xba7704]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x1c
lea edx, [esp + 0xa4]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 2
call fcn.006b7e30
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov eax, dword [esp + 0xfc]
mov dword [esp], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 4], eax
call fcn.00409480
mov eax, dword [esp + 8]
lea ecx, [0xaa9660]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x54]
test eax, eax
je 0x6bc29e
mov eax, dword [eax + 4]
jmp 0x6bc29e
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x38]
mov ecx, dword [esp + 0x7c]
mov dword [esp], ecx
mov ecx, dword [esp + 0xfc]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x100]
mov dword [esp + 8], edx
call eax
movzx eax, byte [esp + 0x40]
test al, al
jne 0x6bc12c
jmp 0x6bc1f4
mov ecx, eax
jmp 0x6bc174
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xec]
mov dword [esp], eax
lea eax, [0xbadd3f]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x22
lea eax, [esp + 0xa4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 2
call fcn.006b7e30
lea eax, [0xaa9660]
mov dword [esp], eax
lea eax, [0xc761a0]
mov dword [esp + 4], eax
call fcn.00433120
nop
call fcn.0045f5f0
jmp fcn.006bb700