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

Disassembly:
sub esp, 0xac
push ebx
push ebp
mov ebp, ecx
mov dword [esp + 0x3c], 0xffffffff
push esi
push edi
mov dword [esp + 0x1c], ebp
mov edi, dword [ebp + 8]
mov ebx, dword [ebp]
mov dword [esp + 0x18], 0
mov dword [esp + 0x38], 1
movzx eax, byte [edi + 0x10]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x30], ebx
lea ecx, [eax + eax*8]
mov eax, dword [ebx + 4]
lea ecx, [ecx + 1]
test byte [eax + ecx*8 + 0x28], 2
lea ecx, [eax + ecx*8]
mov esi, dword [ecx + 0x10]
mov eax, dword [ebp + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x34], eax
je 0x6ece67
mov ebp, dword [ecx + 0x44]
jmp 0x6ecf50
test byte [esi + 0x1c], 0x80
je 0x6ece75
mov ebp, dword [esi + 8]
jmp 0x6ecf50
lea eax, [esp + 0x44]
mov dword [esp + 0x87], 0
mov dword [esp + 0x54], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x58], eax
mov eax, 3
mov dword [esp + 0x8b], 0
or dword [esp + 0x88], eax
mov word [esp + 0x80], ax
mov dword [esp + 0x50], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x8f], 0
mov dword [esp + 0x93], 0
mov byte [esp + 0x97], 0
mov dword [esp + 0x82], 0x10001
mov byte [esp + 0x86], 5
mov dword [esp + 0x5c], esi
mov ax, word [esi + 0x26]
mov word [esp + 0x40], ax
xor eax, eax
mov word [esp + 0x42], ax
test byte [ecx + 0x28], 1
jne 0x6ecf4c
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + 8]
mov dword [esp + 0x64], eax
lea ebp, [esp + 0x50]
mov edx, 0x1c
mov eax, esi
add eax, edx
movzx edx, word [esi + 0x26]
mov dword [esp + 0x24], eax
mov eax, edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0xc], 0
jne 0x6ed19a
mov eax, 0x1020
test word [ebx + 0x28], ax
jne 0x6ed19a
mov eax, dword [ebx]
mov eax, dword [eax]
mov eax, dword [eax + 0x20]
and eax, 0x8000
or eax, 0
je 0x6ed19a
test byte [ecx + 0x28], 0x4b
jne 0x6ed19a
mov eax, dword [esp + 0x24]
test byte [eax], 0x80
jne 0x6ed19a
test byte [ecx + 0x24], 0x10
jne 0x6ed19a
mov eax, dword [esp + 0x34]
mov esi, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*2]
shl eax, 4
add eax, esi
mov dword [esp + 0x2c], eax
cmp dx, 0xa
jg 0x6ecfda
xor ebx, ebx
jmp 0x6ecff7
movsx eax, dx
cdq
push edx
push eax
call fcn.0065a410
mov ecx, dword [esp + 0x1c]
add esp, 8
sub ax, 0x21
movzx ebx, ax
mov eax, dword [esp + 0x2c]
xor edx, edx
lea esp, [esp]
cmp esi, eax
jae 0x6ed19a
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
and ecx, dword [edi + 8]
and eax, dword [edi + 0xc]
or ecx, eax
mov ecx, dword [esp + 0x14]
jne 0x6ed17e
mov eax, dword [ecx + 0x2c]
cmp dword [esi + 0x14], eax
jne 0x6ed17e
test byte [esi + 0xc], 0x82
je 0x6ed17e
mov dl, byte [ecx + 0x24]
test dl, 0x58
je 0x6ed069
mov eax, dword [esi]
test byte [eax + 4], 3
je 0x6ed17a
mov edi, dword [ecx + 0x2c]
cmp dword [eax + 0x24], edi
mov edi, dword [esp + 0x3c]
jne 0x6ed17a
test dl, 0x18
je 0x6ed069
test byte [eax + 4], 2
jne 0x6ed17a
mov edx, dword [esi + 0x18]
test edx, edx
js 0x6ed17a
mov eax, dword [ecx + 0x10]
add edx, edx
mov ecx, dword [esi]
mov eax, dword [eax + 4]
mov dl, byte [eax + edx*8 + 8]
call fcn.00691e20
test eax, eax
je 0x6ed176
mov eax, dword [edi + 0x38]
mov ecx, 1
mov edx, dword [esp + 0x20]
mov word [edi + 0x18], cx
mov dword [edi + 0x30], ecx
mov dword [edi + 0x20], 0
mov dword [eax], esi
mov eax, dword [esp + 0x28]
add eax, ebx
mov word [edi + 0x12], ax
cmp byte [edx + 0x2b], 2
je 0x6ed0cc
mov edx, dword [esp + 0x24]
test dword [edx], 0x4000
jne 0x6ed0cc
add eax, 0x1c
jmp 0x6ed0cf
add eax, 0xffffffe7
movzx eax, ax
lea edx, [edi + 0x12]
mov word [edx], ax
test ax, ax
jns 0x6ed0e3
xor eax, eax
mov word [edi + 0x12], ax
mov eax, 0x2b
movsx ecx, bx
mov word [edi + 0x16], ax
cmp bx, ax
jl 0x6ed114
cmp ecx, 0x5c
jle 0x6ed0fe
movzx eax, bx
jmp 0x6ed143
cmp ecx, 0x4a
jle 0x6ed108
lea eax, [ebx + 1]
jmp 0x6ed140
movzx eax, byte [ecx + 0x7ff739]
add ax, bx
jmp 0x6ed140
lea eax, [ecx + 0x31]
cmp eax, 0x2b
jge 0x6ed123
mov eax, 0x2b
jmp 0x6ed143
lea eax, [ecx + 0x1f]
cmp eax, 0x2b
jge 0x6ed132
mov eax, 0x2c
jmp 0x6ed143
mov eax, 0x7ff78f
sub eax, ecx
movzx eax, byte [eax]
add ax, 0x2b
movzx eax, ax
mov ecx, dword [esp + 0xc0]
mov edx, edi
mov word [edi + 0x14], ax
mov dword [edi + 0x2c], 0x4000
or ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
or eax, dword [esp + 0xc4]
mov dword [edi], ecx
mov ecx, dword [esp + 0x1c]
mov dword [edi + 4], eax
call fcn.006eb870
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
add esi, 0x30
test edx, edx
je 0x6ed000
mov eax, edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xac
ret
mov eax, dword [esp + 0x18]
mov edi, edi
test ebp, ebp
je 0x6ed18f
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x6ed1c6
mov dl, byte [ecx + 0x24]
mov ecx, dword [ecx + 0x2c]
push eax
push dword [esp + 0x38]
call fcn.006ecbb0
add esp, 8
test eax, eax
je 0x6ed56b
test dword [ebp + 0x38], 0x100
jne 0x6ed56b
mov eax, dword [ebp + 8]
mov edx, ebp
mov ecx, dword [esp + 0x1c]
movzx esi, word [eax]
xor eax, eax
mov dword [edi + 0x18], eax
mov word [edi + 0x1c], ax
mov dword [edi + 0x30], eax
mov byte [edi + 0x11], al
mov word [edi + 0x12], ax
mov eax, dword [esp + 0xc0]
mov dword [edi], eax
mov eax, dword [esp + 0xc4]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x14]
mov word [edi + 0x16], si
mov dword [edi + 0x20], ebp
mov dword [esp + 0x28], esi
push dword [eax + 0x2c]
call fcn.006eca20
mov edx, dword [ebp + 0x38]
add esp, 4
mov ecx, edx
mov ebx, eax
and ecx, 3
mov dword [esp + 0x2c], ebx
cmp cl, 3
jne 0x6ed29a
mov eax, dword [esp + 0x38]
xor ecx, ecx
movzx eax, al
test ebx, ebx
mov dword [edi + 0x2c], 0x100
cmovne ecx, eax
lea eax, [esi + 0x10]
mov word [edi + 0x14], ax
mov eax, dword [esp + 0x20]
mov byte [edi + 0x11], cl
cmp byte [eax + 0x2b], 2
je 0x6ed264
test dword [eax + 0x1c], 0x4000
je 0x6ed26b
mov dword [edi + 0x2c], 0x2000100
mov ecx, dword [esp + 0x34]
mov edx, edi
push esi
call fcn.006ebb20
mov ecx, dword [esp + 0x20]
add esp, 4
mov edx, edi
call fcn.006eb870
mov word [edi + 0x16], si
test eax, eax
jne 0x6ed18f
mov ecx, dword [esp + 0x14]
jmp 0x6ed53d
mov ecx, dword [esp + 0x14]
test dl, 0x20
je 0x6ed2a9
xor esi, esi
xor ebx, ebx
jmp 0x6ed307
mov esi, dword [ebp + 0x40]
mov ebx, dword [ebp + 0x44]
and esi, dword [ecx + 0x38]
and ebx, dword [ecx + 0x3c]
mov dword [edi + 0x2c], 0x200
test esi, esi
jne 0x6ed2c8
cmp ebx, 0x80000000
je 0x6ed2df
mov eax, dword [ebp + 0x38]
test eax, 0x800
je 0x6ed301
test eax, 0x400
jne 0x6ed301
mov eax, esi
or eax, ebx
je 0x6ed307
push dword [ecx + 0x2c]
mov ecx, dword [esp + 0x34]
mov edx, ebp
call fcn.006ecd40
mov ecx, dword [esp + 0x18]
add esp, 4
test eax, eax
je 0x6ed30e
xor esi, esi
xor ebx, ebx
or dword [edi + 0x2c], eax
jmp 0x6ed30e
mov eax, esi
or eax, ebx
jne 0x6ed30e
mov dword [edi + 0x2c], 0x240
mov edx, dword [esp + 0x2c]
test edx, edx
jne 0x6ed37d
mov eax, dword [esp + 0x20]
test byte [eax + 0x1c], 0x80
jne 0x6ed37d
cmp dword [ebp + 0x24], edx
jne 0x6ed37d
test byte [ecx + 0x28], 2
jne 0x6ed37d
mov eax, esi
or eax, ebx
jne 0x6ed53d
test byte [ebp + 0x38], 4
jne 0x6ed53d
mov edi, dword [esp + 0x20]
mov ax, word [ebp + 0x30]
cmp ax, word [edi + 0x28]
mov edi, dword [esp + 0x3c]
jge 0x6ed53d
mov eax, dword [esp + 0x30]
test byte [eax + 0x28], 4
jne 0x6ed53d
cmp byte [0x8bbcbf], dl
je 0x6ed53d
mov eax, dword [eax]
mov eax, dword [eax]
test byte [eax + 0x50], 0x20
jne 0x6ed53d
mov eax, dword [esp + 0x38]
xor ecx, ecx
movzx eax, al
test edx, edx
cmovne ecx, eax
mov byte [edi + 0x11], cl
movsx ecx, word [ebp + 0x30]
mov eax, ecx
shl eax, 4
sub eax, ecx
mov ecx, dword [esp + 0x20]
cdq
movsx ecx, word [ecx + 0x28]
idiv ecx
mov ecx, dword [esp + 0x28]
inc eax
add eax, ecx
or esi, ebx
mov word [edi + 0x14], ax
je 0x6ed4f7
lea eax, [ecx + 0x10]
xor ecx, ecx
movzx esi, ax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
cmp dword [eax + 0x5c], ecx
jle 0x6ed493
xor edi, edi
lea ecx, [ecx]
mov ebx, dword [eax + 0x68]
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0xb4], ecx
mov edx, dword [ebx + edi]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], eax
mov dword [esp + 0x48], ebp
mov dword [esp + 0xa0], 0x69c140
test edx, edx
je 0x6ed45c
lea ecx, [esp + 0x9c]
call fcn.0068e3e0
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0x24]
test ax, ax
jne 0x6ed48f
movzx eax, word [ebx + edi + 8]
test ax, ax
jg 0x6ed46f
add esi, eax
jmp 0x6ed47a
dec esi
test byte [ebx + edi + 0xc], 0x82
je 0x6ed47a
sub esi, 0x13
mov eax, dword [esp + 0x30]
inc ecx
add edi, 0x30
mov dword [esp + 0x24], ecx
cmp ecx, dword [eax + 0x5c]
jl 0x6ed3e0
mov edi, dword [esp + 0x3c]
movzx ebx, word [edi + 0x14]
movsx ecx, bx
movsx edx, si
cmp bx, si
jl 0x6ed4c7
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x6ed4ad
mov eax, ebx
jmp 0x6ed4ef
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x6ed4b9
lea eax, [ebx + 1]
jmp 0x6ed4ec
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
add ax, bx
jmp 0x6ed4ec
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x6ed4d3
movzx eax, si
jmp 0x6ed4ef
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x6ed4e0
inc esi
movzx eax, si
jmp 0x6ed4ef
sub edx, ecx
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
add ax, si
movzx eax, ax
mov ecx, dword [esp + 0x28]
mov word [edi + 0x14], ax
push ecx
mov ecx, dword [esp + 0x38]
mov edx, edi
call fcn.006ebb20
mov ecx, dword [esp + 0x18]
add esp, 4
test byte [ecx + 0x24], 0x10
je 0x6ed516
cmp dword [ebp + 0x28], 0
jne 0x6ed529
mov ecx, dword [esp + 0x1c]
mov edx, edi
call fcn.006eb870
mov ecx, dword [esp + 0x14]
mov edx, eax
jmp 0x6ed52d
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
mov word [edi + 0x16], ax
test edx, edx
jne 0x6ed18d
mov esi, dword [esp + 0x1c]
mov edx, ecx
push 0
push ebp
mov ecx, esi
mov byte [esi + 0x10], 0
call fcn.006ebf90
add esp, 8
mov dword [esp + 0x18], eax
cmp byte [esi + 0x10], 1
jne 0x6ed56f
mov esi, dword [esp + 0x20]
or dword [esi + 0x1c], 0x100
jmp 0x6ed56f
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
test byte [ecx + 0x28], 2
je 0x6ed57d
xor ebp, ebp
jmp 0x6ed580
mov ebp, dword [ebp + 0x14]
inc dword [esp + 0x38]
test eax, eax
je 0x6ed1a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xac
ret