Function at 0x403caa
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x504ed9
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x56d790]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push ecx
mov edi, esp
mov dword [esp + 0x1c], esp
push ecx
lea eax, [esi + 0x74]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0040184e
and dword [esp + 0x38], 0
or dword [esp + 0x38], 0xffffffff
call fcn.004149a0
mov dword [esp + 0x38], 1
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
mov edx, esp
mov dword [esp + 0x24], esp
push edx
call dword [eax + 0x80]
push 2
pop ebx
mov byte [esp + 0x38], bl
or dword [esp + 0x38], 0xffffffff
lea esi, [esp + 0x1c]
call fcn.00414ad0
mov dword [esp + 0x38], 3
add esp, 4
mov ecx, esp
mov dword [esp + 0x20], esp
push str..log
call fcn.00401769
mov byte [esp + 0x34], 4
push ecx
mov eax, esi
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.0040184e
mov byte [esp + 0x38], 5
mov byte [esp + 0x38], 3
lea esi, [esp + 0x20]
call fcn.00414a0e
pop ecx
pop ecx
mov byte [esp + 0x30], 6
push eax
lea ecx, [esp + 0x18]
call fcn.004043ce
mov byte [esp + 0x30], 3
mov ecx, esi
call fcn.00401898
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0040184e
mov byte [esp + 0x34], 7
mov byte [esp + 0x34], 3
call fcn.0041391b
pop ecx
test eax, eax
je 0x403e7e
push ecx
mov eax, esp
mov dword [esp + 0x24], esp
lea ecx, [esp + 0x18]
push ecx
push str.Appending_fww_log_file:
push eax
call fcn.004040f8
add esp, 0xc
mov byte [esp + 0x34], 8
push ebx
mov byte [esp + 0x38], 3
call fcn.00412200
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
mov esi, str._______________________________________________________________
push esi
call fcn.00401769
mov byte [esp + 0x34], 9
push ebx
mov byte [esp + 0x38], 3
call fcn.00412200
push 0x575de8
xor ecx, ecx
call fcn.0041269a
push ecx
push ecx
mov eax, esp
mov dword [esp + 0x28], esp
mov dword [eax], vtable.CFlags_enum_CoreLogFlag_.0
mov dword [eax + 4], ebx
mov byte [esp + 0x38], 0xa
mov byte [esp + 0x38], 3
call fcn.004018bb
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0040184e
mov byte [esp + 0x34], 0xb
push ecx
mov eax, esp
mov dword [esp + 0x24], esp
push eax
call fcn.00401986
mov byte [esp + 0x38], 0xc
mov byte [esp + 0x38], 3
call fcn.00414281
pop ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push esi
call fcn.00401769
mov byte [esp + 0x34], 0xd
push ebx
mov byte [esp + 0x38], 3
call fcn.00412200
jmp 0x403ec5
push str.FreezeWrap_log_file_not_found:
lea ecx, [esp + 0x1c]
call fcn.00401769
mov byte [esp + 0x30], 0xe
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
lea edx, [esp + 0x18]
push edx
push eax
push ecx
call fcn.0040403d
add esp, 0xc
mov byte [esp + 0x34], 0xf
push ebx
mov byte [esp + 0x38], 0xe
call fcn.00412200
mov byte [esp + 0x30], 3
lea ecx, [esp + 0x18]
call fcn.00401898
or dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00401898
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret