Function at 0x6b6340
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, 0x1000
or dword [esp], 0
sub esp, 0x5ac
mov edi, dword [esp + 0x25c4]
mov esi, dword [esp + 0x25cc]
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x25c8]
mov ebx, eax
mov ebp, ecx
mov ecx, dword [0x86c044]
mov dword [esp + 0x259c], ecx
xor ecx, ecx
mov dword [esp + 0x20], esi
mov eax, edx
mov esi, dword [esp + 0x25d0]
mov dword [esp + 0x40], edi
mov edx, dword [esp + 0x25c0]
test ebx, ebx
je 0x6b6477
mov edi, dword [ebx + 0x48]
test edi, edi
je 0x6b6470
test ebp, ebp
jne 0x6b63c1
test edx, edx
jne 0x6b6470
mov ecx, dword [esp + 0x40]
test ecx, ecx
jne 0x6b63d5
mov edi, dword [esp + 0x20]
test edi, edi
jne 0x6b6470
mov ecx, dword [ebx + 0x38]
test ecx, ecx
je 0x6b6470
test esi, esi
je 0x6b64e0
lea edi, [esp + 0x98]
mov ecx, 0x116
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0xdc]
test eax, eax
jne 0x6b64d0
mov edi, dword [esp + 0xbc]
mov esi, dword [esp + 0xb8]
mov eax, edi
or eax, esi
je 0x6b64d0
test byte [esp + 0xac], 0x61
jne 0x6b6510
mov eax, dword [esp + 0x28]
and eax, 0x400
mov dword [esp + 0x44], eax
jne 0x6b6520
test word [esp + 0xae], 0xfff7
jne 0x6b6660
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x30], eax
jmp 0x6b6528
mov dword [ebx + 0x1c], 0x18
xor eax, eax
mov edx, dword [esp + 0x259c]
sub edx, dword [0x86c044]
jne 0x6b6916
add esp, 0x25ac
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc], ebp
mov edx, dword [esp + 0x54]
mov dword [esp + 0x10], esi
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebx + 0x44]
mov dword [esp], eax
call dword [ebx + 0x38]
xor esi, eax
or esi, dword [esp + 0x30]
jne 0x6b6650
lea esi, [esi]
nop
mov eax, 1
jmp 0x6b6479
lea ecx, [esp + 0x98]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp], ebx
mov dword [esp + 0x30], edx
call fcn.006b69a0
mov edx, dword [esp + 0x30]
test eax, eax
jne 0x6b63f6
jmp 0x6b6477
mov dword [ebx + 0x1c], 5
jmp 0x6b6477
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], edx
cmp edx, eax
mov eax, dword [esp + 0x3c]
sbb eax, dword [esp + 0x30]
jb 0x6b6670
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0x10], 0x1e
mov edx, eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x78]
mov dword [esp + 0xc], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x3c], ecx
mov dword [esp], eax
call dword [ebx + 0x38]
cmp eax, 0x1e
jne 0x6b6650
cmp dword [esp + 0x78], 0x4034b50
jne 0x6b6680
movzx edx, word [esp + 0x92]
movzx eax, word [esp + 0x94]
mov ecx, dword [ebx + 4]
lea eax, [edx + eax + 0x1e]
xor edx, edx
add eax, dword [esp + 0x38]
adc edx, dword [esp + 0x3c]
mov dword [esp + 0x50], eax
add eax, esi
mov dword [esp + 0x54], edx
adc edx, edi
cmp dword [ebx], eax
sbb ecx, edx
jb 0x6b6680
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x6b6497
cmp word [esp + 0xae], 0
jne 0x6b668c
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc], ebp
mov edx, dword [esp + 0x54]
mov dword [esp + 0x10], esi
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebx + 0x44]
mov dword [esp], eax
call dword [ebx + 0x38]
xor eax, esi
or eax, dword [esp + 0x30]
jne 0x6b6650
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], ebp
mov dword [esp], 0
mov dword [esp + 8], eax
call fcn.006b2160
cmp dword [esp + 0xb0], eax
je 0x6b64d0
mov dword [ebx + 0x1c], 0xe
jmp 0x6b6477
mov dword [ebx + 0x1c], 0x14
jmp 0x6b6477
mov dword [ebx + 0x1c], 4
jmp 0x6b6477
mov dword [ebx + 0x1c], 0x1a
jmp 0x6b6477
mov dword [ebx + 0x1c], 9
jmp 0x6b6477
mov dword [esp + 0x4f0], 0
mov eax, dword [ebx + 0x48]
mov eax, dword [eax + 0x48]
test eax, eax
je 0x6b68c1
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], edi
add eax, ecx
mov dword [esp + 0x38], 0
mov dword [esp + 0x58], eax
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x28], 0
mov dword [esp + 0x6c], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x5c], ebx
jmp 0x6b6796
mov eax, dword [esp + 0x58]
mov edx, esi
mov esi, dword [esp + 0x30]
add eax, esi
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], eax
lea eax, [esp + 0x4f0]
mov esi, edx
xor edx, edx
mov dword [esp + 0xc], ebp
or esi, ecx
lea esi, [esp + 0x74]
mov dword [esp], eax
setne dl
add ebx, ebp
mov dword [esp + 0x14], esi
add edx, edx
mov dword [esp + 0x10], ebx
or edx, 4
mov dword [esp + 0x18], edx
lea edx, [esp + 0x70]
mov dword [esp + 8], edx
call fcn.006c4e50
xor edx, edx
mov ecx, eax
mov eax, dword [esp + 0x70]
sub dword [esp + 0x20], eax
sbb dword [esp + 0x24], edx
add dword [esp + 0x30], eax
mov eax, dword [esp + 0x74]
adc dword [esp + 0x34], edx
xor edx, edx
add dword [esp + 0x28], eax
adc dword [esp + 0x2c], edx
cmp ecx, 1
jne 0x6b687b
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x20]
sub eax, ebx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x24]
or eax, esi
jne 0x6b6710
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x48]
mov edx, dword [eax + 0x48]
test edx, edx
je 0x6b67d3
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x30]
xor edx, edx
add eax, esi
jmp 0x6b671c
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x64]
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x60], eax
sbb esi, edx
mov esi, dword [esp + 0x60]
mov ecx, dword [esp + 0x54]
mov edi, dword [esp + 0x5c]
mov edx, dword [esp + 0x50]
cmovae esi, eax
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x64]
cmovae esi, dword [esp + 0x3c]
mov dword [esp + 0x4c], esi
mov esi, dword [esp + 0x48]
mov dword [esp + 0x10], esi
mov dword [esp + 0x68], esi
mov esi, dword [esp + 0x58]
mov dword [esp + 0xc], esi
mov eax, dword [edi + 0x44]
mov dword [esp], eax
call dword [edi + 0x38]
mov edi, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
xor eax, edi
or eax, ecx
jne 0x6b691b
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov eax, esi
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
add dword [esp + 0x50], edx
mov dword [esp + 0x20], edx
adc dword [esp + 0x54], ecx
mov dword [esp + 0x30], esi
sub dword [esp + 0x38], edx
mov edx, dword [esp + 0x68]
sbb dword [esp + 0x3c], ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x24], ecx
jmp 0x6b671c
mov ebx, dword [esp + 0x5c]
mov edi, ecx
test ecx, ecx
jne 0x6b68a8
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x6c]
mov edx, 0xd
mov eax, dword [esp + 0x28]
xor ecx, esi
mov esi, dword [esp + 0x44]
xor eax, esi
or eax, ecx
je 0x6b68f4
mov dword [ebx + 0x1c], edx
or edi, 0xffffffff
mov eax, dword [ebx + 0x48]
mov esi, dword [esp + 0x40]
or esi, dword [eax + 0x48]
je 0x6b6929
test edi, edi
sete al
movzx eax, al
jmp 0x6b6479
mov eax, dword [esp + 0x40]
test eax, eax
je 0x6b693f
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x6b6477
mov dword [esp + 0x60], ecx
xor ecx, ecx
mov dword [esp + 0x38], esi
xor esi, esi
mov dword [esp + 0x3c], edi
xor edi, edi
mov dword [esp + 0x64], ecx
mov dword [esp + 0x58], eax
jmp 0x6b66c7
xor eax, eax
mov dword [esp + 8], esi
mov dword [esp + 4], ebp
mov dword [esp], eax
call fcn.006b2160
cmp dword [esp + 0xb0], eax
je 0x6b68a8
mov edx, 0xe
jmp 0x6b68a2
call fcn.00401690
mov ebx, dword [esp + 0x5c]
mov edx, 0xb
jmp 0x6b68a2
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x34]
mov dword [esp], eax
call dword [ebx + 0x2c]
jmp 0x6b68b4
xor eax, eax
mov ecx, 0x10000
mov dword [esp + 4], 1
mov edx, eax
cmp ecx, esi
sbb edx, edi
cmovae ecx, esi
cmovae eax, edi
mov dword [esp + 8], ecx
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 0x34]
mov dword [esp + 0x60], ecx
mov dword [esp], eax
call dword [ebx + 0x28]
mov dword [esp + 0x58], eax
test eax, eax
je 0x6b6988
mov dword [esp + 0x38], esi
xor esi, esi
mov dword [esp + 0x3c], edi
xor edi, edi
jmp 0x6b66c7
mov dword [ebx + 0x1c], 0x10
jmp 0x6b6477