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

Disassembly:
push ebp
push edi
push esi
push ebx
xor ebx, ebx
sub esp, 0x5c
mov esi, dword [esp + 0x74]
mov dword [esp], esi
call fcn.006b88e1
test eax, eax
je 0x6b9f69
add esp, 0x5c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, eax
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.006b40a1
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.006b4271
mov edi, eax
test eax, eax
je 0x6ba201
mov eax, dword [esp + 0x70]
mov dword [esp + 4], esi
add eax, 0x18
mov dword [esp], eax
mov dword [esp + 0x28], eax
call fcn.006b78c1
test eax, eax
je 0x6ba201
mov dword [esp + 4], 4
mov dword [esp], esi
call fcn.006b8ac1
test eax, eax
jne 0x6ba241
mov eax, dword [esp + 0x70]
mov dword [eax + 0x24], 0
lea eax, [esp + 0x3c]
mov dword [esp], eax
call fcn.006b7471
mov dword [esp], esi
lea eax, [esp + 0x34]
mov dword [esp + 4], 4
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], 2
mov dword [esp + 0x48], 0
call fcn.006b8ac1
test eax, eax
jne 0x6ba221
mov dword [esp], esi
mov eax, dword [esp + 0x70]
lea ebp, [eax + 4]
call fcn.006b71d1
mov ecx, dword [esp + 0x70]
lea edx, [eax + 0x3e]
add eax, 0x1f
cmovs eax, edx
and eax, 0xffffffe0
mov dword [ecx], eax
mov dword [esp + 4], 0
mov dword [esp], ebp
call fcn.006b7a41
mov dword [esp + 4], 0x40
mov dword [esp], ebp
call fcn.006b8421
test eax, eax
je 0x6ba201
mov edx, dword [esi]
mov dword [esp + 0x40], 0
mov eax, dword [edx]
test eax, eax
mov dword [esp + 0x34], eax
setne al
cmp dword [esi + 4], 1
movzx eax, al
mov dword [esp + 0x40], eax
jle 0x6ba291
mov eax, dword [edx + 4]
mov dword [esp + 0x38], eax
test eax, eax
je 0x6ba08d
mov dword [esp + 0x40], 2
lea eax, [esp + 0x3c]
mov dword [esp], eax
call fcn.006b88f1
test eax, eax
je 0x6ba261
mov dword [esp + 4], 0
mov dword [esp], edi
call fcn.006b7a41
mov dword [esp + 8], 0x40
mov dword [esp + 4], edi
mov dword [esp], edi
call fcn.006bd0c1
test eax, eax
je 0x6ba201
mov dword [esp], edi
call fcn.006b88e1
test eax, eax
je 0x6ba2a1
mov eax, dword [edi + 8]
test eax, eax
jg 0x6ba0fc
mov dword [esp + 4], 1
mov dword [esp], edi
call fcn.006b7591
test eax, eax
je 0x6ba201
mov eax, dword [edi]
mov dword [edi + 0xc], 0
mov dword [eax], 0xffffffff
mov dword [eax + 4], 0xffffffff
mov dword [edi + 4], 2
mov eax, dword [esp + 0x78]
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp + 0x10], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0xc], eax
mov dword [esp], edi
call fcn.006b48d1
test eax, eax
je 0x6ba201
mov eax, dword [edi + 4]
test eax, eax
jle 0x6ba2c1
mov edx, dword [edi]
mov edi, dword [esp + 0x70]
mov ecx, dword [edx]
mov dword [edi + 0x40], ecx
cmp eax, 1
je 0x6ba2d3
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x70]
mov dword [ecx + 0x44], eax
mov dword [esp + 4], 0
mov dword [esp], ebp
call fcn.006b7a41
mov eax, dword [esp + 0x70]
mov eax, dword [eax]
mov dword [esp], ebp
mov dword [esp + 0x2c], eax
add eax, eax
mov dword [esp + 4], eax
call fcn.006b8421
test eax, eax
je 0x6ba201
mov eax, dword [esp + 0x78]
mov dword [esp + 8], ebp
mov dword [esp + 4], ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
mov dword [esp], 0
mov dword [esp + 0xc], eax
call fcn.006b48d1
test eax, eax
je 0x6ba201
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x70]
mov eax, dword [eax + 8]
mov ebx, dword [ecx + 0x1c]
cmp eax, ebx
jge 0x6ba1f5
mov ecx, dword [ecx + 4]
mov edx, ebx
mov dword [esp + 4], 0
sub edx, eax
shl edx, 2
lea eax, [ecx + eax*4]
mov dword [esp + 8], edx
mov dword [esp], eax
call fcn.0086e9e1
mov eax, dword [esp + 0x70]
mov dword [eax + 8], ebx
mov ebx, 1
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.006b41e1
add esp, 0x5c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esp + 0x3c]
mov dword [esp + 4], 4
mov dword [esp], eax
call fcn.006b8ab1
jmp 0x6ba00b
mov eax, dword [esp + 0x28]
mov dword [esp + 4], 4
mov dword [esp], eax
call fcn.006b8ab1
jmp 0x6b9fc4
mov eax, dword [esp + 0x78]
mov dword [esp + 4], ebp
mov dword [esp], edi
mov dword [esp + 0xc], eax
lea eax, [esp + 0x3c]
mov dword [esp + 8], eax
call fcn.00787ef1
test eax, eax
jne 0x6ba0b1
jmp 0x6ba201
mov dword [esp + 0x38], 0
jmp 0x6ba08d
mov dword [esp + 4], 1
mov dword [esp], edi
call fcn.006bddf1
test eax, eax
jne 0x6ba119
jmp 0x6ba201
mov eax, dword [esp + 0x70]
mov dword [eax + 0x40], 0
xor eax, eax
jmp 0x6ba167
xor eax, eax
jmp 0x6ba167