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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1000
or dword [esp], 0
sub esp, 0xcc
xor esi, esi
mov edi, eax
mov dword [esp + 0x28], edx
mov eax, dword [0x86c044]
mov dword [esp + 0x10bc], eax
xor eax, eax
mov eax, 0x15
cmp eax, dword [edi]
mov eax, esi
sbb eax, dword [edi + 4]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
jb 0x6b7c60
mov eax, 8
mov dword [edi + 0x1c], eax
xor eax, eax
mov edx, dword [esp + 0x10bc]
sub edx, dword [0x86c044]
jne 0x6b82ad
add esp, 0x10cc
pop ebx
pop esi
pop edi
pop ebp
ret
lea edx, [esp + 0x68]
mov eax, edi
call fcn.006b79a0
test eax, eax
je 0x6b8150
mov edx, dword [esp + 0x68]
mov ebp, dword [esp + 0x6c]
lea eax, [esp + 0xbc]
mov dword [esp + 0x10], 0x16
mov dword [esp + 0xc], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov eax, dword [edi + 0x44]
mov dword [esp + 0x34], edx
mov dword [esp], eax
call dword [edi + 0x38]
cmp eax, 0x16
jne 0x6b7da0
cmp dword [esp + 0xbc], 0x6054b50
jne 0x6b7c38
mov edx, dword [esp + 0x34]
mov eax, 0x4b
cmp eax, edx
sbb esi, ebp
jge 0x6b7db0
lea eax, [esp + 0x70]
mov dword [esp + 8], 0xffffffec
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0xc]
mov dword [esp], edx
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], ebp
mov dword [esp + 0x10], 0x14
call fcn.004026b0
mov dword [esp + 0xc], esi
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [edi + 0x44]
mov dword [esp], eax
call dword [edi + 0x38]
cmp eax, 0x14
jne 0x6b7db0
cmp dword [esp + 0x70], 0x7064b50
jne 0x6b7db0
mov eax, dword [edi]
mov edx, dword [edi + 4]
mov esi, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
add eax, 0xffffffc8
adc edx, 0xffffffff
cmp eax, esi
mov eax, edx
sbb eax, ecx
jb 0x6b7c38
lea eax, [esp + 0x84]
mov dword [esp + 0x10], 0x38
mov dword [esp + 0xc], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov eax, dword [edi + 0x44]
mov dword [esp], eax
call dword [edi + 0x38]
mov ebp, dword [edi + 0x48]
cmp eax, 0x38
jne 0x6b7db3
cmp dword [esp + 0x84], 0x6064b50
jne 0x6b7db3
mov dword [ebp + 0x34], 1
jmp 0x6b7db3
mov eax, edi
mov edi, ebp
mov dword [esp], eax
call fcn.0040f8c0
lea esi, [esi]
mov eax, 0x14
jmp 0x6b7c3d
mov ebp, dword [edi + 0x48]
mov ebx, dword [esp + 0xc8]
movzx eax, word [esp + 0xc6]
mov dword [esp + 0x38], ebp
movzx esi, word [esp + 0xc0]
movzx edx, word [esp + 0xc2]
mov dword [esp + 0x40], ebx
mov ebx, dword [ebp + 0x34]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0xcc]
mov dword [edi + 0x10], eax
movzx eax, word [esp + 0xc4]
test ebx, ebx
jne 0x6b8160
movzx ebx, si
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x4c], 0
mov ebx, dword [esp + 0x34]
cmp eax, ebx
jne 0x6b8228
mov ecx, dword [esp + 0x44]
mov eax, ecx
or eax, edx
je 0x6b7e36
cmp ecx, 1
jne 0x6b8228
cmp edx, 1
jne 0x6b8228
mov eax, 0x2e
mul dword [esp + 0x34]
mov esi, dword [esp + 0x40]
xor ebx, ebx
mov ecx, esi
cmp esi, eax
mov esi, ebx
sbb esi, edx
jb 0x6b8140
mov eax, ecx
mov ecx, dword [edi + 4]
add eax, dword [esp + 0x48]
mov edx, ebx
adc edx, dword [esp + 0x4c]
cmp dword [edi], eax
sbb ecx, edx
jb 0x6b8140
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x34]
and ebx, 0x800
mov dword [edi + 8], eax
mov dword [esp + 0x58], ebx
mov dword [edi + 0xc], edx
test ecx, ecx
je 0x6b820d
mov eax, dword [esp + 0x40]
mov esi, ebp
cmp dword [ebp + 8], eax
jb 0x6b8250
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x40]
mov dword [eax + 4], ebx
mov eax, dword [esp + 0x34]
cmp dword [ebp + 0x18], eax
jb 0x6b8275
mov ebx, ebp
mov ecx, eax
mov dword [esi + 0x14], ecx
mov esi, dword [esp + 0x58]
test esi, esi
jne 0x6b7edb
mov esi, dword [edi + 0x10]
cmp dword [ebx + 0x28], esi
jb 0x6b82b2
mov dword [ebx + 0x24], esi
mov ebx, ebp
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x10], esi
mov eax, dword [ebx]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [edi + 0x44]
mov dword [esp], eax
call dword [edi + 0x38]
cmp esi, eax
jne 0x6b7da0
mov eax, dword [edi + 0x48]
mov edx, dword [edi + 0x10]
mov eax, dword [eax]
test edx, edx
je 0x6b820d
cmp esi, 0x2d
jbe 0x6b8140
mov dword [esp + 0x34], 0
mov ebx, eax
mov ebp, edi
jmp 0x6b8027
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
mov eax, esi
not eax
or eax, edi
je 0x6b7f8d
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
not eax
or eax, edx
je 0x6b7f8d
mov ecx, dword [ebx + 0xa]
test ecx, ecx
jne 0x6b7f6d
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
xor eax, esi
xor edx, edi
or eax, edx
jne 0x6b82a6
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ecx, eax
or ecx, edx
jne 0x6b7f8d
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov ecx, eax
or ecx, edx
jne 0x6b82a6
movzx eax, word [ebx + 0x22]
cmp eax, 0xffff
je 0x6b832d
cmp dword [esp + 0x44], eax
je 0x6b7fab
cmp eax, 1
jne 0x6b832d
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov eax, esi
not eax
or eax, edi
je 0x6b7fd8
mov eax, dword [ebx + 0x2a]
xor edx, edx
mov ecx, dword [ebp + 4]
add eax, esi
adc edx, edi
add eax, 0x1e
adc edx, 0
cmp dword [ebp], eax
sbb ecx, edx
jb 0x6b82a6
test byte [ebx + 9], 0x20
jne 0x6b8340
movzx edx, word [ebx + 0x1c]
movzx eax, word [ebx + 0x1e]
mov ecx, dword [esp + 0x40]
lea eax, [edx + eax + 0x2e]
movzx edx, word [ebx + 0x20]
add eax, edx
cmp ecx, eax
jb 0x6b82a6
sub ecx, eax
add dword [esp + 0x34], 1
add ebx, eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x34]
cmp ecx, eax
jae 0x6b8339
cmp dword [esp + 0x40], 0x2d
jbe 0x6b82a6
cmp dword [ebx], 0x2014b50
jne 0x6b82a6
mov edi, dword [ebp + 0x48]
mov eax, dword [edi]
mov esi, dword [edi + 0x10]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.004026d0
mov ecx, dword [esp + 0x34]
mov dword [esi + ecx*4], eax
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x6b805c
mov eax, dword [edi + 0x20]
mov dword [eax + ecx*4], ecx
xor edx, edx
mov eax, dword [ebx + 0x14]
mov edi, dword [edi + 0x38]
xor ecx, ecx
mov dword [esp + 0x2c], edx
mov edx, dword [ebx + 0x18]
mov dword [esp + 0x3c], ecx
movzx esi, word [ebx + 0x1e]
mov dword [esp + 0x38], edx
movzx ecx, word [ebx + 0x1c]
mov dword [esp + 0x28], eax
mov edx, dword [ebx + 0x2a]
test edi, edi
jne 0x6b7f34
test esi, esi
je 0x6b7f34
mov edi, dword [esp + 0x38]
cmp dword [esp + 0x28], edi
mov dword [esp + 0x50], edx
mov edi, dword [esp + 0x2c]
sbb edi, dword [esp + 0x3c]
mov dword [esp + 0x54], 0
mov edi, dword [esp + 0x38]
cmovae edi, dword [esp + 0x28]
mov edx, dword [esp + 0x50]
mov eax, edi
mov edi, dword [esp + 0x3c]
cmovae edi, dword [esp + 0x2c]
cmp eax, edx
mov edx, edi
sbb edx, dword [esp + 0x54]
mov edx, dword [esp + 0x54]
cmovb eax, dword [esp + 0x50]
cmovae edx, edi
not eax
or eax, edx
jne 0x6b7f34
movzx edx, cx
lea eax, [esi + edx + 0x2e]
cmp dword [esp + 0x40], eax
jb 0x6b82cf
lea edi, [ebx + edx + 0x2e]
xor ecx, ecx
mov dword [esp + 0x50], ebx
jmp 0x6b812c
movzx eax, word [edi + 2]
movzx ebx, word [edi]
lea edx, [eax + 4]
cmp esi, edx
jb 0x6b8131
cmp bx, 1
je 0x6b835d
add edi, edx
mov edx, 0xfffffffc
sub edx, eax
add esi, edx
je 0x6b834c
cmp esi, 3
ja 0x6b8103
mov dword [esp], ecx
mov edi, ebp
call fcn.0040f8c0
lea esi, [esi]
nop
mov eax, 9
jmp 0x6b7c3d
mov eax, 7
jmp 0x6b7c3d
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x80]
mov esi, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xac]
mov ebx, dword [esp + 0xa0]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x40], eax
mov eax, 0x2b
cmp eax, dword [esp + 0x88]
mov eax, 0
sbb eax, dword [esp + 0x8c]
jae 0x6b8140
cmp edx, 1
jne 0x6b8228
cmp ecx, 0
ja 0x6b8232
mov dword [esp + 0x34], esi
mov dword [edi + 0x10], esi
cmp ebx, 0
ja 0x6b8232
cmp dword [esp + 0x40], 0
ja 0x6b823c
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0x98]
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x94]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0xb8]
mov dword [esp + 0x4c], ebx
jmp 0x6b7e0e
xor eax, eax
mov edx, dword [esp + 0x58]
test edx, edx
je 0x6b8246
mov eax, 1
jmp 0x6b7c42
mov eax, 0xa
jmp 0x6b7c3d
mov eax, 2
jmp 0x6b7c3d
mov eax, 0xf
jmp 0x6b7c3d
mov edx, dword [edi + 0x48]
call fcn.006b8380
jmp 0x6b8217
xor edx, edx
mov ecx, eax
mov eax, edi
mov dword [esp], edx
mov edx, ebp
call fcn.006b34b0
test eax, eax
je 0x6b829c
mov eax, dword [edi + 0x10]
mov ebp, dword [edi + 0x48]
mov dword [esp + 0x34], eax
mov esi, ebp
jmp 0x6b7ea3
lea edx, [ebp + 0x10]
xor ebp, ebp
mov ecx, dword [esp + 0x34]
mov eax, edi
mov dword [esp], ebp
call fcn.006b34b0
test eax, eax
je 0x6b829c
mov ebp, dword [edi + 0x48]
mov ecx, dword [esp + 0x34]
mov ebx, ebp
jmp 0x6b7ebf
mov edi, ebp
mov eax, 0x10
jmp 0x6b7c3d
mov edi, ebp
jmp 0x6b8140
call fcn.00401690
xor ecx, ecx
lea edx, [ebx + 0x20]
mov eax, edi
mov dword [esp], ecx
mov ecx, esi
call fcn.006b34b0
test eax, eax
je 0x6b829c
mov ebp, dword [edi + 0x48]
jmp 0x6b7ed6
mov dword [esp], esi
mov dword [esp + 0x5c], edx
call sub.msvcrt.dll_malloc
mov edi, eax
test eax, eax
je 0x6b829a
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x10], esi
add eax, 0x2e
adc edx, 0
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x54], edx
xor edx, edx
add eax, dword [esp + 0x50]
adc edx, dword [esp + 0x54]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebp + 0x44]
mov dword [esp], eax
call dword [ebp + 0x38]
cmp esi, eax
jne 0x6b7d8d
mov ecx, edi
jmp 0x6b80fd
mov edi, ebp
mov eax, 0xa
jmp 0x6b7c3d
mov edi, ebp
jmp 0x6b820f
mov edi, ebp
mov eax, 5
jmp 0x6b7c3d
mov ebx, dword [esp + 0x50]
mov dword [esp], ecx
call fcn.0040f8c0
jmp 0x6b7f34
mov eax, dword [ebp + 0x48]
mov esi, 1
mov ebx, dword [esp + 0x50]
mov dword [eax + 0x34], esi
mov dword [eax + 0x38], esi
jmp 0x6b8350