Function at 0x457340
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 0x4cdb9c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x20
push esi
push edi
mov eax, dword [0x505034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x28], edi
cmp dword [ebx + 8], 0
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x24], 0
je 0x4573f5
push 1
push 0
mov dword [edi], 0x4ed394
mov dword [edi + 0xa0], 0x4ed26c
mov dword [edi + 0xb0], 0x4ed388
call fcn.00458ee0
lea ecx, [edi + 0x9c]
mov dword [ebp - 4], 0
push ecx
mov dword [ebp - 0x24], 1
call fcn.00458dc0
mov eax, dword [edi + 0xb0]
mov dword [edi + 0xac], vtable.asw::log::ILogger.0
mov dword [ebp - 0x24], 7
mov eax, dword [eax + 8]
mov dword [eax + edi + 0xb0], 0x4ed2d8
mov eax, dword [edi]
mov eax, dword [eax + 8]
mov dword [edi + eax], vtable.asw::mi::Exportable_class_asw::log::ILogger_.1.0
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov dword [edi + eax], vtable.asw::mi::Exportable_class_asw::log::ILogger_.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.00479ea3
mov ecx, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], eax
mov dword [ecx], eax
lea edx, [ecx + 0x80]
mov dword [ecx + 0x40], eax
lea ecx, [edx + 0x10080]
mov dword [ebp - 0x14], 0x401
mov eax, dword [ebp - 0x14]
mov dword [ecx], eax
lea eax, [edx + 0x3f]
and eax, 0xffffffc0
xor edi, edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
nop dword [eax]
mov edx, 0x401
mov word [eax], dx
mov ecx, dword [ecx]
movzx edx, di
mov esi, edx
shl esi, 6
add esi, dword [ebp - 0x1c]
mov word [esi], cx
mov eax, ecx
mov esi, dword [ebp - 0x28]
shr eax, 0x10
mov dword [ebp - 0x2c], ecx
mov word [ebp - 0x14], dx
mov word [ebp - 0x12], ax
lea ecx, [esi + 0x10100]
mov eax, dword [ebp - 0x14]
xchg dword [ecx], eax
mov eax, dword [ebp - 0x18]
inc edi
add eax, 0x40
mov dword [ebp - 0x18], eax
cmp edi, 0x401
jne 0x4574a0
lea ecx, [esi + 0x80]
call fcn.00458a50
movzx eax, ax
mov edx, edi
cmp ax, dx
je 0x457515
mov ecx, eax
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x1c]
mov eax, edi
shl ecx, 6
mov dword [edx + ecx], eax
sar ecx, 6
movzx eax, cx
jmp 0x457517
mov eax, edx
mov word [ebp - 0x1c], ax
xor eax, eax
mov word [ebp - 0x1a], ax
mov eax, dword [ebp - 0x1c]
mov dword [esi], eax
mov edi, dword [ebp - 0x20]
mov dword [esi + 0x40], eax
mov dword [edi + 0xc], esi
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [edi + 0x10]
push eax
call esi
mov byte [ebp - 4], 4
push 0x40
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.00479ea3
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x28], eax
lea eax, [edi + 0x44]
mov dword [edi + 0x34], 0xffffffff
push eax
call esi
push 0x10
mov byte [ebp - 4], 6
call fcn.00479ea3
mov ecx, eax
xorps xmm0, xmm0
mov dword [ebp - 0x2c], ecx
lea eax, [ecx + 0xc]
mov edx, dword [ebp - 0x20]
add esp, 4
movq qword [ecx], xmm0
mov dword [ecx + 8], 0
mov dword [eax], 0xffffffff
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
mov word [edi + 0x64], ax
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 7
mov dword [edi + 0x90], eax
mov edi, 9
mov ecx, edi
lea eax, [edx + 0x30]
xchg dword [eax], ecx
mov ecx, 7
lea eax, [edx + 0x38]
xchg dword [eax], ecx
xor ecx, ecx
lea eax, [edx + 0x3c]
xchg dword [eax], ecx
mov esi, 2
lea eax, [edx + 0x40]
mov ecx, esi
xchg dword [eax], ecx
push 0
push 0x400000
lea ecx, [edx + 0x80]
call fcn.00457ef0
mov eax, dword [ebp - 0x20]
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