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

Disassembly:
mov eax, 0xd15648
call fcn.00cd4307
mov ecx, dword [0xd2a4f8]
sub esp, 0x48
mov eax, ecx
push esi
push edi
mov edi, dword [0xd2a520]
not eax
test al, 0xfa
push 0
pop eax
setne al
lea edx, [ecx + ecx]
mov ecx, dword [0xd2a500]
or edx, eax
mov dword [0xd2a4f8], edx
test edi, edi
jne 0xce1049
inc ecx
mov dword [0xd2a500], ecx
mov esi, dword [ebp + 8]
test esi, esi
jne 0xce1057
xor eax, eax
jmp 0xce123d
test edi, edi
jne 0xce1062
inc ecx
mov dword [0xd2a500], ecx
push ebx
mov ebx, dword [0xd2a530]
test ebx, ebx
jne 0xce1074
inc ecx
mov dword [0xd2a500], ecx
mov eax, edx
not eax
test al, 0xfa
push 0
pop eax
mov dword [ebp + 8], 0x80000000
cmove eax, dword [ebp + 8]
shr edx, 1
or edx, eax
mov eax, dword [esi + 0x3c]
add eax, esi
mov dword [ebp - 0x18], eax
mov eax, edx
not eax
test al, 0xfa
push 0
pop eax
cmove eax, dword [ebp + 8]
shr edx, 1
or edx, eax
mov dword [0xd2a4f8], edx
test edi, edi
jne 0xce10b6
inc ecx
mov dword [0xd2a500], ecx
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x7c], 0
je 0xce123a
mov eax, dword [eax + 0x78]
xor edi, edi
add eax, esi
inc edi
shl ebx, 8
or ebx, edi
mov dword [0xd2a530], ebx
mov edi, dword [eax + 0x1c]
add edi, esi
mov dword [ebp - 0x24], edi
test ecx, ecx
push 1
pop edi
cmove ecx, edi
mov dword [ebp - 0x14], eax
mov dword [0xd2a500], ecx
mov edi, dword [eax + 0x24]
mov eax, dword [eax + 0x20]
add eax, esi
add edi, esi
mov dword [ebp - 0x1c], eax
cmp ebx, 0x224b4538
mov eax, 0x25ad5560
cmove ebx, eax
mov dword [0xd2a530], ebx
xor ebx, ebx
mov eax, edx
inc ebx
not eax
or ecx, ebx
test al, 0xfa
push 0
pop eax
setne al
mov dword [ebp - 0x20], edi
mov edi, dword [ebp + 0xc]
add edx, edx
mov dword [0xd2a500], ecx
or edx, eax
cmp byte [edi], 0xff
mov dword [0xd2a4f8], edx
je 0xce117e
test ecx, ecx
cmove ecx, ebx
mov dword [0xd2a500], ecx
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0xce114c
sub ecx, edx
push 0
push ecx
push edi
call fcn.00ce29bb
mov ecx, dword [0xd2a508]
mov edx, dword [0xd2a4f8]
add esp, 0xc
or dword [0xd2a50c], ecx
mov ecx, dword [0xd2a500]
mov dword [ebp - 0x10], eax
jmp 0xce118f
mov eax, dword [edi + 1]
mov dword [ebp - 0x10], eax
mov eax, dword [0xd2a508]
or dword [0xd2a50c], eax
mov eax, dword [ebp - 0x14]
xor edi, edi
cmp dword [eax + 0x18], edi
jbe 0xce123a
cmp ecx, 0x1a631900
mov ebx, 0x5a5101f8
cmove ecx, ebx
cmp dword [0xd2a530], 0
mov dword [0xd2a500], ecx
jne 0xce11c1
inc ecx
mov dword [0xd2a500], ecx
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx + edi*4]
test ebx, ebx
je 0xce1230
push 1
test ecx, ecx
pop eax
cmove ecx, eax
add ebx, esi
cmp dword [0xd2a510], 0
mov dword [0xd2a500], ecx
jne 0xce11eb
inc ecx
mov dword [0xd2a500], ecx
mov eax, edx
not eax
test al, 0xfa
push 0
pop eax
cmove eax, dword [ebp + 8]
shr edx, 1
or edx, eax
mov ecx, ebx
mov dword [0xd2a4f8], edx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0xce1207
sub ecx, edx
push 0
push ecx
push ebx
call fcn.00ce29bb
add esp, 0xc
cmp dword [ebp - 0x10], eax
je 0xce124b
mov edx, dword [0xd2a4f8]
mov ecx, dword [0xd2a500]
mov eax, dword [ebp - 0x14]
inc edi
cmp edi, dword [eax + 0x18]
jb 0xce119d
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
mov eax, dword [0xd2a508]
or dword [0xd2a50c], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
movzx eax, word [eax + edi*2]
push 1
mov ecx, dword [ecx + eax*4]
mov eax, dword [0xd2a500]
test eax, eax
pop edi
cmove eax, edi
mov dword [0xd2a500], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x78]
cmp ecx, edx
jb 0xce1371
mov eax, dword [eax + 0x7c]
add eax, edx
cmp ecx, eax
jae 0xce1371
lea eax, [ecx + esi]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00cd3714
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [0xd2a510]
xor ecx, ecx
inc ecx
shl eax, 0x10
or eax, ecx
push ecx
mov dword [0xd2a510], eax
push ebx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp + 8], 0x2e
call fcn.00cde889
mov ecx, dword [0xd2a508]
or dword [0xd2a50c], ecx
mov esi, eax
cmp esi, 0xffffffff
je 0xce1360
xor eax, eax
inc eax
or dword [0xd2a500], eax
push esi
push ebx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00ce0ab8
xor ecx, ecx
inc ecx
mov byte [ebp - 4], cl
cmp dword [eax + 0x14], 0x10
jb 0xce1301
mov eax, dword [eax]
push eax
call dword [0xd1b1a0]
mov edi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x54]
call fcn.00cd3741
test edi, edi
je 0xce1360
push 0xffffffffffffffff
lea ecx, [esi + 1]
push ecx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00ce0ab8
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0xce1337
mov eax, dword [eax]
push eax
push edi
call fcn.00ce1006
pop ecx
pop ecx
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x54]
call fcn.00cd3741
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00cd3741
mov eax, esi
jmp 0xce123c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00cd3741
jmp 0xce123a
lea eax, [ecx + esi]
jmp 0xce123c