Function at 0x4692c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4de054
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x520078]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
cmp dword [ebp + 8], 0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0
je 0x469394
push 1
push 0
mov dword [ebx], 0x502ef0
mov dword [ebx + 0x98], 0x502ee8
mov dword [ebx + 0xa8], 0x503030
call fcn.0046b290
lea eax, [ebx + 0x94]
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x10], eax
mov dword [eax], vtable.asw::mi::IExportable.0
mov eax, dword [0x527d88]
test al, 1
jne 0x46936f
or eax, 1
mov dword [0x527d88], eax
mov dword [ebp - 4], 2
mov eax, 0x527d8c
mov byte [ebp - 0x11], 0
lock bts dword [eax], 0
setb al
movzx eax, al
test eax, eax
jne 0x46936f
call fcn.0046b0c0
mov eax, dword [ebx + 0xa8]
mov dword [ebx + 0xa4], vtable.asw::log::ILogger.0
mov dword [ebp - 0x18], 7
mov eax, dword [eax + 8]
mov dword [eax + ebx + 0xa8], 0x502da4
mov eax, dword [ebx]
mov eax, dword [eax + 8]
mov dword [ebx + eax], vtable.asw::mi::Exportable_class_asw::log::ILogger_.1.0
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
mov dword [ebx + eax], vtable.asw::mi::Exportable_class_asw::log::ILogger_.0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebp - 4], 4
mov eax, dword [ebx]
push 0x10104
mov eax, dword [eax + 8]
mov dword [ebx + eax], vtable.asw::log::Logger.1.0
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
mov dword [ebx + eax], vtable.asw::log::Logger.0
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
lea eax, [ecx - 0x94]
mov dword [ecx + ebx - 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0xc]
lea eax, [ecx - 0xa4]
mov dword [ecx + ebx - 4], eax
call fcn.00493c02
mov esi, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x10], eax
lea ecx, [esi + 0x80]
mov dword [ebp - 0x10], eax
mov dword [esi], eax
mov dword [esi + 0x40], eax
mov dword [ebp - 0x10], 0x401
mov eax, dword [ebp - 0x10]
mov dword [ecx + 0x10080], eax
call fcn.0046a990
mov ecx, esi
call fcn.0046a010
mov dword [ebx + 0xc], esi
lea eax, [ebx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 6
lea esi, [ebx + 0x28]
push 0
mov dword [ebp - 0x10], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0046a4a0
mov dword [esi], eax
lea eax, [ebx + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebx + 0x58], 0xffffffff
xor eax, eax
mov dword [ebx + 0x70], 7
mov edi, 6
mov dword [ebx + 0x6c], 0
mov ecx, edi
mov word [ebx + 0x5c], ax
mov dword [ebx + 0x88], eax
lea eax, [ebx + 0x30]
xchg dword [eax], ecx
mov ecx, 4
lea eax, [ebx + 0x34]
xchg dword [eax], ecx
xor ecx, ecx
lea eax, [ebx + 0x38]
xchg dword [eax], ecx
mov esi, 1
lea eax, [ebx + 0x3c]
mov ecx, esi
xchg dword [eax], ecx
push 0
push 0x400000
lea ecx, [ebx + 0x78]
call fcn.0046afd0
lea ecx, [ebx + 0x80]
xchg dword [ecx], esi
lea ecx, [ebx + 0x84]
xchg dword [ecx], edi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4