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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 0xc]
jbe 0x6ece5f9c
sub esp, 0x84
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x58]
mov dword [esp + 0x80], eax
test eax, eax
je 0x6ece59ed
mov ecx, dword [esp + 0x8c]
cmp ecx, 0x10
jae 0x6ece59e5
mov edx, dword [eax + 0x38]
test edx, edx
sete dl
mov ebx, dword [eax + 0x3c]
test ebx, ebx
sete bl
lea ebp, [eax + 0x34]
and ebx, edx
test bl, bl
je 0x6ece5979
mov dword [esp + 0x74], ebp
mov eax, dword [esp + 0x88]
test byte [eax], al
nop
mov dword [esp], eax
call fcn.6ecc9b20
mov eax, dword [esp + 0x88]
lea ecx, [eax + 8]
mov dword [esp], ecx
call fcn.6ecea100
lea edi, [esp + 0x5c]
lea esi, [esp + 4]
call fcn.6ed1edbe
mov edi, dword [esp + 0x74]
lea esi, [esp + 0x5c]
call fcn.6ed1edbe
nop
nop
mov eax, dword [esp + 0x88]
mov dword [esp], eax
call fcn.6ecc9d20
mov ecx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x74]
mov dword [esp], ebp
mov dword [esp + 4], ecx
call fcn.6ece9b60
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test eax, eax
je 0x6ece59dd
mov edx, dword fs:[0x14]
mov edx, dword [edx]
mov edx, dword [edx + 0x18]
mov edx, dword [edx + 0x58]
test edx, edx
je 0x6ece59d0
mov ebx, dword [edx + 0x708]
test ebx, ebx
je 0x6ece59d0
lea ebp, [ebx - 1]
cmp ebp, 0x80
jae 0x6ece5f8f
mov ebx, dword [edx + ebx*4 + 0x708]
mov dword [edx + 0x708], ebp
jmp 0x6ece59d2
xor ebx, ebx
test ebx, ebx
je 0x6ece59df
xor edx, edx
jmp 0x6ece5b1a
xor ebx, ebx
mov edx, eax
mov ebp, ecx
jmp 0x6ece59f3
xor edx, edx
xor ebx, ebx
xor ebp, ebp
jmp 0x6ece59f3
xor edx, edx
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x58], ebx
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0x88]
test byte [eax], al
nop
mov dword [esp], eax
call fcn.6ecc9b20
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x6ece5a24
xor edx, edx
mov ecx, dword [esp + 0x38]
jmp 0x6ece5ace
mov eax, dword [esp + 0x88]
lea ecx, [eax + 8]
mov dword [esp + 0x7c], ecx
mov dword [esp], ecx
mov edx, dword [esp + 0x8c]
mov dword [esp + 4], edx
call fcn.6ece9190
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test eax, eax
je 0x6ece5a55
xor edx, edx
jmp 0x6ece5ace
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp + 4], ecx
call fcn.6ece61f0
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 8]
test al, al
jne 0x6ece5a9f
nop
nop
mov eax, dword [esp + 0x88]
mov dword [esp], eax
call fcn.6ecc9d20
mov dword [esp + 0x94], 0
add esp, 0x84
ret
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
call fcn.6ece9190
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test eax, eax
je 0x6ece5f79
mov edx, dword [esp + 0x44]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], edx
mov ebx, dword [esp + 0x58]
test ebx, ebx
jne 0x6ece5af5
mov eax, dword [esp + 0x88]
mov dword [esp], eax
call fcn.6ece57c0
mov ebx, dword [esp + 4]
mov dword [esp + 0x58], ebx
nop
nop
mov eax, dword [esp + 0x88]
mov dword [esp], eax
call fcn.6ecc9d20
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x58]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x44], edx
lea ebp, [0x6ee776a8]
mov dword [esp], ebp
call fcn.6ecc2500
mov eax, dword [esp + 4]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x30], ecx
nop
lea edx, [0x6ee77144]
mov dword [esp], edx
call fcn.6ecc23c0
movzx eax, byte [esp + 4]
test al, al
je 0x6ece5b64
xor eax, eax
jmp 0x6ece5bb1
nop
lea eax, [0x6ee777c0]
mov dword [esp], eax
call fcn.6ecc2680
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x38]
add eax, edx
adc ecx, 0
mov ebx, dword [esp + 0x30]
cmp ebx, ecx
xchg ebp, ebx
setb bl
xchg ebp, ebx
mov esi, dword [esp + 0x24]
cmp eax, esi
xchg edi, ebx
seta bl
xchg edi, ebx
cmp ebx, ecx
sete cl
and ecx, edi
or ecx, ebp
test cl, cl
je 0x6ece5baf
sub eax, esi
jmp 0x6ece5bb1
xor eax, eax
mov dword [esp + 0x48], eax
lea ecx, [0x6ee77040]
mov dword [esp], ecx
call fcn.6ecc2680
mov eax, dword [esp + 4]
cmp eax, 0xffffffff
setne cl
mov edx, dword [esp + 8]
cmp edx, 0xffffffff
setne bl
or ebx, ecx
test bl, bl
je 0x6ece5c74
mov ecx, dword [esp + 0x44]
test ecx, ecx
ja 0x6ece5bfb
mov ecx, dword [esp + 0x80]
test ecx, ecx
mov eax, dword [esp + 0x48]
jmp 0x6ece5c81
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], edx
call fcn.6ecdfa40
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x44]
add eax, edx
adc ecx, 0
mov ebx, dword [esp + 0x34]
cmp ebx, ecx
setb cl
sete bl
mov ebp, dword [esp + 0x20]
cmp eax, ebp
xchg esi, ebx
seta bl
xchg esi, ebx
and esi, ebx
or ecx, esi
test cl, cl
je 0x6ece5c65
sub eax, ebp
cmp eax, edx
jb 0x6ece5c41
mov eax, edx
mov ecx, dword [esp + 0x48]
cmp ecx, eax
jae 0x6ece5c54
mov ecx, dword [esp + 0x80]
test ecx, ecx
jmp 0x6ece5c81
mov edx, dword [esp + 0x80]
test edx, edx
mov ecx, edx
mov eax, dword [esp + 0x48]
jmp 0x6ece5c81
mov ecx, dword [esp + 0x80]
test ecx, ecx
mov eax, dword [esp + 0x48]
jmp 0x6ece5c81
mov ecx, dword [esp + 0x80]
test ecx, ecx
mov eax, dword [esp + 0x48]
je 0x6ece5d65
test eax, eax
jbe 0x6ece5d65
mov dword [esp + 0x48], eax
nop
call fcn.6ed1f5a0
mov eax, dword [esp + 0x80]
add eax, 0x948
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 4]
mov ebx, dword [esp]
mov dword [esp + 0x1c], ebx
mov dword [esp], eax
mov byte [esp + 4], 3
mov dword [esp + 0xc], edx
mov dword [esp + 8], ebx
call fcn.6ecd8d00
mov eax, dword [esp + 0x88]
test byte [eax], al
movzx ecx, byte [esp + 0x10]
mov byte [esp + 0x1b], cl
lea edx, [eax + 8]
mov dword [esp], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 4], edx
lea edx, [0x6edbb574]
mov dword [esp + 8], edx
call fcn.6ece0660
nop
call fcn.6ed1f5a0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp]
movzx ebx, byte [esp + 0x1b]
test bl, bl
je 0x6ece5d43
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov byte [esp + 4], 3
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
call fcn.6ecd8ed0
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x1c]
sub edx, ecx
mov ecx, dword [esp + 0x28]
sbb eax, ecx
lea ecx, [0x6ee77050]
mov dword [esp], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], edx
call fcn.6ecc2520
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
movzx ecx, byte [esp + 0x90]
mov byte [esp + 8], cl
movzx edx, byte [esp + 0x91]
mov byte [esp + 9], dl
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xc], edx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x10], ebx
call fcn.6ece5fb0
mov eax, dword [esp + 0x8c]
shl eax, 0xd
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x6ece5e0b
xor edx, edx
sub edx, ecx
mov dword [esp + 0x54], edx
mov ebx, 0
sbb ebx, 0
mov dword [esp + 0x50], ebx
mov ebp, dword [esp + 0x4c]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.6ecd3210
lea eax, [0x6ee777a0]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
call fcn.6ecee5a0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
sub eax, ecx
xor ebx, ebx
sub ebx, eax
mov eax, 0
sbb eax, 0
lea ebp, [0x6ee777a8]
mov dword [esp], ebp
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
call fcn.6ecee5a0
movzx eax, byte [esp + 0x90]
test al, al
jne 0x6ece5e59
lea eax, [0x6ee77798]
mov dword [esp], eax
mov dword [esp + 8], 0
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
call fcn.6ecee5a0
lea eax, [0x6ee78820]
mov dword [esp], eax
call fcn.6ecee6e0
mov eax, dword [esp + 4]
mov dword [esp + 0x70], eax
test byte [eax], al
xor ecx, ecx
mov edx, dword [esp + 0x38]
sub ecx, edx
mov dword [esp + 0x54], ecx
mov ebx, 0
sbb ebx, 0
mov dword [esp + 0x50], ebx
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], edx
call fcn.6ecc2520
mov eax, dword [esp + 0x70]
lea ecx, [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
call fcn.6ecc2520
movzx eax, byte [esp + 0x90]
cmp al, 1
ja 0x6ece5f0f
test al, al
jne 0x6ece5eee
mov eax, dword [esp + 0x70]
add eax, 0x10
mov dword [esp], eax
mov dword [esp + 8], 0
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
call fcn.6ecc2520
jmp 0x6ece5f59
mov eax, dword [esp + 0x70]
add eax, 0x18
mov dword [esp], eax
mov dword [esp + 8], 0
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
call fcn.6ecc2520
jmp 0x6ece5f59
cmp al, 2
je 0x6ece5f3a
cmp al, 3
jne 0x6ece5f59
mov eax, dword [esp + 0x70]
add eax, 0x20
mov dword [esp], eax
mov dword [esp + 8], 0
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
call fcn.6ecc2520
jmp 0x6ece5f59
mov eax, dword [esp + 0x70]
add eax, 0x28
mov dword [esp], eax
mov dword [esp + 8], 0
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
call fcn.6ecc2520
lea eax, [0x6ee78820]
mov dword [esp], eax
call fcn.6ecee7e0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x94], eax
add esp, 0x84
ret
lea eax, [0x6edb9208]
mov dword [esp], eax
mov dword [esp + 4], 0x2b
call fcn.6ecf4a10
mov eax, ebp
mov ecx, pe_nt_image_headers32
call fcn.6ed1e790
nop
call fcn.6ed1c0e0
jmp fcn.6ece58b0