Function at 0x4537f0
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 0x4e353a
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x20
push esi
push edi
mov eax, dword [0x51c100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x18], edi
cmp dword [ebx + 8], 0
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], 0
je 0x4538a1
mov dword [edi], 0x503710
mov dword [edi + 0xa0], 0x5035e8
mov dword [edi + 0xb0], 0x50372c
call fcn.00448720
lea ecx, [edi + 0x9c]
mov dword [ebp - 4], 0
push ecx
mov dword [ebp - 0x28], 1
call fcn.00448590
mov eax, dword [edi + 0xb0]
mov dword [edi + 0xac], vtable.asw::log::ILogger.0
mov dword [ebp - 0x28], 7
mov eax, dword [eax + 8]
mov dword [eax + edi + 0xb0], 0x503630
mov eax, dword [edi]
mov eax, dword [eax + 8]
mov dword [edi + eax], vtable.asw::mi::Exportable_class_asw::log::ILogger_.0
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov dword [edi + eax], vtable.asw::mi::Exportable_class_asw::log::ILogger_.1.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 2
mov eax, dword [edi]
push 0x10104
mov eax, dword [eax + 8]
mov dword [edi + eax], vtable.asw::log::Logger.1.0
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov dword [edi + eax], vtable.asw::log::Logger.0
mov eax, dword [edi]
mov ecx, dword [eax + 8]
lea eax, [ecx - 0x9c]
mov dword [edi + ecx - 4], eax
mov eax, dword [edi]
mov ecx, dword [eax + 0xc]
lea eax, [ecx - 0xac]
mov dword [edi + ecx - 4], eax
call fcn.004a05c1
mov ecx, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], eax
push 0x10080
lea esi, [ecx + 0x80]
mov dword [ecx], eax
push eax
push esi
mov dword [ecx + 0x40], eax
call fcn.004a3580
mov dword [ebp - 0x14], 0x401
lea edx, [esi + 0x3f]
mov eax, dword [ebp - 0x14]
lea ecx, [esi + 0x10080]
and edx, 0xffffffc0
mov dword [ecx], eax
add esp, 0xc
mov dword [ebp - 0x20], edx
xor eax, eax
mov dword [ebp - 0x1c], edx
mov edi, edx
nop word [eax + eax]
mov edx, 0x401
mov word [edi], dx
mov esi, dword [ecx]
mov edx, esi
movzx ecx, ax
shr edx, 0x10
mov word [ebp - 0x14], cx
mov word [ebp - 0x12], dx
mov edx, dword [ebp - 0x20]
shl ecx, 6
mov word [ecx + edx], si
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
lea ecx, [esi + 0x10100]
xchg dword [ecx], edx
mov edi, dword [ebp - 0x1c]
inc eax
add edi, 0x40
mov dword [ebp - 0x1c], edi
cmp eax, 0x401
jne 0x453960
lea ecx, [esi + 0x80]
call fcn.00455100
movzx eax, ax
mov edx, 0x401
cmp ax, dx
je 0x4539d3
mov ecx, eax
mov dword [ebp - 0x1c], edx
mov eax, edx
shl ecx, 6
mov edx, dword [ebp - 0x20]
mov dword [ecx + edx], eax
sar ecx, 6
movzx eax, cx
jmp 0x4539d5
mov eax, edx
mov ecx, dword [ebp - 0x18]
mov word [ebp - 0x20], ax
xor eax, eax
mov word [ebp - 0x1e], ax
mov eax, dword [ebp - 0x20]
mov dword [ecx], eax
mov edi, dword [ebp - 0x24]
mov dword [ecx + 0x40], eax
mov dword [edi + 0xc], ecx
lea eax, [edi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 4
push 0x50
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.004a05c1
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x30], 0
lea eax, [edi + 0x44]
mov dword [edi + 0x34], 0xffffffff
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
push eax
mov dword [edi + 0x40], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x10
mov byte [ebp - 4], 6
call fcn.004a05c1
mov ecx, eax
xorps xmm0, xmm0
mov dword [ebp - 0x2c], ecx
lea eax, [ecx + 0xc]
mov esi, dword [ebp - 0x24]
add esp, 4
movq qword [ecx], xmm0
mov dword [ecx + 8], 0
mov dword [eax], 0xffffffff
lea edx, [esi + 0x30]
mov dword [ecx + 4], 1
mov dword [ecx + 8], 1
mov dword [ecx], vtable.std::_Ref_count_obj2_class_asw::wrappers::basic_handle_void___struct_asw::wrappers::detail::traits_file_handle__.0
movq qword [edi + 0x5c], xmm0
mov dword [edi + 0x5c], eax
xor eax, eax
mov dword [edi + 0x60], ecx
lea ecx, [edi + 0x80]
movups xmmword [edi + 0x64], xmm0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 7
mov word [edi + 0x64], ax
movq qword [ecx], xmm0
mov dword [edi + 0x88], eax
mov dword [edi + 0x8c], eax
mov dword [edi + 0x90], eax
mov edi, 9
mov eax, edi
xchg dword [edx], eax
mov eax, 7
lea edx, [esi + 0x38]
xchg dword [edx], eax
xor eax, eax
lea edx, [esi + 0x3c]
xchg dword [edx], eax
mov edx, dword [ebp - 0x24]
mov esi, 2
mov eax, esi
add edx, 0x40
xchg dword [edx], eax
push 0
push 0x400000
call fcn.00454570
mov eax, dword [ebp - 0x24]
lea ecx, [eax + 0x88]
xchg dword [ecx], esi
lea ecx, [eax + 0x8c]
xchg dword [ecx], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4