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

Disassembly:
sub esp, 0x64
push ebx
mov ebx, dword [esp + 0x70]
push edi
xor edi, edi
cmp dword [ebx], edi
jne 0x6bd2c8
push 0xfffffffffffffffd
pop eax
jmp 0x6bd70e
push ebp
mov ebp, dword [esp + 0x74]
push ebx
push ebp
call fcn.006be9d5
cmp eax, 0xffffffff
jne 0x6bd308
cmp dword [esp + 0x80], edi
je 0x6bd2f1
push dword [esp + 0x80]
push ebp
call fcn.006bd035
mov edi, eax
cmp dword [esp + 0x7c], 0
je 0x6bd301
push dword [esp + 0x7c]
call fcn.006bdce2
mov eax, edi
jmp 0x6bd70d
mov eax, dword [ebp]
add eax, 2
push eax
lea eax, [esp + 0x54]
push eax
call fcn.006bcfa7
test eax, eax
jne 0x6bd70d
mov eax, dword [ebp]
add eax, 2
mov dword [esp + 0x50], eax
lea eax, [esp + 0x40]
push esi
push eax
call fcn.006bc581
mov esi, eax
test esi, esi
jne 0x6bd700
lea eax, [esp + 0x64]
push eax
call fcn.006bc581
mov esi, eax
test esi, esi
jne 0x6bd6f6
push ebp
lea eax, [esp + 0x28]
push eax
call fcn.006be7b8
mov esi, eax
test esi, esi
jne 0x6bd6ec
push ebx
lea eax, [esp + 0x38]
push eax
call fcn.006be7b8
mov esi, eax
test esi, esi
jne 0x6bd6e2
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp eax, dword [ebx + 8]
lea eax, [esp + 0x34]
push eax
setne cl
mov dword [esp + 0x40], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x30], edi
call fcn.006bcdec
push 0x1c
pop ecx
cdq
idiv ecx
push 0x1b
pop ebx
cmp edx, ebx
jge 0x6bd3e0
lea eax, [esp + 0x24]
sub ebx, edx
push eax
push ebx
push eax
mov dword [esp + 0x20], ebx
call fcn.006bc5fc
mov esi, eax
test esi, esi
jne 0x6bd6d8
lea eax, [esp + 0x34]
push eax
push ebx
push eax
call fcn.006bc5fc
mov esi, eax
test esi, esi
jne 0x6bd6d8
jmp 0x6bd3e4
mov dword [esp + 0x14], edi
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
dec ebp
dec eax
mov ebx, ebp
sub ebx, eax
mov dword [esp + 0x7c], eax
push ebx
lea eax, [esp + 0x38]
push eax
call fcn.006be96f
jmp 0x6bd41e
mov eax, dword [esp + 0x60]
inc dword [eax + ebx*4]
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.006bc74d
mov esi, eax
test esi, esi
jne 0x6bd6d8
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.006bc6c5
cmp eax, 0xffffffff
jne 0x6bd403
push ebx
lea eax, [esp + 0x38]
push eax
call fcn.006c06b9
mov esi, dword [esp + 0x7c]
lea eax, [esi + 1]
mov dword [esp + 0x10], eax
jmp 0x6bd666
cmp ebp, dword [esp + 0x24]
jg 0x6bd665
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x40]
mov ecx, dword [edx + ebp*4]
mov ebx, dword [eax + esi*4]
cmp ecx, ebx
jne 0x6bd486
mov eax, dword [esp + 0x60]
mov ebx, ebp
sub ebx, esi
mov edx, 0xfffffff
mov dword [eax + ebx*4 - 4], edx
jmp 0x6bd4bd
xor eax, eax
shld eax, ecx, 0x1c
push edi
push ebx
shl ecx, 0x1c
or eax, edi
or ecx, dword [edx + ebp*4 - 4]
push eax
push ecx
call fcn.00401030
cmp edx, edi
mov ecx, eax
mov edx, 0xfffffff
ja 0x6bd4ad
cmp ecx, edx
jbe 0x6bd4af
mov ecx, edx
mov eax, dword [esp + 0x60]
mov ebx, ebp
sub ebx, esi
and ecx, edx
mov dword [eax + ebx*4 - 4], ecx
mov ecx, dword [esp + 0x60]
mov eax, dword [ecx + ebx*4 - 4]
inc eax
and eax, edx
mov dword [ecx + ebx*4 - 4], eax
mov ecx, dword [esp + 0x60]
mov eax, dword [ecx + ebx*4 - 4]
dec eax
and eax, edx
mov dword [ecx + ebx*4 - 4], eax
lea eax, [esp + 0x44]
push eax
call fcn.006bdce2
lea eax, [esi - 1]
test eax, eax
jns 0x6bd4f0
mov ecx, edi
jmp 0x6bd4f8
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + esi*4 - 4]
mov eax, dword [esp + 0x50]
mov dword [eax], ecx
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + esi*4]
mov eax, dword [esp + 0x50]
mov dword [eax + 4], ecx
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x48], 2
push dword [eax + ebx*4 - 4]
lea eax, [esp + 0x4c]
push eax
call fcn.006bcab6
mov esi, eax
test esi, esi
jne 0x6bd6d8
lea ecx, [ebp - 2]
test ecx, ecx
jns 0x6bd540
mov ecx, edi
jmp 0x6bd547
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + ecx*4]
mov eax, dword [esp + 0x70]
mov dword [eax], ecx
lea eax, [ebp - 1]
test eax, eax
jns 0x6bd558
mov ecx, edi
jmp 0x6bd560
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + ebp*4 - 4]
mov eax, dword [esp + 0x70]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + ebp*4]
mov eax, dword [esp + 0x70]
mov dword [eax + 8], ecx
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x48]
mov dword [esp + 0x68], 3
push eax
call fcn.006be9d5
mov esi, dword [esp + 0x7c]
mov edx, 0xfffffff
cmp eax, 1
je 0x6bd4cc
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x64]
push dword [eax + ebx*4 - 4]
lea eax, [esp + 0x3c]
push eax
call fcn.006bcab6
mov esi, eax
test esi, esi
jne 0x6bd6d8
lea eax, [ebx - 1]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.006be96f
mov esi, eax
test esi, esi
jne 0x6bd6d8
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.006bc74d
mov esi, eax
test esi, esi
jne 0x6bd6d8
cmp dword [esp + 0x2c], 1
jne 0x6bd65d
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.006bd035
mov esi, eax
test esi, esi
jne 0x6bd6d8
lea eax, [ebx - 1]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.006be96f
mov esi, eax
test esi, esi
jne 0x6bd6d8
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.006bc6f9
mov esi, eax
test esi, esi
jne 0x6bd6d8
mov ecx, dword [esp + 0x60]
mov eax, dword [ecx + ebx*4 - 4]
dec eax
and eax, 0xfffffff
mov dword [ecx + ebx*4 - 4], eax
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x7c]
dec ebp
cmp ebp, eax
jge 0x6bd457
cmp dword [esp + 0x24], edi
jne 0x6bd67a
mov dword [esp + 0x2c], edi
jmp 0x6bd685
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 8]
mov dword [esp + 0x2c], eax
mov esi, dword [esp + 0x80]
test esi, esi
je 0x6bd6ac
lea eax, [esp + 0x54]
push eax
call fcn.006bdd07
push esi
lea eax, [esp + 0x58]
push eax
call fcn.006bf916
mov eax, dword [esp + 0x18]
mov dword [esi + 8], eax
cmp dword [esp + 0x84], edi
je 0x6bd6d6
push edi
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x1c]
push eax
call fcn.006be7d5
push dword [esp + 0x84]
lea eax, [esp + 0x28]
push eax
call fcn.006bf916
mov esi, edi
lea eax, [esp + 0x34]
push eax
call fcn.006bc5c2
lea eax, [esp + 0x24]
push eax
call fcn.006bc5c2
lea eax, [esp + 0x64]
push eax
call fcn.006bc5c2
lea eax, [esp + 0x44]
push eax
call fcn.006bc5c2
lea eax, [esp + 0x54]
push eax
call fcn.006bc5c2
mov eax, esi
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x64
ret 0x10