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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
xor edx, edx
push ebx
push esi
mov esi, dword [ebp + 0x20]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], edx
mov edx, dword [ebp + 0x1c]
push edi
mov edi, eax
mov eax, dword [ebp + 0x14]
mov ebx, ecx
mov ecx, dword [ebp + 8]
add edx, ebx
add esi, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], esi
test eax, eax
jne 0x6b6877
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, edx
jb 0x6b687f
xor esi, esi
jmp 0x6b68a4
lea ecx, [esp + 0x50]
push ecx
push ebx
call fcn.006b4ec8
mov edx, dword [esp + 0x58]
mov ecx, dword [ebp + 8]
mov esi, eax
mov eax, dword [esp + 0x5c]
add esp, 8
add esi, ebx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0xc], esi
cmp edi, dword [esp + 0x20]
jb 0x6b68b2
xor ebx, ebx
jmp 0x6b68d7
lea ecx, [esp + 0x50]
push ecx
push edi
call fcn.006b4ec8
mov edx, dword [esp + 0x58]
mov ecx, dword [ebp + 8]
mov ebx, eax
mov eax, dword [esp + 0x5c]
add esp, 8
add ebx, edi
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
lea eax, [ecx - 2]
mov dword [esp + 0x10], ebx
cmp eax, 5
ja 0x6b6e93
jmp dword [eax*4 + 0x1005f900]
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
cmp ecx, 9
jne 0x6b6ed8
lea eax, [esp + 0x1c]
mov dword [esp + 0x30], eax
call fcn.006b20f8
test eax, eax
jne 0x6b686b
mov edx, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
add ecx, edx
lea eax, [ecx + ecx + 2]
push eax
call fcn.0065b1c8
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
je 0x6b686b
test esi, esi
je 0x6b7084
jmp 0x6b6ee8
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
test ebx, ebx
je 0x6b7084
cmp edi, ecx
jne 0x6b6fe6
cmp dword [esp + 0x3c], eax
jne 0x6b6fea
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x50], ecx
mov ecx, edi
push eax
mov dword [esp + 0x58], edx
push ecx
lea edi, [esp + 0x50]
lea edx, [esp + 0x24]
call fcn.006b5d48
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
push edx
push eax
mov eax, dword [ebp + 0xc]
push ecx
lea esi, [esp + 0x24]
lea edi, [esp + 0x20]
call fcn.006b66f8
add esp, 0x14
test eax, eax
jne 0x6b6f70
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x1c], ebx
mov esi, dword [esp + 0xc]
cmp esi, dword [esp + 0x24]
jb 0x6b6f84
mov dword [esp + 0xc], 0
jmp 0x6b6fa8
lea ecx, [esp + 0x60]
push ecx
push esi
call fcn.006b4ec8
mov edx, dword [esp + 0x68]
add esi, eax
mov eax, dword [esp + 0x6c]
add esp, 8
add dword [esp + 0x38], edx
mov dword [esp + 0xc], esi
adc dword [esp + 0x3c], eax
mov ebx, dword [esp + 0x10]
cmp ebx, dword [esp + 0x20]
jb 0x6b6fbd
mov esi, dword [esp + 0xc]
xor ebx, ebx
jmp 0x6b7078
lea ecx, [esp + 0x58]
push ecx
push ebx
call fcn.006b4ec8
mov edx, dword [esp + 0x60]
mov esi, dword [esp + 0x14]
add ebx, eax
mov eax, dword [esp + 0x64]
add esp, 8
add dword [esp + 0x40], edx
adc dword [esp + 0x44], eax
jmp 0x6b7078
cmp dword [esp + 0x3c], eax
jg 0x6b7034
jl 0x6b6ff2
cmp edi, ecx
jae 0x6b7034
mov cl, byte [esi]
test cl, cl
je 0x6b7005
inc esi
mov al, cl
mov cl, byte [esi]
and al, 0x80
mov dl, cl
or dl, al
jne 0x6b6ff8
inc esi
cmp esi, dword [esp + 0x24]
jae 0x6b7084
lea eax, [esp + 0x68]
push eax
push esi
call fcn.006b4ec8
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
add esi, eax
add esp, 8
add edi, ecx
adc dword [esp + 0x3c], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x38], edi
jmp 0x6b707c
mov edi, ebx
mov bl, byte [ebx]
test bl, bl
je 0x6b704b
mov cl, bl
inc edi
mov al, cl
mov cl, byte [edi]
and al, 0x80
mov dl, cl
or dl, al
jne 0x6b703e
lea ebx, [edi + 1]
cmp ebx, dword [esp + 0x20]
jb 0x6b7058
xor ebx, ebx
jmp 0x6b7078
lea eax, [esp + 0x70]
push eax
push ebx
call fcn.006b4ec8
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
add esp, 8
add ebx, eax
add dword [esp + 0x40], ecx
adc dword [esp + 0x44], edx
mov dword [esp + 0x10], ebx
test esi, esi
jne 0x6b6ee8
mov eax, dword [esp + 0x28]
push eax
call fcn.0065b508
add esp, 4
mov eax, dword [esp + 0x1c]
sub eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
pop edi
pop esi
mov dword [ecx], eax
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret