Function at 0x457540
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6494
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa8
mov eax, dword [0x4da018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x4c], edi
mov eax, dword [ebx + 0xc]
lea ecx, [edi + 8]
mov esi, dword [ebx + 8]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], eax
mov dword [edi], vtable.tc::io::VirtualFileSystem.0
mov dword [edi + 4], 0
call fcn.00427010
xorps xmm0, xmm0
movq qword [edi + 0x30], xmm0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
lea eax, [edi + 8]
mov dword [ebp - 4], 0
mov dword [edi], vtable.tc::io::VirtualFileSystem.0
cmp eax, esi
je 0x4575e6
push dword [ebp - 0x30]
mov ecx, eax
push dword [esi + 4]
push dword [esi]
call fcn.00458c50
lea eax, [edi + 8]
lea edx, [esi + 0xc]
lea ecx, [eax + 0xc]
cmp ecx, edx
je 0x457600
push dword [ebp - 0x30]
push dword [edx + 4]
push dword [edx]
call fcn.00458b10
lea eax, [edi + 8]
lea edx, [esi + 0x18]
lea ecx, [eax + 0x18]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x5c], ecx
cmp ecx, edx
je 0x45763e
mov esi, dword [ecx]
push dword [esi + 4]
push ecx
call fcn.004110e0
mov ecx, dword [ebp - 0x5c]
push dword [ebp - 0x30]
mov dword [esi + 4], esi
push dword [ebp - 0x4c]
mov dword [esi], esi
mov dword [esi + 8], esi
mov dword [ecx + 4], 0
call fcn.0042c800
mov esi, dword [ebp - 0x28]
lea eax, [edi + 8]
lea ecx, [esi + 0x20]
add eax, 0x20
mov dword [ebp - 0x28], ecx
cmp eax, ecx
je 0x457675
mov esi, dword [eax]
mov ecx, eax
push dword [esi + 4]
push eax
call fcn.004110e0
push dword [ebp - 0x30]
lea ecx, [edi + 0x28]
mov dword [esi + 4], esi
push dword [ebp - 0x28]
mov dword [esi], esi
mov dword [esi + 8], esi
mov dword [ecx + 4], 0
call fcn.0042c800
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x457686
lock inc dword [ecx + 4]
mov ecx, dword [eax + 4]
mov esi, dword [edi + 0x34]
mov eax, dword [eax]
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], ecx
test esi, esi
je 0x4576b6
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x4576b6
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x4576b6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [edi + 0x30], 0
jne 0x457820
push 0x18
call fcn.00489209
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0
movups xmmword [esi], xmm0
mov dword [ebp - 0x54], 0
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x50], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
push 1
mov dword [ebp - 0x48], 0
push 0x4b9ca4
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
call fcn.00403200
mov byte [ebp - 4], 3
push 0x20
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
call fcn.00489209
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x2c]
call fcn.0044fdd0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.0045ec10
mov edx, dword [ebp - 0x2c]
call fcn.00403b50
push 0x20
push dword [ebp - 0x2c]
call fcn.00489239
mov byte [ebp - 4], 2
add esp, 8
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x4577af
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4577a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x457983
push edx
push ecx
call fcn.00489239
add esp, 8
lea ecx, [ebp - 0x58]
call fcn.00403150
mov dword [esi], vtable.tc::io::BasicPathResolver.0
mov dword [ebp - 0x20], esi
push 0x10
mov byte [ebp - 4], 6
call fcn.00489209
mov dword [ebp - 0x20], eax
xorps xmm0, xmm0
mov byte [ebp - 4], 0
add esp, 4
movups xmmword [eax], xmm0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_class_tc::io::BasicPathResolver_.0
mov dword [eax + 0xc], esi
mov dword [edi + 0x30], esi
mov esi, dword [edi + 0x34]
mov dword [edi + 0x34], eax
test esi, esi
je 0x457820
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x457820
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x457820
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
push 0x4b9ca4
lea ecx, [ebp - 0x48]
movlpd qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
call fcn.00403200
mov byte [ebp - 4], 7
mov esi, dword [edi + 0x30]
push 0x20
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call fcn.00489209
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x24]
call fcn.0044fdd0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 9
mov eax, dword [esi]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, esi
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
call fcn.00403b50
push 0x20
push dword [ebp - 0x24]
call fcn.00489239
add esp, 8
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x4578e7
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4578dd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x457988
push edx
push ecx
call fcn.00489239
add esp, 8
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [edi + 0x20]
call fcn.00458ab0
mov esi, dword [ebp - 0x50]
cmp byte [esi + 0xd], 0
jne 0x457970
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00458d90
test al, al
jne 0x457970
cmp esi, dword [edi + 0x20]
je 0x457970
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
sub ecx, edx
sar ecx, 5
cmp dword [esi + 0x18], ecx
jae 0x45798d
mov eax, dword [esi + 0x18]
cmp ecx, eax
jbe 0x4579c3
shl eax, 5
add eax, edx
mov edx, dword [ebp - 0x1c]
mov dword [edi + 4], eax
call fcn.00403b50
push 0x20
push dword [ebp - 0x1c]
call fcn.00489239
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004891fb
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
push str.Failed_to_located_root_directory.__Root_path_was_not_found_in_Path_to_Index_map_
lea ecx, [ebp - 0x48]
call fcn.00403040
mov byte [ebp - 4], 0xd
jmp 0x45799e
call fcn.0048dc6b
call fcn.0048dc6b
push str.Failed_to_located_root_directory.__Root_directory_index_was_invalid_
lea ecx, [ebp - 0x48]
call fcn.00403040
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x48]
push eax
push 0x4dadf0
lea ecx, [ebp - 0xb8]
call fcn.0040bf20
push 0x4d8b94
lea eax, [ebp - 0xb8]
push eax
call fcn.0048ab6b
call fcn.00458aa0
int3