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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5bca19
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x6c0bc0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
push ecx
mov edi, esp
mov dword [esp + 0x1c], esp
push ecx
lea eax, [esi + 0xbc]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.004049a2
and dword [esp + 0x40], 0
or dword [esp + 0x40], 0xffffffff
call fcn.0040d04c
mov dword [esp + 0x40], 1
lea ecx, [esi + 0xc]
mov eax, dword [ecx]
mov edx, esp
mov dword [esp + 0x24], esp
push edx
call dword [eax + 0x68]
push 2
pop ebx
mov byte [esp + 0x40], bl
or dword [esp + 0x40], 0xffffffff
lea esi, [esp + 0x1c]
call fcn.0040d17c
mov dword [esp + 0x40], 3
add esp, 4
mov ecx, esp
mov dword [esp + 0x20], esp
push str..log
call fcn.004015a6
mov byte [esp + 0x3c], 4
push ecx
mov eax, esi
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.004049a2
mov byte [esp + 0x40], 5
mov byte [esp + 0x40], 3
lea esi, [esp + 0x20]
call fcn.0040d0ba
pop ecx
pop ecx
mov byte [esp + 0x38], 6
push eax
lea ecx, [esp + 0x18]
call fcn.004048fa
mov byte [esp + 0x38], 3
mov ecx, esi
call fcn.00401752
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.004049a2
mov byte [esp + 0x3c], 7
mov byte [esp + 0x3c], 3
call fcn.0040c97a
test eax, eax
pop ecx
je 0x4043fa
push ecx
mov eax, esp
mov dword [esp + 0x2c], esp
push str.Appending_fww_log_file:
push eax
lea ecx, [esp + 0x20]
call fcn.004046a1
pop ecx
pop ecx
mov byte [esp + 0x3c], 8
push ebx
mov byte [esp + 0x40], 3
call fcn.0040b216
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
mov esi, str._______________________________________________________________
push esi
call fcn.004015a6
mov byte [esp + 0x3c], 9
push ebx
mov byte [esp + 0x40], 3
call fcn.0040b216
push 0x6caa50
xor ecx, ecx
call fcn.0040b6b1
mov eax, 0x62cc74
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
mov byte [esp + 0x38], 0xb
cmp dword [0x6caacc], 0
jle 0x4043a0
or dword [0x6caa74], ebx
mov byte [esp + 0x38], 3
push ecx
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.004049a2
mov byte [esp + 0x3c], 0xc
push ecx
mov eax, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0040198d
mov byte [esp + 0x40], 0xd
mov byte [esp + 0x40], 3
call fcn.0040cdd6
pop ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push esi
call fcn.004015a6
mov byte [esp + 0x3c], 0xe
push ebx
mov byte [esp + 0x40], 3
call fcn.0040b216
jmp 0x404441
push str.FreezeWrap_log_file_not_found:
lea ecx, [esp + 0x1c]
call fcn.004015a6
mov byte [esp + 0x38], 0xf
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
lea edx, [esp + 0x18]
push edx
push eax
push ecx
call fcn.004045e6
add esp, 0xc
mov byte [esp + 0x3c], 0x10
push ebx
mov byte [esp + 0x40], 0xf
call fcn.0040b216
mov byte [esp + 0x38], 3
lea ecx, [esp + 0x18]
call fcn.00401752
or dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00401752
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret