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

Disassembly:
push 0xffffffffffffffff
push 0x547de0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x64]
push edi
mov dword [esp + 0x20], esi
call fcn.004735a0
mov edi, dword [esp + 0x74]
test edi, edi
je 0x4ce6d9
mov dword [edi], 0
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4ce6e7
mov dword [eax], 0
lea ecx, [esp + 0x44]
call fcn.005185f1
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x60], 0
test ebp, ebp
jne 0x4ce706
lea ebp, [esp + 0x44]
jmp 0x4ce711
push 0xffffffffffffffff
push 0
mov ecx, ebp
call fcn.00518684
lea ecx, [esp + 0x30]
call fcn.004733a0
test esi, esi
mov byte [esp + 0x60], 1
je 0x4ce75d
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4ce746
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x4ce746
shr eax, 2
push esi
push eax
push ecx
call fcn.004743b0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4ce75d
push esi
lea ecx, [esp + 0x34]
call fcn.00473660
mov ecx, esi
call fcn.004ced40
mov esi, eax
test esi, esi
jne 0x4ce723
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x38]
mov edx, eax
neg edx
sbb edx, edx
shr eax, 2
and edx, esi
lea ebx, [eax - 1]
mov dword [esp + 0x2c], edx
test ebx, ebx
mov dword [esp + 0x70], ebx
jl 0x4ce91a
mov eax, dword [edx + ebx*4]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
jne 0x4ce791
xor ecx, ecx
jmp 0x4ce794
mov ecx, dword [eax + 0x34]
mov eax, dword [eax + 0x3c]
shr eax, 2
test eax, eax
jle 0x4ce90f
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
mov esi, dword [ecx]
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x10]
push 0
mov ecx, dword [ecx + 0x50]
push eax
push esi
add ecx, 0x1f0
mov dword [esp + 0x20], esi
call fcn.004d2e80
test eax, eax
je 0x4ce8ed
mov edx, dword [esp + 0x10]
mov eax, dword [0x593d2c]
push eax
mov ecx, dword [edx]
push ecx
call fcn.00501dbe
add esp, 8
test eax, eax
jne 0x4ce7f5
test ebx, ebx
jne 0x4ce8ed
jmp 0x4ce81a
mov ecx, dword [esp + 0x10]
mov eax, dword [0x593d30]
push eax
mov ecx, dword [ecx]
push ecx
call fcn.00501dbe
add esp, 8
test eax, eax
jne 0x4ce83a
test ebx, ebx
jne 0x4ce8ed
mov edi, dword [esp + 0x78]
test edi, edi
je 0x4ce8ed
mov ecx, dword [esp + 0x10]
call fcn.004ca7c0
test eax, eax
jne 0x4ce8ed
mov dword [edi], esi
jmp 0x4ce8ed
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x4ce850
mov edx, dword [esp + 0x10]
test byte [edx + 0xc], 8
je 0x4ce8ed
mov eax, dword [ebp + 8]
xor edi, edi
test eax, eax
mov dword [esp + 0x28], eax
jle 0x4ce89f
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, ebp
call fcn.0043d440
mov esi, dword [esi]
mov eax, dword [eax]
push esi
push eax
call fcn.00501dbe
add esp, 8
lea ecx, [esp + 0x24]
test eax, eax
sete bl
call fcn.00519a06
test bl, bl
jne 0x4ce8d0
mov eax, dword [esp + 0x28]
inc edi
cmp edi, eax
jl 0x4ce85d
mov ebx, dword [esp + 0x70]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp + 8]
push ecx
push eax
mov ecx, ebp
call fcn.00518881
mov ecx, dword [esp + 0x68]
push esi
call fcn.00473660
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x4ce8ed
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x10]
push eax
call fcn.00473660
jmp 0x4ce8ed
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x4ce8df
xor eax, eax
jmp 0x4ce8e2
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x70]
mov dword [eax + edi*4], ecx
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x74]
add ecx, 4
dec eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
jne 0x4ce7aa
mov edx, dword [esp + 0x2c]
dec ebx
mov dword [esp + 0x70], ebx
jns 0x4ce783
lea ecx, [esp + 0x30]
mov byte [esp + 0x60], 0
mov dword [esp + 0x30], 0x54d7d0
call fcn.004735a0
lea ecx, [esp + 0x44]
mov dword [esp + 0x60], 0xffffffff
call fcn.00518624
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret 0x18