Function at 0x4a3600
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2502
mov eax, dword fs:[0]
push eax
sub esp, 0x1c4
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 - 0x1ac], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1ac]
add eax, 0x18
push eax
lea ecx, [ebp - 0x1c0]
call fcn.004a8200
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1ac]
call sym.Install_adv.exe_private:_bool___thiscall_CNsLog::isLog_void_
movzx ecx, al
test ecx, ecx
jne 0x4a3686
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c0]
call fcn.004a8230
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004195f0
jmp 0x4a3863
mov ecx, dword [ebp - 0x1ac]
add ecx, 0x10
call fcn.00412880
movzx edx, al
test edx, edx
je 0x4a36a6
mov ecx, dword [ebp - 0x1ac]
call sym.Install_adv.exe_private:_bool___thiscall_CNsLog::GetDefLogPath_void_
push 0x4d0d1c
mov ecx, dword [ebp - 0x1ac]
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 - 0x1b4], eax
cmp dword [ebp - 0x1b4], 0
je 0x4a3845
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, dword [ebp + 0x24]
push ecx
lea ecx, [ebp - 0x1a8]
call fcn.00419d60
mov dword [ebp - 0x1c4], eax
mov edx, dword [ebp - 0x1c4]
mov dword [ebp - 0x1c8], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1c8]
call fcn.00418e30
push eax
lea ecx, [ebp - 0x1bc]
call fcn.004096a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1a8]
call fcn.00419d00
push 0xfde9
lea ecx, [ebp - 0x1bc]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
lea ecx, [ebp - 0xa4]
call fcn.00425d90
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x1d0], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x1d0]
call fcn.00418e30
push eax
lea ecx, [ebp - 0x1b8]
call fcn.004199f0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xa4]
call fcn.00419d00
lea ecx, [ebp - 0x1b0]
call fcn.00425b00
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x1b8]
push ecx
mov edx, dword [ebp + 0x20]
push edx
lea ecx, [ebp + 8]
call fcn.00419530
push eax
movzx eax, word [ebp - 0x14]
push eax
movzx ecx, word [ebp - 0x16]
push ecx
movzx edx, word [ebp - 0x18]
push edx
movzx eax, word [ebp - 0x1a]
push eax
movzx ecx, word [ebp - 0x1e]
push ecx
movzx edx, word [ebp - 0x20]
push edx
push 0x4d0d58
lea eax, [ebp - 0x1b0]
push eax
call fcn.00425b20
add esp, 0x2c
mov ecx, dword [ebp - 0x1b4]
push ecx
lea ecx, [ebp - 0x1b0]
call fcn.00418e30
push eax
call fcn.0043d010
add esp, 4
push eax
push 1
lea ecx, [ebp - 0x1b0]
call fcn.00418e30
push eax
call fcn.0043ccbf
add esp, 0x10
mov edx, dword [ebp - 0x1b4]
push edx
call fcn.0043cf8f
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1b0]
call fcn.004199d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1b8]
call fcn.004199d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1bc]
call fcn.00409680
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c0]
call fcn.004a8230
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
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 0x20