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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x178
mov edi, dword [esp + 0x1a0]
mov ebx, dword [esp + 0x194]
mov eax, dword [esp + 0x190]
xorps xmm0, xmm0
movups xmmword [esp + 0x2c], xmm0
movups xmmword [esp + 0x1c], xmm0
lea ecx, [esp + 0x5c]
push dword [eax]
call fcn.004ae130
sub esp, 0x1c
movups xmm0, xmmword [esp + 0x78]
movups xmmword [esp], xmm0
lea eax, [esp + 0x38]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 1
lea esi, [esp + 0x68]
mov ecx, esi
call fcn.004f7650
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], edi
mov ecx, esi
call fcn.004f7890
mov ebx, eax
mov esi, dword [eax]
mov edi, dword [esi + 0x3c]
test edi, edi
jne 0x4ce48c
mov ecx, esi
call fcn.004f8240
mov edi, eax
mov dword [esi + 0x3c], eax
mov ebp, dword [esp + 0x18c]
lea esi, [esp + 0x4c]
mov ecx, esi
call fcn.004f7910
cmp dword [ebx], 0
je 0x4ce4bd
test eax, eax
je 0x4ce4d4
cmp dword [eax], 0
setne cl
cmp ebx, eax
sete al
and al, cl
test edi, edi
jne 0x4ce4de
jmp 0x4ce610
test eax, eax
je 0x4ce610
cmp dword [eax], 0
sete al
test edi, edi
jne 0x4ce4de
jmp 0x4ce610
xor eax, eax
test edi, edi
je 0x4ce610
test al, al
jne 0x4ce610
mov dword [esp + 0x10], edi
mov ebp, dword [esp + 0x1a4]
mov dword [esp + 0x14], esi
push 0x3c
call sub.libc.dll_operator_new_unsigned_int_
add esp, 4
mov esi, eax
mov ebx, eax
mov edi, dword [ebp]
test edi, edi
je 0x4ce50e
lock inc dword [edi + 4]
lea ecx, [esp + 0x198]
mov dword [ebx + 4], 0
mov dword [ebx], 0x523298
xorps xmm0, xmm0
movups xmmword [ebx + 8], xmm0
xorps xmm0, xmm0
movsd qword [ebx + 0x18], xmm0
mov dword [ebx + 0x20], edi
movsd qword [ebx + 0x24], xmm0
movsd qword [ebx + 0x2a], xmm0
mov byte [ebx + 0x32], 1
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
test edi, edi
mov ebp, dword [esp + 0x18c]
je 0x4ce59e
mov edx, dword [edi]
lea ecx, [esp + 0x6c]
push edi
call dword [edx + 0x18]
movzx eax, byte [esp + 0x78]
test al, 1
jne 0x4ce580
lea ecx, [esi + 0x14]
lea eax, [esp + 0x6c]
push eax
call fcn.00504a9e
movzx eax, byte [esp + 0x78]
test al, 1
jne 0x4ce597
test byte [esp + 0x6c], 1
je 0x4ce597
push dword [esp + 0x74]
call sub.libc.dll_operator_delete_void_
add esp, 4
lea ecx, [esp + 0x198]
cmp dword [ecx + 4], 0
je 0x4ce787
mov dword [esp + 0xc], esi
movsd xmm0, qword [ecx]
movsd qword [esp + 0x54], xmm0
sub esp, 0xc
movsd qword [esp], xmm0
mov dword [esp + 8], 0
call fcn.004a3550
add esp, 0xc
mov edi, eax
mov esi, edx
lea eax, [esp + 0x78]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0x100
cmp edx, 0x101
jb 0x4ce699
lea ecx, [esp + 0x6c]
push 1
push esi
push eax
call fcn.0046e2c0
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
jmp 0x4ce69f
mov dword [esp + 0x18], 0
mov dword [esp + 0x6c], str.expected_root_node
mov word [esp + 0x7c], 0x103
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
sub esp, 0x20
movsd xmm0, qword [esp + 0x5c]
movsd qword [esp + 0x14], xmm0
movsd xmm0, qword [esp + 0x64]
movsd qword [esp + 0xc], xmm0
mov eax, dword [esp + 0x38]
mov dword [esp], eax
lea eax, [esp + 0x8c]
mov dword [esp + 8], eax
mov dword [esp + 0x1c], 1
mov dword [esp + 4], 0
lea ecx, [esp + 0x3c]
call fcn.004fd900
mov dword [ebp], 0
jmp 0x4ce7a5
xor ecx, ecx
test esi, esi
je 0x4ce6b0
add eax, ecx
push esi
push edi
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov ecx, dword [esp + 0x70]
add ecx, esi
mov dword [esp + 0x70], ecx
lea eax, [esp + 0x6c]
push eax
call fcn.004a7010
add esp, 4
mov edi, dword [esp + 0x6c]
test edi, edi
je 0x4ce6ee
mov ecx, dword [esp + 0x70]
cmp ecx, 0xfffffff8
jae 0x4ce83c
cmp ecx, 0xb
jae 0x4ce70c
mov eax, ecx
add al, cl
mov byte [esp], al
lea esi, [esp + 1]
test ecx, ecx
jne 0x4ce731
jmp 0x4ce747
xorps xmm0, xmm0
movsd qword [esp], xmm0
mov dword [esp + 8], 0
mov esi, dword [esp + 0xc]
add esi, 0x24
test byte [esi], 1
jne 0x4ce757
jmp 0x4ce762
mov ebp, ecx
or ebp, 7
lea eax, [ebp + 1]
push eax
mov esi, ecx
call sub.libc.dll_operator_new_unsigned_int_
mov ecx, esi
add esp, 4
mov esi, eax
mov dword [esp + 8], eax
add ebp, 2
mov dword [esp], ebp
mov dword [esp + 4], ecx
push ecx
push edi
push esi
mov edi, ecx
call sub.api_ms_win_crt_private_l1_1_0.dll_memmove
mov ecx, edi
mov ebp, dword [esp + 0x198]
add esp, 0xc
mov byte [esi + ecx], 0
mov esi, dword [esp + 0xc]
add esi, 0x24
test byte [esi], 1
je 0x4ce762
push dword [ebx + 0x2c]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov eax, dword [esp + 8]
mov dword [esi + 8], eax
movsd xmm0, qword [esp]
movsd qword [esi], xmm0
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x78]
cmp eax, ecx
je 0x4ce787
push eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
lea ecx, [esp + 0x14]
push ebx
push dword [esp + 0x14]
call fcn.004ce850
test al, al
jne 0x4ce7a2
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
xor ebx, ebx
mov dword [ebp], ebx
lea ecx, [esp + 0x4c]
call fcn.004f7720
mov esi, dword [esp + 0x28]
test esi, esi
je 0x4ce7fb
mov edi, dword [esp + 0x2c]
mov eax, esi
cmp edi, esi
jne 0x4ce7d7
jmp 0x4ce7ee
add edi, 0xfffffff4
cmp edi, esi
je 0x4ce7ea
test byte [edi - 0xc], 1
je 0x4ce7d0
push dword [edi - 4]
call sub.libc.dll_operator_delete_void_
add esp, 4
jmp 0x4ce7d0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], esi
push eax
call sub.libc.dll_operator_delete_void_
add esp, 4
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x4ce82f
mov esi, dword [esp + 0x20]
mov eax, edi
cmp esi, edi
je 0x4ce822
nop dword [eax]
add esi, 0xfffffff4
mov ecx, esi
call fcn.004fc0c0
cmp esi, edi
jne 0x4ce810
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], edi
push eax
call sub.libc.dll_operator_delete_void_
add esp, 4
mov eax, ebp
add esp, 0x178
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esp
call fcn.00401af0
int3