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

Disassembly:
sub esp, 0x4c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x5c]
push edi
mov dword [esp + 0x20], 0
mov ebx, dword [esi + 8]
mov edx, dword [esi]
mov ebp, dword [esi + 4]
mov dword [esp + 0x40], ebp
movzx eax, byte [ebx + 0x10]
mov edi, dword [edx]
mov dword [esp + 0x58], edi
mov dword [esp + 0x4c], ebx
lea ecx, [eax + eax*8]
mov eax, dword [edx + 4]
lea eax, [eax + ecx*8]
lea ecx, [esp + 0x18]
add eax, 8
push ecx
push eax
push dword [esp + 0x78]
push dword [esp + 0x78]
push ebp
push edx
call fcn.0064e080
mov ebp, eax
add esp, 0x18
mov dword [esp + 0x48], ebp
test ebp, ebp
jne 0x6e1f06
pop edi
pop esi
lea eax, [ebp + 7]
pop ebp
pop ebx
add esp, 0x4c
ret
and dword [ebx + 0x1c], 0xfffffffe
xor eax, eax
mov word [ebx + 0x12], ax
mov dword [ebx + 0x2c], 0x400
mov word [ebx + 0x30], ax
mov eax, dword [ebp]
push eax
push ebx
push dword [edi]
mov dword [esp + 0x48], eax
call fcn.006e2d70
add esp, 0xc
test eax, eax
je 0x6e1f4a
push ebp
push dword [edi]
call fcn.00661130
add esp, 8
mov eax, 7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov edi, dword [esp + 0x68]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x20]
push ebp
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push dword [esp + 0x84]
push esi
call fcn.006e2200
add esp, 0x28
mov esi, eax
cmp dword [esp + 0x20], 0
mov dword [esp + 0x14], esi
je 0x6e1fb0
push 0
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x20]
push ebp
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push dword [esp + 0x84]
push dword [esp + 0x84]
call fcn.006e2200
add esp, 0x28
mov dword [esp + 0x14], eax
mov esi, eax
test esi, esi
jne 0x6e21c7
mov ecx, dword [esp + 0x64]
mov edx, edi
mov eax, ecx
not edx
not eax
mov dword [esp + 0x28], edx
and edx, dword [ebx + 4]
mov dword [esp + 0x24], eax
and eax, dword [ebx]
mov dword [esp + 0x50], eax
or eax, edx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x54], edx
jne 0x6e1fe9
test eax, eax
je 0x6e21c7
xor edx, edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], edx
test eax, eax
je 0x6e2062
push edx
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x20]
push ebp
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push ecx
push dword [esp + 0x84]
call fcn.006e2200
mov edx, dword [esp + 0x4c]
mov esi, eax
and edx, dword [ebx]
add esp, 0x28
mov ecx, dword [esp + 0x28]
mov eax, edx
and ecx, dword [ebx + 4]
or eax, ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ecx
jne 0x6e205a
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 1
test esi, esi
jne 0x6e21c7
mov ecx, dword [esp + 0x3c]
or edx, 0xffffffff
or esi, 0xffffffff
test ecx, ecx
jle 0x6e20c6
mov eax, dword [esp + 0x40]
mov ebx, ecx
mov edi, dword [ebp + 4]
add edi, 8
mov eax, dword [eax + 0x18]
mov ebp, eax
mov eax, dword [edi]
lea eax, [eax + eax*2]
add eax, eax
mov ecx, dword [ebp + eax*8 + 0x20]
mov eax, dword [ebp + eax*8 + 0x24]
and eax, dword [esp + 0x28]
and ecx, dword [esp + 0x24]
cmp eax, dword [esp + 0x30]
jb 0x6e20b4
ja 0x6e20a6
cmp ecx, dword [esp + 0x2c]
jbe 0x6e20b4
cmp eax, esi
ja 0x6e20b4
jb 0x6e20b0
cmp ecx, edx
jae 0x6e20b4
mov edx, ecx
mov esi, eax
add edi, 0xc
dec ebx
jne 0x6e2081
mov ebp, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x68]
mov eax, edx
mov dword [esp + 0x2c], edx
and eax, esi
mov dword [esp + 0x30], esi
cmp eax, 0xffffffff
je 0x6e2152
cmp edx, dword [esp + 0x50]
jne 0x6e20e3
cmp esi, dword [esp + 0x54]
je 0x6e2144
cmp edx, dword [esp + 0x34]
jne 0x6e20ef
cmp esi, dword [esp + 0x38]
je 0x6e2144
push 0
lea eax, [esp + 0x14]
or esi, edi
push eax
push dword [esp + 0x20]
mov eax, dword [esp + 0x70]
or edx, eax
push ebp
push 0
push esi
push edx
push edi
push eax
push dword [esp + 0x84]
call fcn.006e2200
mov esi, eax
add esp, 0x28
mov eax, dword [esp + 0x64]
mov dword [esp + 0x14], esi
cmp dword [ebx], eax
jne 0x6e2148
cmp dword [ebx + 4], edi
jne 0x6e2148
cmp dword [esp + 0x10], 0
mov dword [esp + 0x20], 1
jne 0x6e2148
mov dword [esp + 0x1c], 1
jmp 0x6e2148
mov esi, dword [esp + 0x14]
test esi, esi
je 0x6e2062
jmp 0x6e21c7
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x6e21c7
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x64]
test edx, edx
jne 0x6e219d
push edx
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x20]
push ebp
push edx
push edi
push ebx
push edi
push ebx
push dword [esp + 0x84]
call fcn.006e2200
add esp, 0x28
mov esi, eax
cmp dword [esp + 0x10], 0
mov edx, 1
je 0x6e2197
mov edx, dword [esp + 0x1c]
test esi, esi
jne 0x6e21c7
jmp 0x6e21a1
mov edx, dword [esp + 0x1c]
test edx, edx
jne 0x6e21c7
push edx
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x20]
push ebp
push 1
push edi
push ebx
push edi
push ebx
push dword [esp + 0x84]
call fcn.006e2200
add esp, 0x28
mov esi, eax
cmp dword [ebp + 0x1c], 0
je 0x6e21d8
push dword [ebp + 0x18]
call fcn.0063e7a0
add esp, 4
mov eax, dword [esp + 0x58]
push ebp
push dword [eax]
call fcn.00661130
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret