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

Disassembly:
sub esp, 0x5c
push ebx
push ebp
mov ebp, dword [esp + 0x68]
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x88c9c]
push esi
mov esi, dword [ebp + 0x88c98]
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ecx
jne 0x6ecc57
mov eax, dword [esp + 0x74]
mov dl, byte [eax + 0xc]
test dl, dl
mov dword [esp + 0x48], ebx
jns 0x6ecc5f
mov dword [esp + 0x48], 1
mov edi, dword [ebp + 0x7660]
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov dword [edx], ebx
mov dword [eax], ebx
cmp dword [ebp + 0x14], ebx
mov dword [esp + 0x40], edi
je 0x6ecfe6
mov edx, dword [ebp + 0xe0]
cmp edx, ebx
je 0x6ece43
mov eax, dword [esp + 0x74]
mov eax, dword [eax + 0xc]
mov edx, dword [edx + 0xc]
and eax, 0x80
and edx, 0x80
cmp eax, edx
je 0x6ece43
neg eax
sbb eax, eax
and eax, 0x150
add eax, 0x30
mov dword [esp + 0x60], eax
xor eax, eax
mov dword [esp + 0x70], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edi
lea edx, [ebp + 0x8899c]
lea ecx, [ecx]
mov ecx, dword [ebp + 0xe0]
mov esi, dword [ebp + 0x88c9c]
mov edi, dword [esp + 0x70]
mov ebx, dword [ebp + 0x88]
add esi, edi
add ecx, eax
mov eax, dword [ebp + 0x88c98]
add eax, edi
movzx edi, byte [ecx + 0x12]
lea edi, [edi + ebx + 1]
sar edi, 1
lea edi, [edi + edi*4]
lea edi, [ebp + edi*4 + 0x88d90]
mov dword [edx - 8], edi
movzx edi, byte [ecx + 0x13]
mov ebx, dword [ebp + 0x94]
lea edi, [edi + ebx + 1]
sar edi, 1
lea edi, [edi + edi*4]
lea edi, [ebp + edi*4 + 0x88d90]
mov dword [edx - 4], edi
movzx edi, byte [ecx + 0x14]
mov ebx, dword [ebp + 0x98]
lea edi, [edi + ebx + 1]
sar edi, 1
lea edi, [edi + edi*4]
lea edi, [ebp + edi*4 + 0x88d90]
mov dword [edx], edi
mov edi, dword [esp + 0x74]
test byte [edi + 0xc], 7
jne 0x6ecdbc
test byte [ecx + 0xc], 7
jne 0x6ecdbc
mov edi, dword [esp + 0x20]
xor ecx, ecx
add esi, 0x20
mov dword [esp + 0x44], edi
nop
cmp byte [edi], 0
jne 0x6ecd70
mov bl, byte [edi - 1]
test bl, bl
jne 0x6ecd70
xor edi, edi
jmp 0x6ecd75
mov edi, 1
inc edi
mov word [eax + ecx*2], di
mov ebx, dword [edx - 8]
movsx edi, di
mov di, word [ebx + edi*4]
mov word [esi - 0x20], di
movsx edi, word [eax + ecx*2]
mov ebx, dword [edx - 4]
mov di, word [ebx + edi*4]
mov word [esi - 0x10], di
movsx edi, word [eax + ecx*2]
mov ebx, dword [edx]
mov di, word [ebx + edi*4]
mov word [esi], di
mov edi, dword [esp + 0x44]
inc ecx
add edi, 0x60
add esi, 2
cmp ecx, 4
mov dword [esp + 0x44], edi
jl 0x6ecd60
xor ebx, ebx
jmp 0x6ecdf5
mov ecx, 4
mov word [eax + 6], cx
mov word [eax + 4], cx
mov word [eax + 2], cx
mov word [eax], cx
add esi, ecx
mov eax, 3
xor ebx, ebx
lea esp, [esp]
mov word [esi + 2], bx
mov word [esi], bx
mov word [esi - 2], bx
mov word [esi - 4], bx
add esi, 0x10
dec eax
jne 0x6ecde0
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x40]
add eax, 0x20
mov dword [esp + 0x1c], eax
add dword [esp + 0x70], 8
mov eax, dword [esp + 0x60]
add dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
add edx, 0x18
cmp eax, 0x40
jl 0x6eccd0
mov edx, dword [ebp + 0xe0]
movzx eax, byte [edx + 0x12]
mov edx, dword [esp + 0x78]
mov dword [ebp + 0x891a0], eax
mov dword [edx], 1
mov edx, dword [ebp + 0xe4]
cmp edx, ebx
je 0x6ecfe6
mov eax, dword [esp + 0x74]
test byte [eax + 0xc], 0x80
jne 0x6ecfe6
mov al, byte [edx + 0xc]
test al, al
jns 0x6ecfe6
cmp dword [ebp + 0xf0], ebx
jne 0x6ecfe6
movzx eax, byte [edx + 0x12]
mov ebx, dword [ebp + 0x88]
lea eax, [eax + ebx + 1]
sar eax, 1
lea eax, [eax + eax*4]
lea eax, [ebp + eax*4 + 0x88d90]
mov dword [ebp + 0x889b8], eax
movzx eax, byte [edx + 0x13]
mov ebx, dword [ebp + 0x94]
lea eax, [eax + ebx + 1]
sar eax, 1
lea eax, [eax + eax*4]
lea eax, [ebp + eax*4 + 0x88d90]
mov dword [ebp + 0x889bc], eax
movzx eax, byte [edx + 0x14]
mov ebx, dword [ebp + 0x98]
lea eax, [eax + ebx + 1]
sar eax, 1
lea eax, [eax + eax*4]
lea eax, [ebp + eax*4 + 0x88d90]
mov dword [ebp + 0x889c0], eax
mov eax, dword [esp + 0x74]
test byte [eax + 0xc], 7
jne 0x6ecf5a
test byte [edx + 0xc], 7
jne 0x6ecf5a
xor eax, eax
add ecx, 0x1c0
cmp byte [eax + edi], 0
jne 0x6ecf0e
mov edx, dword [ebp + 0xc4]
shl edx, 1
mov ebx, eax
sub ebx, edx
cmp byte [ebx + edi], 0
jne 0x6ecf0e
xor edx, edx
jmp 0x6ecf13
mov edx, 1
inc edx
mov dword [esi + eax*4 + 0x90], edx
mov ebx, dword [ebp + 0x889b8]
mov edx, dword [ebx + edx*4]
mov dword [ecx - 0x10], edx
mov edx, dword [esi + eax*4 + 0x90]
mov ebx, dword [ebp + 0x889bc]
mov edx, dword [ebx + edx*4]
mov dword [ecx], edx
mov edx, dword [esi + eax*4 + 0x90]
mov ebx, dword [ebp + 0x889c0]
mov edx, dword [ebx + edx*4]
mov dword [ecx + 0x10], edx
inc eax
add ecx, 4
cmp eax, 4
jl 0x6ecef2
jmp 0x6ecfda
mov eax, 3
mov dword [esi + 0x9c], eax
mov dword [esi + 0x98], eax
mov dword [esi + 0x94], eax
mov dword [esi + 0x90], eax
mov eax, dword [ebp + 0x889b8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 0x1bc], eax
mov dword [ecx + 0x1b8], eax
mov dword [ecx + 0x1b4], eax
mov dword [ecx + 0x1b0], eax
mov edx, dword [ebp + 0x889bc]
mov eax, dword [edx + 0xc]
mov dword [ecx + 0x1cc], eax
mov dword [ecx + 0x1c8], eax
mov dword [ecx + 0x1c4], eax
mov dword [ecx + 0x1c0], eax
mov eax, dword [ebp + 0x889c0]
mov eax, dword [eax + 0xc]
mov dword [ecx + 0x1dc], eax
mov dword [ecx + 0x1d8], eax
mov dword [ecx + 0x1d4], eax
mov dword [ecx + 0x1d0], eax
mov ecx, dword [esp + 0x7c]
mov dword [ecx], 1
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x60], esi
jmp 0x6ecff0
xor ebx, ebx
cmp esi, ebx
jne 0x6ed000
mov edx, dword [ebp + 0xe0]
mov dword [esp + 0x78], edx
jmp 0x6ed00a
mov eax, dword [ebp + 0xe4]
mov dword [esp + 0x78], eax
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x48]
lea ebx, [esi + esi*4]
shl ebx, 4
add ebx, edx
mov edx, esi
imul edx, edx, 0xf0
add edx, ecx
lea ecx, [esi + esi*2]
lea edi, [ebp + ecx*4 + 0x88994]
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x38], edi
jne 0x6ed04c
mov eax, dword [esp + 0x7c]
test dword [eax], esi
mov dword [esp + 0x44], ecx
je 0x6ed054
mov dword [esp + 0x44], 1
mov eax, dword [esp + 0x78]
cmp eax, ecx
jne 0x6ed06c
mov dword [ebx + 0xc], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 4], ecx
mov dword [ebx], ecx
jmp 0x6ed496
movzx ecx, byte [eax + 0x12]
mov eax, dword [ebp + 0x88]
lea eax, [ecx + eax + 1]
sar eax, 1
lea ecx, [eax + eax*4]
lea eax, [ebp + ecx*4 + 0x88d90]
mov ecx, dword [esp + 0x78]
mov dword [edi], eax
movzx eax, byte [ecx + 0x13]
mov ecx, dword [ebp + 0x94]
lea eax, [eax + ecx + 1]
sar eax, 1
lea eax, [eax + eax*4]
lea ecx, [ebp + eax*4 + 0x88d90]
mov eax, dword [esp + 0x78]
mov dword [edi + 4], ecx
movzx ecx, byte [eax + 0x14]
mov eax, dword [ebp + 0x98]
lea eax, [ecx + eax + 1]
sar eax, 1
lea ecx, [eax + eax*4]
lea eax, [ebp + ecx*4 + 0x88d90]
mov ecx, dword [esp + 0x74]
mov dword [edi + 8], eax
mov dword [ebp + esi*4 + 0x891a0], 0xffffffff
mov ecx, dword [ecx + 0xc]
test cl, 7
jne 0x6ed446
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 0xc]
test al, 7
jne 0x6ed446
test esi, esi
mov dword [esp + 0x58], 0xffffffff
je 0x6ed19e
and al, 0x18
neg al
mov edi, dword [esp + 0x74]
mov dword [esp + 0x20], 5
mov dword [esp + 0x5c], 1
sbb eax, eax
inc eax
and cl, 0x18
neg cl
sbb ecx, ecx
inc ecx
or eax, ecx
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 4]
shr eax, 0xa
or eax, dword [edi + 4]
mov ecx, 0xc
shr eax, 1
and eax, 0xfff3
mov dword [esp + 0x4c], eax
xor eax, eax
test esi, esi
sete al
xor edi, edi
add edx, 0x10
mov dword [esp + 0x18], ecx
mov dword [esp + 0x70], 0
mov dword [esp + 0x3c], edi
mov dword [esp + 0x14], edx
inc eax
shl ecx, 2
mov dword [esp + 0x68], eax
mov dword [esp + 0x40], ecx
jmp 0x6ed180
mov edx, dword [esp + 0x20]
test dword [esp + 0x4c], edx
je 0x6ed1ea
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x14]
mov dword [ebx + eax*4], 2
jmp 0x6ed3c4
and al, 0x28
neg al
mov edi, dword [esp + 0x74]
mov dword [esp + 0x20], 0x11
mov dword [esp + 0x5c], 4
sbb eax, eax
inc eax
and cl, 0x28
neg cl
sbb ecx, ecx
inc ecx
or eax, ecx
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 4]
shr eax, 5
or eax, dword [edi + 4]
mov ecx, 3
shr eax, 1
and eax, 0xf0f
jmp 0x6ed14b
mov eax, dword [esp + 0x58]
test eax, eax
jl 0x6ed204
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x14]
mov dword [ebx + ecx*4], eax
mov eax, ecx
jmp 0x6ed3c4
mov edx, dword [esp + 0x44]
mov esi, dword [ebp + 0x18]
mov eax, 2
sub eax, edx
mov edx, dword [esp + 0x78]
mov ecx, dword [edx + 0x18]
mov dword [esp + 0x2c], ecx
add ecx, 0xa0
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 0x18]
xor ecx, ecx
shl eax, 1
cmp esi, 1
sete cl
mov esi, 1
mov dword [esp + 0x50], eax
mov dword [esp + 0x10], 0
test esi, ecx
mov dword [esp + 0x34], ecx
jl 0x6ed3ad
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x18]
add ecx, edi
add ecx, ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x40]
add ecx, ebx
mov dword [esp + 0x1c], ecx
mov cl, byte [edi + edx + 0xa0]
mov ebx, dword [esp + 0x30]
cmp cl, byte [ebx]
jne 0x6ed378
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x6ed2c1
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
xor ecx, ecx
test eax, eax
mov eax, dword [esp + 0x2c]
sete cl
add eax, 0xa0
shl ecx, 4
add ecx, edi
add ecx, eax
mov al, byte [edi + edx + 0xb0]
cmp al, byte [ecx + ebx]
mov eax, dword [esp + 0x50]
jne 0x6ed378
mov cl, byte [edi + edx + 0xa0]
test cl, cl
jl 0x6ed316
mov ecx, dword [esp + 0x1c]
movsx esi, word [ecx]
mov ecx, dword [esp + 0x3c]
movsx ebx, word [ecx + edx]
sub ebx, esi
add ebx, 3
cmp ebx, 7
jb 0x6ed2ef
mov esi, 1
jmp 0x6ed378
mov esi, dword [esp + 0x1c]
movsx esi, word [esi + 2]
movsx ecx, word [ecx + edx + 2]
sub ecx, esi
lea ecx, [ecx + eax - 1]
lea esi, [eax + eax - 1]
cmp ecx, esi
jb 0x6ed314
mov esi, 1
jmp 0x6ed378
xor esi, esi
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x6ed378
mov cl, byte [edi + edx + 0xb0]
test cl, cl
jl 0x6ed378
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
xor ecx, ecx
test ebx, ebx
sete cl
shl ecx, 4
add ecx, edi
add ecx, esi
mov esi, dword [esp + 0x2c]
movsx ebx, word [esi + ecx*4]
lea esi, [esi + ecx*4]
movsx ecx, word [edx + edi*4 + 0x40]
sub ecx, ebx
add ecx, 3
cmp ecx, 7
jb 0x6ed360
mov esi, 1
jmp 0x6ed378
movsx esi, word [esi + 2]
movsx ecx, word [edx + edi*4 + 0x42]
sub ecx, esi
lea esi, [eax + eax - 1]
lea ecx, [ecx + eax - 1]
cmp ecx, esi
sbb esi, esi
inc esi
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x30]
add ebx, 0x40
add ecx, 0x10
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x30], ecx
mov ecx, esi
and ecx, ebx
cmp dword [esp + 0x10], ecx
jle 0x6ed273
mov ebx, dword [esp + 0x64]
mov ecx, dword [esp + 0x54]
test ecx, ecx
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x14]
mov dword [ebx + eax*4], esi
je 0x6ed3c4
mov dword [esp + 0x58], esi
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0x20]
shl esi, cl
mov ecx, dword [ebx + eax*4]
test ecx, ecx
mov dword [esp + 0x20], esi
je 0x6ed403
mov esi, dword [esp + 0x38]
mov esi, dword [esi]
mov ecx, dword [esi + ecx*4]
mov esi, dword [esp + 0x38]
mov dword [edx - 0x10], ecx
mov esi, dword [esi + 4]
mov ecx, dword [ebx + eax*4]
mov ecx, dword [esi + ecx*4]
mov esi, dword [esp + 0x38]
mov dword [edx], ecx
mov ecx, dword [ebx + eax*4]
mov esi, dword [esi + 8]
mov ecx, dword [esi + ecx*4]
jmp 0x6ed40b
or ecx, 0xffffffff
mov dword [edx], ecx
mov dword [edx - 0x10], ecx
mov esi, dword [esp + 0x3c]
mov dword [edx + 0x10], ecx
mov ecx, dword [esp + 0x5c]
add edi, ecx
shl ecx, 2
add esi, ecx
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x40]
inc eax
add esi, ecx
add edx, 4
cmp eax, 4
mov dword [esp + 0x70], eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x14], edx
jl 0x6ed180
mov esi, dword [esp + 0x60]
jmp 0x6ed496
mov ecx, dword [esp + 0x44]
and ecx, esi
mov eax, 4
sub eax, ecx
mov dword [ebx + 0xc], eax
mov dword [ebx + 8], eax
mov dword [ebx + 4], eax
mov dword [ebx], eax
mov ecx, dword [edi]
mov eax, dword [ecx + eax*4]
mov dword [edx + 0xc], eax
mov dword [edx + 8], eax
mov dword [edx + 4], eax
mov dword [edx], eax
mov ecx, dword [edi + 4]
mov eax, dword [ebx]
mov eax, dword [ecx + eax*4]
mov dword [edx + 0x1c], eax
mov dword [edx + 0x18], eax
mov dword [edx + 0x14], eax
mov dword [edx + 0x10], eax
mov eax, dword [ebx]
mov ecx, dword [edi + 8]
mov eax, dword [ecx + eax*4]
mov dword [edx + 0x2c], eax
mov dword [edx + 0x28], eax
mov dword [edx + 0x24], eax
mov dword [edx + 0x20], eax
inc esi
cmp esi, 2
mov dword [esp + 0x60], esi
jl 0x6ecfee
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret