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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
push ebx
push esi
mov eax, ecx
mov dword [esp + 0x34], edx
push edi
xor ecx, ecx
mov dword [esp + 0x3c], eax
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
cmp word [ebp + 0x10], cx
je 0x6ee93b
mov eax, dword [eax]
mov eax, dword [eax]
test byte [eax + 0x50], 0x40
jne 0x6ef2a1
movzx eax, word [edx]
mov dword [esp + 0x30], eax
cmp eax, 0x3f
ja 0x6ef2a1
movzx eax, ax
xor edx, edx
bts edx, eax
mov byte [esp + 0x20], 1
xor esi, esi
mov dword [esp + 0x60], ecx
cmp eax, 0x20
mov dword [esp + 0x64], ecx
mov dword [esp + 0x50], ecx
cmovae esi, edx
mov dword [esp + 0x54], ecx
xor edx, esi
cmp eax, 0x40
mov eax, dword [ebp + 0xc]
cmovae esi, edx
add edx, 0xffffffff
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x20]
adc esi, 0xffffffff
and eax, 0x803
mov dword [esp + 0x74], esi
neg eax
sbb eax, eax
neg eax
add eax, 0x182
xor esi, esi
movzx eax, ax
mov dword [esp + 0x70], eax
mov dword [esp + 0x68], esi
lea ebx, [ebx]
mov eax, dword [esp + 0x74]
cmp ebx, eax
ja 0x6ef1b9
jb 0x6ee9c8
cmp edi, dword [esp + 0x78]
jae 0x6ef1bd
movzx eax, word [ebp + 0x10]
cmp esi, eax
jg 0x6ef252
test esi, esi
jle 0x6ee9f2
mov ebx, dword [esp + 0x50]
or ebx, dword [ecx + 8]
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x54]
or ebx, dword [ecx + 0xc]
mov dword [esp + 0x54], ebx
mov ebx, dword [esp + 0x14]
cmp esi, eax
jge 0x6eea14
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
mov esi, dword [eax + esi*4]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x24], esi
test eax, 0x800
je 0x6eea1e
mov ecx, esi
jmp 0x6ef1a4
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x24], esi
test dword [esi + 0x2c], 0x400
jne 0x6ef23c
and eax, 0x80
mov dword [esp + 0x6c], eax
je 0x6eea3c
xor eax, eax
mov word [esi + 0x1e], ax
movzx eax, byte [esi + 0x10]
mov edx, dword [esp + 0x30]
lea ecx, [eax + eax*8]
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*8 + 0x34]
xor ecx, ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x28], ecx
test dx, dx
je 0x6eec3d
mov eax, dword [esp + 0x38]
add eax, 8
mov dword [esp + 0x10], eax
mov esi, eax
mov eax, ecx
xor edx, edx
xor ecx, ecx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov dword [esp + 0x34], ecx
cmovae edx, ecx
and ecx, edi
mov eax, edx
mov dword [esp + 0x40], edx
and eax, ebx
or ecx, eax
jne 0x6eec1a
mov esi, dword [esi]
test esi, esi
je 0x6eec16
lea esp, [esp]
mov eax, dword [esi + 4]
test eax, 0x82000
je 0x6eead5
test eax, 0x80000
je 0x6eeac9
mov eax, dword [esi + 0x14]
mov esi, dword [eax + 8]
jmp 0x6eeacc
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x6eeab0
jmp 0x6eec16
mov al, byte [esi]
cmp al, 0xa7
je 0x6eeae3
cmp al, 0xa9
jne 0x6eec16
mov edx, dword [esp + 0x58]
cmp dword [esi + 0x1c], edx
jne 0x6eec16
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x50]
movzx eax, ax
not ecx
push 0
push eax
mov eax, dword [esp + 0x5c]
not eax
push eax
movsx eax, word [esi + 0x20]
push ecx
mov ecx, dword [esp + 0x4c]
push eax
lea ecx, [ecx + 0x50]
call fcn.006e95e0
mov edi, eax
add esp, 0x14
test edi, edi
je 0x6eec12
movzx ebx, word [edi + 0xc]
cmp ebx, 1
jne 0x6eeb54
mov eax, dword [esp + 0x24]
xor ecx, ecx
movzx edx, word [eax + 0x30]
test edx, edx
je 0x6eeb4c
mov eax, dword [eax + 0x38]
cmp edi, dword [eax]
je 0x6eeb4c
inc ecx
add eax, 4
cmp ecx, edx
jl 0x6eeb40
cmp ecx, edx
jge 0x6eec0e
test bl, 0x82
je 0x6eebdf
cmp word [esi + 0x20], 0
jl 0x6eebdf
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x10]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [edx]
call fcn.00691c50
mov ebx, eax
test ebx, ebx
jne 0x6eeb82
mov eax, dword [esi]
mov ebx, dword [eax + 8]
mov eax, dword [edi]
test dword [eax + 4], 0x400
je 0x6eeb95
mov edi, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
jmp 0x6eeb9b
mov edi, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
test dword [edx + 4], 0x200
jne 0x6eebbe
test edi, edi
je 0x6eebb1
test dword [edi + 4], 0x200
jne 0x6eebbc
mov ecx, esi
call fcn.00691c50
test eax, eax
jne 0x6eebc9
mov edx, edi
mov ecx, esi
call fcn.00691c50
test eax, eax
je 0x6eec0e
mov esi, dword [eax]
mov edx, dword [ebx]
sub esi, edx
nop
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x6eebf9
test ecx, ecx
jne 0x6eec0b
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
or edi, dword [esp + 0x34]
or ebx, dword [esp + 0x40]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
jmp 0x6eec16
movzx eax, byte [eax + 0x7fc958]
movzx ecx, byte [ecx + 0x7fc958]
sub ecx, eax
jne 0x6eec0e
inc edx
jmp 0x6eebd0
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
add esi, 0x14
mov edx, dword [esp + 0x30]
inc ecx
movzx eax, dx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], esi
cmp ecx, eax
jl 0x6eea72
mov esi, dword [esp + 0x24]
mov eax, dword [esi + 0x2c]
test eax, 0x1000
jne 0x6ef090
test eax, 0x100
je 0x6eec69
mov dword [esp + 0x44], 0
mov ecx, 1
mov dword [esp + 0x34], 0
jmp 0x6eeca5
mov edx, dword [esi + 0x20]
mov dword [esp + 0x44], edx
test edx, edx
je 0x6ef2a1
test byte [edx + 0x38], 4
jne 0x6ef2a1
cmp byte [edx + 0x36], 0
movzx ecx, word [edx + 0x32]
mov dword [esp + 0x34], ecx
movzx ecx, word [edx + 0x34]
je 0x6eeca0
mov byte [esp + 0x20], 1
test eax, 0x8000
je 0x6eeca5
mov byte [esp + 0x20], 0
xor al, al
xor dl, dl
mov byte [esp + 0x1f], al
mov dword [esp + 0x28], eax
movzx eax, cx
mov byte [esp + 0x1e], dl
xor edx, edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x4c], eax
test eax, eax
je 0x6ef090
mov dword [esp + 0x40], edx
mov edi, edi
movzx edi, word [esi + 0x18]
mov bl, 1
mov byte [esp + 0xf], bl
cmp edx, edi
jge 0x6eed46
movzx eax, word [esi + 0x32]
cmp edx, eax
jl 0x6eed46
mov ebx, dword [esi + 0x38]
mov eax, dword [esp + 0x70]
mov esi, dword [ebx + edx*4]
movzx ecx, word [esi + 0xc]
and eax, ecx
test ax, ax
je 0x6eed19
mov eax, dword [esp + 0x20]
test ecx, 0x180
mov ecx, 0
movzx eax, al
cmove ecx, eax
mov byte [esp + 0x20], cl
jmp 0x6ef073
test cl, 1
je 0x6eed79
mov esi, dword [esi]
inc edx
cmp edx, edi
jge 0x6eed3e
mov ecx, dword [esp + 0x10]
inc ecx
lea ecx, [ebx + ecx*4]
lea ecx, [ecx]
mov eax, dword [ecx]
cmp dword [eax], esi
je 0x6eed75
inc edx
add ecx, 4
cmp edx, edi
jl 0x6eed30
mov bl, byte [esp + 0xf]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x44]
test esi, esi
je 0x6eed7f
mov eax, dword [esi + 4]
movsx ecx, word [eax + edx*2]
mov eax, dword [esi + 0x1c]
mov bh, byte [edx + eax]
mov eax, dword [esi + 0xc]
and bh, 1
mov byte [esp + 0xf], bh
movsx eax, word [eax + 0x20]
cmp ecx, eax
mov eax, 0xffffffff
cmove ecx, eax
jmp 0x6eed87
xor bl, bl
jmp 0x6eed42
mov bl, byte [esp + 0xf]
jmp 0x6eed46
or ecx, 0xffffffff
mov byte [esp + 0xf], 0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x48], ecx
test al, al
je 0x6eedc0
test ecx, ecx
js 0x6eedb1
cmp edx, edi
jl 0x6eedc0
mov eax, dword [esi + 0xc]
add ecx, ecx
mov eax, dword [eax + 4]
test byte [eax + ecx*8 + 4], 0xf
jne 0x6eedc0
mov byte [esp + 0x20], 0
jmp 0x6eedc0
xor edx, edx
movzx eax, al
cmp ecx, 0xfffffffe
cmove eax, edx
mov dword [esp + 0x20], eax
xor edi, edi
test bl, bl
je 0x6eef49
mov esi, dword [esp + 0x38]
add esi, 8
mov dword [esp + 0x5c], esi
mov ecx, dword [esp + 0x30]
movzx eax, cx
cmp edi, eax
jge 0x6eef49
xor edx, edx
xor ecx, ecx
mov eax, edi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x18]
and ecx, dword [esp + 0x14]
or edx, ecx
jne 0x6eef39
mov edx, dword [esi]
test edx, edx
je 0x6eef39
mov eax, dword [edx + 4]
test eax, 0x82000
je 0x6eee3a
test eax, 0x80000
je 0x6eee2e
mov eax, dword [edx + 0x14]
mov edx, dword [eax + 8]
jmp 0x6eee31
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x6eee15
jmp 0x6eef39
mov al, byte [ebp + 0xc]
mov ecx, dword [esp + 0x48]
and al, 0xc0
neg al
sbb al, al
and bl, al
mov bh, bl
cmp ecx, 0xffffffff
jl 0x6eee7b
mov al, byte [edx]
cmp al, 0xa7
je 0x6eee5e
cmp al, 0xa9
jne 0x6eef39
mov eax, dword [esp + 0x58]
mov bl, bh
cmp dword [edx + 0x1c], eax
jne 0x6eef39
movsx eax, word [edx + 0x20]
cmp eax, ecx
jne 0x6eef39
jmp 0x6eeee7
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov eax, dword [eax + 0x28]
mov ecx, dword [eax + ecx + 8]
test ecx, ecx
je 0x6eeeb0
mov edi, edi
mov eax, dword [ecx + 4]
test eax, 0x82000
je 0x6eeeb0
test eax, 0x80000
je 0x6eeea9
mov eax, dword [ecx + 0x14]
mov ecx, dword [eax + 8]
jmp 0x6eeeac
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jne 0x6eee90
mov eax, dword [edx + 4]
test eax, 0x82000
je 0x6eeed0
test eax, 0x80000
je 0x6eeec9
mov eax, dword [edx + 0x14]
mov edx, dword [eax + 8]
jmp 0x6eeecc
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x6eeeb0
push dword [esp + 0x58]
push ecx
xor ecx, ecx
call fcn.0069b6e0
add esp, 8
test eax, eax
jne 0x6eef39
mov ecx, dword [esp + 0x48]
cmp ecx, 0xffffffff
je 0x6eef8b
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x5c]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [edx]
call fcn.00691c50
test eax, eax
jne 0x6eef0c
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov edx, dword [eax]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x20]
mov esi, dword [eax + ecx*4]
sub esi, edx
mov edi, edi
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x6eef76
test ecx, ecx
jne 0x6eef88
mov bl, bh
test ecx, ecx
je 0x6eef8b
mov esi, dword [esp + 0x5c]
add esi, 0x14
inc edi
mov dword [esp + 0x5c], esi
test bl, bl
jne 0x6eedd5
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x6eef5c
mov eax, dword [esp + 0x34]
movzx eax, ax
cmp ecx, eax
jge 0x6eef61
mov byte [esp + 0x20], 0
cmp byte [esp + 0x28], 0
je 0x6ef090
mov byte [esp + 0x20], 1
jmp 0x6ef09b
movzx eax, byte [eax + 0x7fc958]
movzx ecx, byte [ecx + 0x7fc958]
sub ecx, eax
jne 0x6eef2f
inc edx
jmp 0x6eef20
cmp word [esp + 0x6c], 0
mov esi, dword [esp + 0x24]
je 0x6eefa0
mov eax, dword [esp + 0x10]
inc eax
mov word [esi + 0x1e], ax
test byte [ebp + 0xc], 0x40
mov byte [esp + 0x2f], 1
jne 0x6ef019
mov edx, dword [esp + 0x38]
lea eax, [edi + edi*4]
mov bh, byte [esp + 0x1f]
mov dl, byte [edx + eax*4 + 0x10]
and dl, 1
test bh, bh
je 0x6eefe9
mov dh, byte [esp + 0x1e]
xor ecx, ecx
mov bl, byte [esp + 0xf]
movzx eax, byte [esp + 0x2f]
xor bl, dh
cmp bl, dl
mov byte [esp + 0x1e], dh
mov byte [esp + 0x1f], bh
cmove ecx, eax
test cl, cl
je 0x6eef49
jmp 0x6ef019
xor dl, byte [esp + 0xf]
mov byte [esp + 0x1e], dl
je 0x6ef014
mov eax, dword [esp + 0x68]
xor ecx, ecx
bts ecx, eax
xor edx, edx
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov eax, dword [ebp + 0x18]
cmovae edx, ecx
or dword [eax], ecx
or dword [eax + 4], edx
mov byte [esp + 0x1f], 1
mov ecx, dword [esp + 0x38]
lea eax, [edi + edi*4]
mov edx, dword [esp + 0x10]
test byte [ecx + eax*4 + 0x10], 2
je 0x6ef03e
movzx eax, word [esi + 0x18]
cmp edx, eax
jne 0x6eef49
or dword [esi + 0x2c], 0x80000
cmp dword [esp + 0x48], 0xffffffff
mov ecx, 1
mov eax, dword [esp + 0x28]
movzx eax, al
cmove eax, ecx
xor ecx, ecx
mov dword [esp + 0x28], eax
xor eax, eax
bts eax, edi
cmp edi, 0x20
cmovae ecx, eax
xor eax, ecx
cmp edi, 0x40
cmovae ecx, eax
or dword [esp + 0x18], eax
or dword [esp + 0x14], ecx
add dword [esp + 0x40], 0x14
inc edx
mov dword [esp + 0x10], edx
cmp edx, dword [esp + 0x4c]
jge 0x6eef61
mov esi, dword [esp + 0x24]
jmp 0x6eecd0
cmp byte [esp + 0x20], 0
je 0x6ef22f
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x60]
mov ebx, dword [esp + 0x14]
or eax, dword [ecx + 8]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x64]
or eax, dword [ecx + 0xc]
mov dword [esp + 0x64], eax
xor eax, eax
mov dword [esp + 0x34], eax
cmp word [esp + 0x30], ax
je 0x6ef19c
mov edx, dword [esp + 0x38]
add edx, 8
mov dword [esp + 0x28], edx
xor esi, esi
xor edi, edi
bts esi, eax
cmp eax, 0x20
cmovae edi, esi
xor esi, edi
cmp eax, 0x40
mov ecx, esi
cmovae edi, esi
and ecx, dword [esp + 0x18]
mov eax, edi
and eax, ebx
or ecx, eax
jne 0x6ef177
mov eax, dword [edx]
mov dword [esp + 0x4c], eax
test eax, eax
je 0x6ef1d6
mov ecx, dword [esp + 0x3c]
mov edx, eax
add ecx, 0x1f0
call fcn.006e8d60
mov ebx, eax
mov dword [esp + 0x6c], edx
or eax, edx
jne 0x6ef204
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x7c]
mov eax, 1
mov dword [esp + 0x80], fcn.006949b0
mov word [esp + 0x90], ax
mov dword [esp + 0x84], 0x694860
mov dword [esp + 0x94], 0
call fcn.0068e3e0
cmp word [esp + 0x90], 0
mov edx, dword [esp + 0x6c]
jne 0x6ef204
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
inc eax
add dword [esp + 0x28], 0x14
movzx ecx, dx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x34], eax
cmp eax, ecx
jl 0x6ef0d5
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x68]
inc esi
mov dword [esp + 0x68], esi
test dl, dl
jne 0x6ee9b0
mov eax, dword [esp + 0x74]
cmp edi, dword [esp + 0x78]
jne 0x6ef252
cmp ebx, eax
jne 0x6ef252
mov al, byte [esp + 0x30]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ebx, ebx
mov dword [esp + 0x80], fcn.006949b0
xor edx, edx
mov dword [esp + 0x84], 0x694860
mov eax, 1
mov dword [esp + 0x94], edx
mov word [esp + 0x90], ax
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
not ecx
not eax
and ecx, ebx
mov ebx, dword [esp + 0x14]
and eax, edx
or ecx, eax
jne 0x6ef177
or dword [esp + 0x18], esi
or ebx, edi
mov dword [esp + 0x14], ebx
jmp 0x6ef177
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x14]
jmp 0x6ef19c
cmp byte [esi + 0x20], 0
je 0x6ef252
and eax, 0x280
cmp eax, 0x80
jne 0x6ef1cb
test dl, dl
jne 0x6ef2b3
mov ecx, dword [esp + 0x30]
movzx eax, cx
lea ebx, [eax - 1]
test ebx, ebx
jle 0x6ef2a1
mov edi, dword [esp + 0x14]
xor ecx, ecx
xor edx, edx
cmp ebx, 0x40
jge 0x6ef28a
mov eax, ebx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
add ecx, 0xffffffff
adc edx, 0xffffffff
mov eax, ecx
mov esi, edx
and eax, dword [esp + 0x18]
and esi, edi
cmp eax, ecx
jne 0x6ef29c
cmp esi, edx
je 0x6ef2aa
dec ebx
test ebx, ebx
jg 0x6ef268
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
or al, 0xff
pop ebx
mov esp, ebp
pop ebp
ret