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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0xf9f500
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0xfcf584]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0xfcf584]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 1
mov esi, ecx
mov edi, edx
xor ebx, ebx
push 0xfbdf38
lea ecx, [esp + 0x50]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.00eb2a60
lea ecx, [esp + 0x48]
mov dword [esp + 0x90], ebx
push ecx
mov ecx, esi
lea ebx, [esp + 0x20]
call fcn.00eb4580
add esp, 4
mov byte [esp + 0x90], 2
cmp dword [esp + 0x5c], 0x10
jb 0xec6711
mov edx, dword [esp + 0x48]
push edx
call fcn.00f325e4
add esp, 4
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
xor ebx, ebx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
jne 0xec677d
mov dword [esp + 0x90], 0xffffffff
cmp esi, ebx
je 0xec6773
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
push ecx
lea edx, [esp + 0x2c]
push edx
push eax
push esi
call fcn.00eb4c10
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00f325e4
add esp, 0x14
mov eax, 0x57
jmp 0xec68f5
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
push ebx
push esi
call fcn.00eb2c50
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], ebx
jb 0xec6795
mov edi, dword [edi]
mov byte [edi], bl
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x14], 1
cmp eax, 1
jbe 0xec68a0
mov esi, 0x1c
push 1
mov edi, 0xf
push 0xfbdf38
lea ecx, [esp + 0x34]
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
call fcn.00eb2a60
mov byte [esp + 0x90], 3
mov ecx, dword [esp + 0x1c]
lea eax, [esi + ecx]
push eax
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x6c]
push eax
call fcn.00ebd720
add esp, 0xc
push 0xffffffffffffffff
push ebx
mov byte [esp + 0x98], 4
mov ecx, dword [esp + 0x20]
push eax
call fcn.00eb42a0
mov byte [esp + 0x90], 3
cmp dword [esp + 0x78], 0x10
jb 0xec683e
mov ecx, dword [esp + 0x64]
push ecx
call fcn.00f325e4
add esp, 4
mov byte [esp + 0x90], 2
cmp dword [esp + 0x40], 0x10
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
jb 0xec6866
mov edx, dword [esp + 0x2c]
push edx
call fcn.00f325e4
add esp, 4
mov ecx, dword [esp + 0x20]
inc dword [esp + 0x14]
mov dword [esp + 0x40], edi
mov edi, dword [esp + 0x1c]
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
add esi, 0x1c
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
cmp dword [esp + 0x14], eax
jb 0xec67ca
mov dword [esp + 0x90], 0xffffffff
cmp edi, ebx
je 0xec68f3
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], ecx
mov esi, edi
cmp edi, ecx
je 0xec68ea
lea ecx, [ecx]
cmp dword [esi + 0x14], 0x10
jb 0xec68d1
mov edx, dword [esi]
push edx
call fcn.00f325e4
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
add esi, 0x1c
cmp esi, dword [esp + 0x18]
jne 0xec68c0
mov edi, dword [esp + 0x1c]
push edi
call fcn.00f325e4
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00f32239
mov esp, ebp
pop ebp
ret