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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe0
mov ebx, ecx
mov esi, dword [ebp + 8]
test esi, esi
je 0x4ceedd
cmp dword [esi + 0x10], 4
jne 0x4ceedd
mov dword [esp + 0x7c], str.version
mov dword [esp + 0x80], 7
mov word [esp + 0x84], 1
mov dword [esp + 0x88], str.case_sensitive
mov dword [esp + 0x8c], 0xe
mov word [esp + 0x90], 0
mov dword [esp + 0x94], str.use_external_names
mov dword [esp + 0x98], 0x12
mov word [esp + 0x9c], 0
mov dword [esp + 0xa0], str.root_relative
mov dword [esp + 0xa4], 0xd
mov word [esp + 0xa8], 0
mov dword [esp + 0xac], str.overlay_relative
mov dword [esp + 0xb0], 0x10
mov word [esp + 0xb4], 0
mov dword [esp + 0xb8], str.fallthrough
mov dword [esp + 0xbc], 0xb
mov word [esp + 0xc0], 0
mov dword [esp + 0xc4], str.redirecting_with
mov dword [esp + 0xc8], 0x10
mov word [esp + 0xcc], 0
mov dword [esp + 0xd0], str.roots
mov dword [esp + 0xd4], 5
mov word [esp + 0xd8], 1
lea eax, [esp + 0x7c]
mov dword [esp + 0x38], eax
lea eax, [esp + 0xdc]
mov dword [esp + 8], eax
lea edi, [esp + 8]
lea eax, [esp + 0x38]
lea ecx, [esp + 0x50]
push edi
push eax
call fcn.004d5a10
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov byte [esi + 0x28], 0
mov ecx, esi
call fcn.004f96e0
cmp dword [esi + 0x2c], 0
mov dword [esp], ebx
je 0x4cef05
mov eax, dword [ebp + 0xc]
lea ecx, [eax + 0x32]
mov dword [esp + 0x68], ecx
lea ecx, [eax + 0x31]
mov dword [esp + 0x64], ecx
add eax, 0x30
mov dword [esp + 0x60], eax
jmp 0x4cea07
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.004f96e0
cmp dword [esi + 0x2c], 0
mov ebx, dword [esp]
je 0x4cef05
mov ecx, dword [esi + 0x2c]
lea eax, [esp + 0x44]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0xa
mov dword [esp + 4], ecx
call fcn.004f9370
test eax, eax
je 0x4cef89
cmp dword [eax + 0x10], 1
jne 0x4cef89
mov ecx, eax
lea eax, [esp + 0x38]
push eax
call fcn.004f8d30
mov edi, ebx
mov ebx, eax
mov esi, edx
mov ecx, dword [esp + 4]
call fcn.004f9370
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
sub esp, 0x10
movq xmm0, qword [esp + 0x7c]
movq qword [esp + 4], xmm0
lea ecx, [esp + 0x60]
mov dword [esp + 0xc], ecx
mov dword [esp], eax
mov ecx, edi
lea edi, [esp + 0x18]
call fcn.004d5bb0
test al, al
je 0x4cefc1
add esi, 0xfffffffb
cmp esi, 0xd
ja case.0x4cea99.6
jmp dword [esi*4 + 0x4cf10c]
mov eax, dword [ebx]
mov ecx, 0x746f6f72
xor eax, ecx
movzx ecx, byte [ebx + 4]
xor ecx, 0x73
or ecx, eax
jne case.0x4cea99.6
mov ecx, dword [esp + 4]
call fcn.004f94a0
test eax, eax
je 0x4cf076
mov ebx, eax
cmp dword [eax + 0x10], 5
jne 0x4cf076
mov byte [ebx + 0x28], 0
nop dword [eax]
mov ecx, ebx
call fcn.004f9a00
cmp dword [ebx + 0x2c], 0
je 0x4ced49
mov ecx, edi
push 1
push dword [ebp + 0xc]
push dword [ebx + 0x2c]
push dword [esp + 0xc]
call fcn.004d5c70
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x4cefc1
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x24]
jae 0x4ceb30
mov dword [esp + 8], 0
mov dword [eax], ecx
add eax, 4
jmp 0x4ceb3a
lea ecx, [esp + 0x1c]
push edi
call fcn.004d8410
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 8]
mov dword [esp + 8], 0
test ecx, ecx
je 0x4ceae0
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4ceae0
push 0xb
push str.fallthrough
push ebx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
add esp, 0xc
test eax, eax
jne case.0x4cea99.6
mov dword [esp + 8], str.redirecting_with
mov dword [esp + 0xc], 0x10
lea esi, [esp + 0x50]
mov ecx, esi
lea eax, [esp + 0x28]
push eax
push edi
call fcn.004d7810
mov edx, dword [esp + 0x28]
test al, al
je 0x4cedc9
cmp byte [edx + 9], 0
mov esi, dword [esp]
mov ecx, dword [esp + 4]
je 0x4cedea
jmp 0x4cf0f7
movdqu xmm0, xmmword [ebx]
pcmpeqb xmm0, xmmword [0x523150]
movzx eax, word [ebx + 0x10]
movd xmm1, eax
pcmpeqb xmm1, xmmword [0x523160]
pand xmm1, xmm0
pmovmskb eax, xmm1
cmp eax, 0xffff
jne case.0x4cea99.6
mov ecx, dword [esp + 4]
call fcn.004f94a0
mov ecx, dword [esp]
push dword [esp + 0x68]
jmp 0x4ced77
mov eax, dword [ebx]
mov ecx, 0x73726576
xor eax, ecx
mov ecx, dword [ebx + 3]
mov edx, 0x6e6f6973
xor ecx, edx
or ecx, eax
jne case.0x4cea99.6
lea eax, [esp + 0x34]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 4
mov ebx, dword [esp + 4]
mov ecx, ebx
call fcn.004f94a0
test eax, eax
je 0x4cee16
cmp dword [eax + 0x10], 1
jne 0x4cee16
mov ecx, eax
lea eax, [esp + 0x28]
push eax
call fcn.004f8d30
mov dword [esp + 0x78], edx
mov dword [esp + 0x74], eax
sub esp, 0x10
movq xmm0, qword [esp + 0x84]
movq qword [esp], xmm0
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0xa
call fcn.00462a00
add esp, 0x10
test al, al
mov esi, dword [esp]
jne 0x4cee2c
mov eax, dword [esp + 8]
mov ecx, eax
sar ecx, 0x1f
xor ecx, dword [esp + 0xc]
jne 0x4cee2c
test eax, eax
js 0x4ceeb9
je 0x4ceecd
mov ecx, ebx
call fcn.004f94a0
mov dword [esp + 8], str.version_mismatch__expected_0
jmp 0x4cee3b
push 0xe
push str.case_sensitive
push ebx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
add esp, 0xc
test eax, eax
jne case.0x4cea99.6
mov ecx, dword [esp + 4]
call fcn.004f94a0
mov ecx, dword [esp]
push dword [esp + 0x60]
jmp 0x4ced77
movdqu xmm0, xmmword [ebx]
pcmpeqb xmm0, xmmword [str.overlay_relativeredirecting_with]
pmovmskb eax, xmm0
cmp eax, 0xffff
je 0x4ced67
movdqu xmm0, xmmword [ebx]
pcmpeqb xmm0, xmmword [0x523180]
pmovmskb eax, xmm0
cmp eax, 0xffff
je 0x4ced86
nop word cs:[eax + eax]
mov ebx, dword [esp + 4]
mov ecx, ebx
call fcn.004f94a0
mov esi, dword [esp]
mov ecx, esi
push eax
call fcn.004d74b0
mov ecx, 0xff
test edx, ecx
je 0x4cefa0
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x38], eax
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x44]
cmp eax, ecx
je 0x4ce9f0
push eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
jmp 0x4ce9f0
mov ecx, dword [esp + 4]
call fcn.004f94a0
mov ecx, dword [esp]
push dword [esp + 0x64]
push eax
call fcn.004d7100
test al, al
jne 0x4ced49
jmp 0x4cefc1
mov dword [esp + 8], str.fallthrough
mov dword [esp + 0xc], 0xb
lea esi, [esp + 0x50]
mov ecx, esi
lea eax, [esp + 0x28]
push eax
push edi
call fcn.004d7810
mov edx, dword [esp + 0x28]
test al, al
je 0x4cee71
cmp byte [edx + 9], 0
mov esi, dword [esp]
mov ebx, dword [esp + 4]
je 0x4cee92
jmp 0x4cf0f5
mov ecx, esi
push edx
push edi
push edi
call fcn.004d79b0
movq xmm0, qword [esp + 8]
movq qword [eax], xmm0
mov word [eax + 8], 0
mov esi, dword [esp]
mov ecx, dword [esp + 4]
mov byte [esp + 8], 0
call fcn.004f94a0
mov ecx, esi
push edi
push eax
call fcn.004d7100
test al, al
je 0x4cefc1
xor eax, eax
cmp byte [esp + 8], 0
sete al
add eax, eax
jmp 0x4ceeae
mov dword [esp + 8], str.expected_string
mov word [esp + 0x18], 0x103
mov ecx, dword [esp]
mov ecx, dword [ecx]
jmp 0x4cee44
mov ecx, ebx
call fcn.004f94a0
mov dword [esp + 8], str.expected_integer
mov word [esp + 0x18], 0x103
mov ecx, dword [esi]
push 0
push edi
push eax
call fcn.004f7770
xor ebx, ebx
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x34]
cmp eax, ecx
je 0x4cee64
push eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
test bl, bl
jne 0x4ced49
jmp 0x4cefc1
mov ecx, esi
push edx
push edi
push edi
call fcn.004d79b0
movq xmm0, qword [esp + 8]
movq qword [eax], xmm0
mov word [eax + 8], 0
mov esi, dword [esp]
mov ebx, dword [esp + 4]
mov ecx, ebx
call fcn.004f94a0
mov ecx, esi
push eax
call fcn.004d7350
mov ecx, 0xff
test edx, ecx
je 0x4cf098
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x34], eax
jmp 0x4ced49
mov ecx, ebx
call fcn.004f94a0
mov dword [esp + 8], str.invalid_version_number
jmp 0x4cee3b
mov bl, 1
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x34]
cmp eax, ecx
jne 0x4cee5b
jmp 0x4cee64
mov dword [esp + 0x7c], str.expected_mapping_node
mov word [esp + 0x8c], 0x103
mov ecx, dword [ebx]
lea eax, [esp + 0x7c]
push 0
push eax
push esi
call fcn.004f7770
xor ebx, ebx
jmp 0x4cf036
mov ecx, dword [ebx]
call fcn.004f7760
test al, al
jne 0x4cefd6
cmp dword [esp + 0x54], 0
je 0x4cef58
mov edx, dword [esp + 0x50]
mov esi, dword [esp + 0x5c]
mov eax, 0xfffffffe
mov ecx, edx
test esi, esi
je 0x4cf045
lea ecx, [esi*4]
lea edi, [ecx + ecx*2]
mov ecx, edx
nop
mov ebx, dword [ecx]
and ebx, 0xfffffffe
xor ebx, eax
jne 0x4cf042
add ecx, 0xc
add edi, 0xfffffff4
mov ebx, dword [esp]
jne 0x4cef40
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
cmp esi, edi
je 0x4cef9c
nop word cs:[eax + eax]
mov ecx, ebx
push 0
push dword [esi]
push dword [ebp + 0xc]
call fcn.004d75d0
add esi, 4
cmp esi, edi
jne 0x4cef70
mov bl, 1
jmp 0x4cefd8
mov dword [esp + 8], str.expected_string
mov word [esp + 0x18], 0x103
mov ecx, dword [ebx]
jmp 0x4cefb8
mov bl, 1
jmp 0x4cefdc
mov ecx, ebx
call fcn.004f94a0
mov dword [esp + 8], str.expected_valid_root_relative_kind
mov word [esp + 0x18], 0x103
mov ecx, dword [esi]
push 0
push edi
push eax
call fcn.004f7770
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x44]
cmp eax, ecx
je 0x4cefd6
push eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
xor ebx, ebx
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4cf01d
mov edi, dword [esp + 0x20]
mov eax, esi
cmp edi, esi
jne 0x4ceff7
jmp 0x4cf010
add edi, 0xfffffffc
cmp edi, esi
je 0x4cf00c
mov ecx, dword [edi - 4]
mov dword [edi - 4], 0
test ecx, ecx
je 0x4ceff0
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4ceff0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], esi
push eax
call sub.libc.dll_operator_delete_void_
add esp, 4
mov eax, dword [esp + 0x5c]
shl eax, 2
lea eax, [eax + eax*2]
push 4
push eax
push dword [esp + 0x58]
call fcn.004ae450
add esp, 0xc
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov ebx, dword [esp]
lea esi, [esi + esi*2]
lea edx, [edx + esi*4]
cmp ecx, edx
je 0x4cef58
cmp byte [ecx + 8], 0
je 0x4cf060
cmp byte [ecx + 9], 0
je 0x4cf0ac
nop
add ecx, 0xc
cmp ecx, edx
je 0x4cef58
mov esi, dword [ecx]
and esi, 0xfffffffe
xor esi, eax
je 0x4cf060
jmp 0x4cf04b
mov ecx, dword [esp + 4]
call fcn.004f94a0
mov dword [esp + 8], str.expected_array
mov word [esp + 0x18], 0x103
mov ecx, dword [esp]
mov ecx, dword [ecx]
jmp 0x4cefb8
mov ecx, ebx
call fcn.004f94a0
mov dword [esp + 8], str.expected_valid_redirect_kind
jmp 0x4cefaf
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 8], str.missing_key_
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov word [esp + 0x18], 0x503
lea eax, [esp + 8]
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], 0x523309
mov word [esp + 0x48], 0x302
mov ecx, dword [ebx]
push 0
lea eax, [esp + 0x3c]
push eax
push dword [ebp + 8]
call fcn.004f7770
jmp 0x4cefd6
mov ecx, ebx
call fcn.004f94a0
mov dword [esp + 8], str.fallthrough_and_redirecting_with_are_mutually_exclusive
jmp 0x4cefaf