Function at 0x4a3330
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2490
mov eax, dword fs:[0]
push eax
sub esp, 0x5c4
mov eax, dword [0x4ec00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0x18
push eax
lea ecx, [ebp - 0x5c0]
call fcn.004a8200
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
call sym.Install_adv.exe_private:_bool___thiscall_CNsLog::isLog_void_
movzx ecx, al
test ecx, ecx
jne 0x4a33aa
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c0]
call fcn.004a8230
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004195f0
jmp 0x4a35de
mov ecx, dword [ebp + 8]
add ecx, 0x10
call fcn.00412880
movzx edx, al
test edx, edx
je 0x4a33c4
mov ecx, dword [ebp + 8]
call sym.Install_adv.exe_private:_bool___thiscall_CNsLog::GetDefLogPath_void_
push 0x4d0d50
mov ecx, dword [ebp + 8]
add ecx, 0x10
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call fcn.0043ce99
add esp, 8
mov dword [ebp - 0x5b0], eax
cmp dword [ebp - 0x5b0], 0
je 0x4a35c0
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x5b4], eax
push 0x400
push 0
lea ecx, [ebp - 0x410]
push ecx
call fcn.00433ca0
add esp, 0xc
mov edx, dword [ebp - 0x5b4]
push edx
mov eax, dword [ebp + 0x28]
push eax
push 0x400
lea ecx, [ebp - 0x410]
push ecx
call fcn.00425e30
add esp, 0x10
mov dword [ebp - 0x5b4], 0
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x5a8]
call fcn.00419d60
mov dword [ebp - 0x5c4], eax
mov ecx, dword [ebp - 0x5c4]
mov dword [ebp - 0x5c8], ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x5c8]
call fcn.00418e30
push eax
lea ecx, [ebp - 0x5bc]
call fcn.004096a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5a8]
call fcn.00419d00
push 0xfde9
lea ecx, [ebp - 0x5bc]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
lea ecx, [ebp - 0x4a4]
call fcn.00425d90
mov dword [ebp - 0x5cc], eax
mov edx, dword [ebp - 0x5cc]
mov dword [ebp - 0x5d0], edx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x5d0]
call fcn.00418e30
push eax
lea ecx, [ebp - 0x5b8]
call fcn.004199f0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x4a4]
call fcn.00419d00
lea ecx, [ebp - 0x5ac]
call fcn.00425b00
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x5b8]
push eax
mov ecx, dword [ebp + 0x24]
push ecx
lea ecx, [ebp + 0xc]
call fcn.00419530
push eax
movzx edx, word [ebp - 0x414]
push edx
movzx eax, word [ebp - 0x416]
push eax
movzx ecx, word [ebp - 0x418]
push ecx
movzx edx, word [ebp - 0x41a]
push edx
movzx eax, word [ebp - 0x41e]
push eax
movzx ecx, word [ebp - 0x420]
push ecx
push 0x4d0d8c
lea edx, [ebp - 0x5ac]
push edx
call fcn.00425b20
add esp, 0x2c
mov eax, dword [ebp - 0x5b0]
push eax
lea ecx, [ebp - 0x5ac]
call fcn.00418e30
push eax
call fcn.0043d010
add esp, 4
push eax
push 1
lea ecx, [ebp - 0x5ac]
call fcn.00418e30
push eax
call fcn.0043ccbf
add esp, 0x10
mov ecx, dword [ebp - 0x5b0]
push ecx
call fcn.0043cf8f
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x5ac]
call fcn.004199d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5b8]
call fcn.004199d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5bc]
call fcn.00409680
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c0]
call fcn.004a8230
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004195f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042f10e
mov esp, ebp
pop ebp
ret