Function at 0x6bc310
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 0x6bcdce
sub esp, 0x98
mov edx, dword [esp + 0xc8]
test edx, edx
je 0x6bcd72
mov ecx, dword [esp + 0xcc]
cmp ecx, 1
jb 0x6bcdc3
mov eax, dword [esp + 0xd0]
dec eax
neg eax
sar eax, 0x1f
and eax, 8
add eax, edx
dec ecx
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xc8], eax
mov edx, dword [esp + 0xac]
mov dword [esp], edx
mov ebx, dword [esp + 0xb0]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0xb4]
mov dword [esp + 8], ebp
call fcn.004d6580
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xd4]
cmp dword [0x10e5108], edx
je 0x6bcd40
mov ebx, dword [esp + 0xcc]
lea ebp, [ebx + 1]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x40], ebp
mov edx, dword [eax + 0x48]
mov dword [esp], ecx
call edx
movzx eax, byte [esp + 4]
test al, al
je 0x6bcc35
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x68]
mov edx, dword [esp + 0x50]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
dec eax
mov ecx, dword [esp + 0x40]
cmp eax, ecx
jg 0x6bcb44
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp], ecx
mov edx, dword [esp + 0x50]
mov dword [esp + 4], edx
call fcn.006bfc70
movzx eax, byte [esp + 8]
test al, al
je 0x6bca84
lea eax, [0xb8cfe0]
mov dword [esp], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.00446f30
mov eax, dword [esp + 0xc]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x34]
xor esi, esi
jmp 0x6bc484
mov edi, dword [esp + 0x38]
lea esi, [edi + 1]
mov edi, dword [esp + 0xcc]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x34]
mov eax, ebp
mov ecx, edi
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x38], esi
cmp esi, ebp
jge 0x6bc576
cmp ecx, esi
jle 0x6bc576
mov eax, dword [ebx + 0x44]
mov dword [esp], edx
mov dword [esp + 4], esi
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xcc]
mov ebx, dword [esp + 0x38]
cmp edx, ebx
jbe 0x6bcdba
mov edx, dword [esp + 0xc8]
lea ebp, [edx + ebx*8]
mov esi, dword [ebp]
mov ebp, dword [ebp + 4]
mov edi, dword [esp + 0x9c]
mov dword [esp], edi
mov edi, dword [esp + 0xa0]
mov dword [esp + 4], edi
mov edi, dword [esp + 0xa4]
mov dword [esp + 8], edi
mov edi, dword [esp + 0xa8]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebp
call fcn.006bd4c0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x40]
cmp ebx, ebp
jae 0x6bcdb1
lea esi, [ebx + ebx*2]
mov edi, ebp
mov ebp, dword [esp + 0x6c]
mov dword [ebp + esi*4 + 8], edx
mov edx, dword [0x10fd360]
lea ebx, [ebp + esi*4]
mov dword [esp + 0x68], ebx
lea ebx, [ebp + esi*4 + 4]
test edx, edx
jne 0x6bc55b
mov dword [ebp + esi*4], eax
mov dword [ebp + esi*4 + 4], ecx
jmp 0x6bc45a
mov edx, edi
mov edi, dword [esp + 0x68]
call fcn.00460b40
mov edi, ebx
mov eax, ecx
call fcn.00460b40
mov edi, edx
jmp 0x6bc45a
mov eax, dword [ebx + 0x48]
mov dword [esp], edx
call eax
movzx eax, byte [esp + 4]
test al, al
je 0x6bca74
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x68]
mov edx, dword [esp + 0x50]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x44]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x50]
mov dword [esp], ebx
dec edx
mov dword [esp + 4], edx
call ecx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov eax, dword [eax + 0x28]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x9c]
mov ebx, dword [esp + 0xa0]
mov ebp, dword [esp + 0xa8]
mov esi, dword [esp + 0xa4]
mov edi, dword [esp + 0xc8]
jmp 0x6bc641
mov eax, dword [esp + 0x38]
inc eax
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xa0]
mov ebx, dword [esp + 0x5c]
mov esi, dword [esp + 0x44]
mov ecx, ebx
mov edx, dword [esp + 0x9c]
mov ebx, dword [esp + 0xa0]
mov ebp, dword [esp + 0xa8]
mov esi, dword [esp + 0xa4]
mov edi, dword [esp + 0xc8]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x44]
mov ebp, dword [esp + 0xcc]
mov esi, dword [esp + 0x38]
cmp ebp, esi
jle 0x6bc6fc
jbe 0x6bcda8
lea ebp, [edi + esi*8]
mov edi, dword [ebp]
mov ebp, dword [ebp + 4]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xa8]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebp
call fcn.006bd4c0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x40]
cmp ebx, ebp
jae 0x6bcd9f
lea esi, [ebx + ebx*2]
mov edi, ebp
mov ebp, dword [esp + 0x6c]
mov dword [ebp + esi*4 + 8], edx
mov edx, dword [0x10fd360]
lea ebx, [ebp + esi*4]
mov dword [esp + 0x64], ebx
lea ebx, [ebp + esi*4 + 4]
test edx, edx
jne 0x6bc6e1
mov dword [ebp + esi*4], eax
mov dword [ebp + esi*4 + 4], ecx
jmp 0x6bc5f9
mov edx, edi
mov edi, dword [esp + 0x64]
call fcn.00460b40
mov edi, ebx
mov eax, ecx
call fcn.00460b40
mov edi, edx
jmp 0x6bc5f9
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0xd4]
cmp dword [0x10e5108], eax
je 0x6bca45
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x68]
mov edx, dword [esp + 0x50]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x44]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x50]
mov dword [esp], ebx
dec edx
mov dword [esp + 4], edx
call ecx
mov eax, dword [esp + 8]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x2c]
mov ebx, dword [edx + 0x48]
mov ebp, dword [esp + 0x50]
mov dword [esp], ebp
call ebx
movzx eax, byte [esp + 4]
test al, al
je 0x6bca38
mov eax, dword [esp + 0x40]
lea ecx, [eax - 1]
mov edx, dword [esp + 0x34]
cmp ecx, edx
jge 0x6bca1b
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x44]
mov edx, dword [esp + 0x50]
mov dword [esp], edx
mov dword [esp + 4], ecx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x9c]
mov dword [esp], edx
mov ebx, dword [esp + 0xd4]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xd8]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xdc]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
call fcn.006bcde0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x40]
cmp ebx, ebp
jae 0x6bcd96
lea ebx, [ebx + ebx*2]
mov esi, dword [esp + 0x6c]
mov dword [esi + ebx*4 + 8], edx
mov edx, dword [0x10fd360]
lea edi, [esi + ebx*4]
lea ebp, [esi + ebx*4 + 4]
test edx, edx
jne 0x6bca08
mov dword [esi + ebx*4], eax
mov dword [esi + ebx*4 + 4], ecx
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
call fcn.006c1aa0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x60], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x6c], edx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x4c], ebx
mov ebp, dword [esp + 0x28]
test eax, eax
je 0x6bc93e
mov dword [esp + 0x3c], eax
mov dword [esp + 0x58], ebp
nop
mov esi, dword [esp + 0xb8]
mov ebx, dword [esp + 0x9c]
mov dword [ebx + 0xc], esi
mov esi, dword [0x10fd360]
test esi, esi
jne 0x6bc9f2
mov esi, dword [esp + 0xbc]
mov dword [ebx + 0x10], esi
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 4], eax
call fcn.00409480
mov eax, dword [esp + 8]
lea ecx, [0xaa9660]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x6bc8f9
mov eax, dword [eax + 4]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
lea eax, [0xb9eade]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x14
lea eax, [esp + 0x70]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 2
call fcn.006b7e30
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp + 8], edx
call fcn.004d6580
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
cmp dword [0x10e4b48], eax
je 0x6bc992
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], edx
mov dword [esp + 0xe8], eax
add esp, 0x98
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [0x10e4b4c]
mov dword [esp + 8], eax
call fcn.004038f0
movzx eax, byte [esp + 0xc]
test al, al
je 0x6bc96a
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
call fcn.004d2fd0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [0xb8cfe0]
cmp edx, ecx
jne 0x6bcd80
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
jmp 0x6bc976
lea esi, [ebx + 0x10]
mov edi, esi
mov eax, dword [esp + 0xbc]
call fcn.00460b40
jmp 0x6bc8a2
call fcn.00460b40
mov edi, ebp
mov eax, ecx
call fcn.00460b40
jmp 0x6bc813
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x28]
mov ecx, dword [esp + 0x54]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
jmp 0x6bc798
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x54]
jmp 0x6bc798
mov ecx, dword [esp + 0xd8]
cmp dword [0x10e510c], ecx
jne 0x6bc713
mov ebx, dword [esp + 0xdc]
cmp dword [0x10e5110], ebx
jne 0x6bc713
mov esi, dword [esp + 0x6c]
jmp 0x6bc813
mov edx, dword [esp + 0x9c]
mov esi, dword [esp + 0x38]
jmp 0x6bc6fc
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x70]
mov edx, dword [esp + 0x50]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov ecx, dword [esp + 0xc0]
mov dword [esp], ecx
mov edx, dword [esp + 0xc4]
mov dword [esp + 4], edx
call fcn.00409480
mov eax, dword [esp + 8]
lea ecx, [0xaa9660]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.00409370
mov eax, dword [esp + 4]
lea ecx, [0xaa8c20]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
lea ecx, [0xbb8546]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x2d
lea ecx, [esp + 0x70]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 2
call fcn.006b7e30
jmp 0x6bc421
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x68]
mov edx, dword [esp + 0x50]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
lea edi, [esp + 0x80]
xor eax, eax
call fcn.00460dea
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
mov ecx, dword [esp + 0xc4]
mov dword [esp + 4], ecx
call fcn.00409480
mov eax, dword [esp + 8]
lea ecx, [0xaa9660]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x48]
dec eax
mov dword [esp], eax
call fcn.00409370
mov eax, dword [esp + 4]
lea ecx, [0xaa8c20]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xcc]
mov dword [esp], eax
call fcn.00409370
mov eax, dword [esp + 4]
lea ecx, [0xaa8c20]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
lea edx, [0xbbde64]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x34
lea edx, [esp + 0x80]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 3
call fcn.006b7e30
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x40]
jmp 0x6bc3fc
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x68]
mov edx, dword [esp + 0x50]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0x40]
cmp dword [esp + 4], eax
jne 0x6bcc5b
mov eax, dword [esp + 0xcc]
jmp 0x6bc3fc
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x68]
mov edx, dword [esp + 0x50]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
lea edi, [esp + 0x80]
xor eax, eax
call fcn.00460dea
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
mov ecx, dword [esp + 0xc4]
mov dword [esp + 4], ecx
call fcn.00409480
mov eax, dword [esp + 8]
lea ecx, [0xaa9660]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.00409370
mov eax, dword [esp + 4]
lea ecx, [0xaa8c20]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.00409370
mov eax, dword [esp + 4]
lea ecx, [0xaa8c20]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
lea edx, [0xbb777d]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x2b
lea edx, [esp + 0x80]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 3
call fcn.006b7e30
mov eax, dword [esp + 0x40]
jmp 0x6bcc4f
mov ebx, dword [esp + 0xd8]
cmp dword [0x10e510c], ebx
jne 0x6bc3b0
mov ebp, dword [esp + 0xdc]
cmp dword [0x10e5110], ebp
jne 0x6bc3b0
mov ebp, dword [esp + 0xcc]
jmp 0x6bc3ba
mov ecx, dword [esp + 0xcc]
mov eax, edx
jmp 0x6bc362
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0xaa8d60]
mov dword [esp + 8], eax
call fcn.00409130
mov eax, ebx
mov ecx, ebp
call fcn.00460bc0
mov eax, ebx
mov ecx, ebp
call fcn.00460bc0
mov eax, esi
mov ecx, ebp
call fcn.00460bc0
mov eax, ebx
mov ecx, ebp
call fcn.00460bc0
mov eax, ebx
mov ecx, edx
call fcn.00460bc0
mov eax, 1
call fcn.00460c20
nop
call fcn.0045f5f0
jmp fcn.006bc310