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

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x6ec8ee
cmp byte [eax + 0x61], 0
je 0x6ec8ee
mov eax, dword [eax + 0x78]
mov ecx, dword [ebx + 4]
mov edx, 1
call fcn.004faf10
movzx eax, byte [ebx + 0xc]
cmp eax, 7
ja case.default.0x6ec6e1
jmp dword [eax*4 + 0x6ec6e8]
mov eax, dword [ebx + 0x1c]
mov edx, dword [eax + 0x1b8]
mov edx, dword [edx + 0x48]
sub edx, dword [eax + 0x50]
sub edx, 4
sub edx, dword [ebx + 0x14]
call fcn.004fbd60
mov edx, dword [ebx + 0x1c]
mov edx, dword [edx + 0x1b8]
mov ecx, dword [edx + 0x54]
mov eax, dword [ebx + 0x1c]
sub ecx, dword [eax + 0x54]
sar ecx, 1
jns 0x6ec73b
adc ecx, 0
add ecx, dword [edx + 0x4c]
dec ecx
mov edx, ecx
call fcn.004fbd94
jmp case.default.0x6ec6e1
mov eax, dword [ebx + 0x1c]
mov edx, dword [eax + 0x1b8]
mov edx, dword [edx + 0x48]
call fcn.004fbd60
mov eax, dword [ebx + 0x1c]
mov edx, dword [eax + 0x1b8]
mov edx, dword [edx + 0x4c]
sub edx, dword [eax + 0x54]
sub edx, dword [ebx + 0x14]
call fcn.004fbd94
jmp case.default.0x6ec6e1
mov edx, dword [ebx + 0x1c]
mov edx, dword [edx + 0x1b8]
mov ecx, dword [edx + 0x50]
mov eax, dword [ebx + 0x1c]
sub ecx, dword [eax + 0x50]
sar ecx, 1
jns 0x6ec791
adc ecx, 0
add ecx, dword [edx + 0x48]
mov edx, ecx
call fcn.004fbd60
mov eax, dword [ebx + 0x1c]
mov edx, dword [eax + 0x1b8]
mov edx, dword [edx + 0x4c]
sub edx, dword [eax + 0x54]
sub edx, dword [ebx + 0x14]
call fcn.004fbd94
jmp case.default.0x6ec6e1
mov eax, dword [ebx + 0x1c]
mov edx, dword [eax + 0x1b8]
mov ecx, dword [edx + 0x48]
add ecx, dword [edx + 0x50]
sub ecx, dword [eax + 0x50]
mov edx, ecx
call fcn.004fbd60
mov eax, dword [ebx + 0x1c]
mov edx, dword [eax + 0x1b8]
mov edx, dword [edx + 0x4c]
sub edx, dword [eax + 0x54]
sub edx, dword [ebx + 0x14]
call fcn.004fbd94
jmp case.default.0x6ec6e1
mov eax, dword [ebx + 0x1c]
mov edx, dword [eax + 0x1b8]
mov edx, dword [edx + 0x48]
sub edx, dword [eax + 0x50]
sub edx, 4
sub edx, dword [ebx + 0x14]
call fcn.004fbd60
mov eax, dword [ebx + 0x1c]
mov edx, dword [eax + 0x1b8]
mov edx, dword [edx + 0x4c]
add edx, 3
call fcn.004fbd94
jmp case.default.0x6ec6e1
mov eax, dword [ebx + 0x1c]
mov edx, dword [eax + 0x1b8]
mov edx, dword [edx + 0x48]
call fcn.004fbd60
mov eax, dword [ebx + 0x1c]
mov edx, dword [eax + 0x1b8]
mov ecx, dword [edx + 0x4c]
add ecx, dword [edx + 0x54]
add ecx, dword [ebx + 0x14]
mov edx, ecx
call fcn.004fbd94
jmp case.default.0x6ec6e1
mov edx, dword [ebx + 0x1c]
mov edx, dword [edx + 0x1b8]
mov ecx, dword [edx + 0x50]
mov eax, dword [ebx + 0x1c]
sub ecx, dword [eax + 0x50]
sar ecx, 1
jns 0x6ec864
adc ecx, 0
add ecx, dword [edx + 0x48]
mov edx, ecx
call fcn.004fbd60
mov eax, dword [ebx + 0x1c]
mov edx, dword [eax + 0x1b8]
mov ecx, dword [edx + 0x4c]
add ecx, dword [edx + 0x54]
add ecx, dword [ebx + 0x14]
mov edx, ecx
call fcn.004fbd94
jmp case.default.0x6ec6e1
mov eax, dword [ebx + 0x1c]
mov edx, dword [eax + 0x1b8]
mov ecx, dword [edx + 0x48]
add ecx, dword [edx + 0x50]
sub ecx, dword [eax + 0x50]
mov edx, ecx
call fcn.004fbd60
mov eax, dword [ebx + 0x1c]
mov edx, dword [eax + 0x1b8]
mov ecx, dword [edx + 0x4c]
add ecx, dword [edx + 0x54]
add ecx, dword [ebx + 0x14]
mov edx, ecx
call fcn.004fbd94
mov eax, dword [ebx + 0x20]
mov eax, dword [eax + 0x3c]
mov edx, dword [eax + 0x38]
mov eax, dword [ebx + 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x84]
cmp dword [ebx + 4], 0
je 0x6ec8ee
mov eax, dword [ebx + 0x1c]
mov edx, dword [eax + 0x50]
mov ecx, dword [eax + 0x78]
mov ecx, dword [ecx + 0xc]
sub ecx, 4
cmp edx, ecx
setge dl
call fcn.00519f54
pop ebx
ret