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

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov esi, edx
mov ebx, eax
mov edi, esp
mov eax, dword [ebx + 0x45]
test eax, eax
je 0x6e3b83
cmp byte [eax], 0
jne 0x6e3b92
cmp dword [ebx + 0x20], 0
je 0x6e3b92
cmp esi, 4
jg 0x6e3b92
test esi, esi
jge 0x6e3b9c
mov eax, 0xfffffffe
jmp 0x6e3dff
mov eax, dword [ebx + 0x20]
mov dword [edi], eax
cmp dword [ebx + 0x10], 0
je 0x6e3bc2
cmp dword [ebx], 0
jne 0x6e3bb2
cmp dword [ebx + 4], 0
jne 0x6e3bc2
mov eax, dword [edi]
cmp dword [eax + 4], 0x29a
jne 0x6e3bcc
cmp esi, 4
je 0x6e3bcc
mov eax, 0xfffffffe
jmp 0x6e3dff
cmp dword [ebx + 0x14], 0
jne 0x6e3bdc
mov eax, 0xfffffffb
jmp 0x6e3dff
mov eax, dword [edi]
mov dword [eax], ebx
mov eax, dword [edi]
mov ebp, dword [eax + 0x20]
mov eax, dword [edi]
mov dword [eax + 0x20], esi
mov eax, dword [edi]
cmp dword [eax + 4], 0x2a
jne 0x6e3c84
mov eax, dword [edi]
mov cx, word [eax + 0x28]
sub cx, 8
shl ecx, 4
add cx, 8
shl ecx, 8
mov eax, dword [edi]
mov eax, dword [eax + 0x78]
dec eax
shr eax, 1
cmp ax, 3
jbe 0x6e3c1c
mov ax, 3
shl eax, 6
or cx, ax
mov eax, dword [edi]
cmp dword [eax + 0x64], 0
je 0x6e3c2e
or cx, 0x20
movzx eax, cx
push ecx
mov ecx, 0x1f
xor edx, edx
div ecx
pop ecx
mov ax, 0x1f
sub ax, dx
add cx, ax
mov eax, dword [edi]
mov dword [eax + 4], 0x71
mov eax, dword [edi]
mov edx, ecx
call fcn.006e37e4
mov eax, dword [edi]
cmp dword [eax + 0x64], 0
je 0x6e3c7d
mov edx, dword [ebx + 0x34]
shr edx, 0x10
mov eax, dword [edi]
call fcn.006e37e4
mov dx, word [ebx + 0x34]
and dx, 0xffff
mov eax, dword [edi]
call fcn.006e37e4
mov dword [ebx + 0x34], 1
mov eax, dword [edi]
cmp dword [eax + 0x14], 0
je 0x6e3ca9
mov eax, ebx
call fcn.006e3810
cmp dword [ebx + 0x14], 0
jne 0x6e3cc2
mov eax, dword [edi]
mov dword [eax + 0x20], 0xffffffff
xor eax, eax
jmp 0x6e3dff
cmp dword [ebx + 4], 0
jne 0x6e3cc2
cmp ebp, esi
jl 0x6e3cc2
cmp esi, 4
je 0x6e3cc2
mov eax, 0xfffffffb
jmp 0x6e3dff
mov eax, dword [edi]
cmp dword [eax + 4], 0x29a
jne 0x6e3cdd
cmp dword [ebx + 4], 0
je 0x6e3cdd
mov eax, 0xfffffffb
jmp 0x6e3dff
cmp dword [ebx + 4], 0
jne 0x6e3d02
mov eax, dword [edi]
cmp dword [eax + 0x6c], 0
jne 0x6e3d02
test esi, esi
je 0x6e3da9
mov eax, dword [edi]
cmp dword [eax + 4], 0x29a
je 0x6e3da9
mov eax, dword [edi]
mov eax, dword [eax + 0x78]
lea eax, [eax + eax*2]
mov ebp, dword [eax*4 + 0x74a4e8]
mov eax, dword [edi]
mov edx, esi
call ebp
cmp al, 2
je 0x6e3d1f
cmp al, 3
jne 0x6e3d28
mov edx, dword [edi]
mov dword [edx + 4], 0x29a
test al, al
je 0x6e3d30
cmp al, 2
jne 0x6e3d46
cmp dword [ebx + 0x14], 0
jne 0x6e3d3f
mov eax, dword [edi]
mov dword [eax + 0x20], 0xffffffff
xor eax, eax
jmp 0x6e3dff
cmp al, 1
jne 0x6e3da9
cmp esi, 1
jne 0x6e3d58
mov eax, dword [edi]
call fcn.006e3984
jmp 0x6e3d8f
push 0
mov eax, dword [edi]
xor ecx, ecx
xor edx, edx
call fcn.006e3b10
cmp esi, 3
jne 0x6e3d8f
mov eax, dword [edi]
mov eax, dword [eax + 0x44]
mov edx, dword [edi]
mov edx, dword [edx + 0x3c]
mov word [edx + eax*2 - 2], 0
mov eax, dword [edi]
mov eax, dword [eax + 0x44]
dec eax
mov edx, eax
add edx, edx
mov eax, dword [edi]
mov eax, dword [eax + 0x3c]
call fcn.006e3b64
mov eax, ebx
call fcn.006e3810
cmp dword [ebx + 0x14], 0
jne 0x6e3da9
mov eax, dword [edi]
mov dword [eax + 0x20], 0xffffffff
xor eax, eax
jmp 0x6e3dff
cmp esi, 4
je 0x6e3db2
xor eax, eax
jmp 0x6e3dff
mov eax, dword [edi]
cmp dword [eax + 0x18], 0
je 0x6e3dc1
mov eax, 1
jmp 0x6e3dff
mov edx, dword [ebx + 0x34]
shr edx, 0x10
mov eax, dword [edi]
call fcn.006e37e4
mov dx, word [ebx + 0x34]
and dx, 0xffff
mov eax, dword [edi]
call fcn.006e37e4
mov eax, ebx
call fcn.006e3810
mov eax, dword [edi]
mov dword [eax + 0x18], 0xffffffff
mov eax, dword [edi]
cmp dword [eax + 0x14], 0
je 0x6e3dfa
xor eax, eax
jmp 0x6e3dff
mov eax, 1
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret