Function at 0x49d390
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4abc80
mov eax, dword fs:[0]
push eax
sub esp, 0x5c4
mov eax, dword [0x4e3074]
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.004a2250
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
call sym.Install_silent.exe_private:_bool___thiscall_CNsLog::isLog_void_
movzx ecx, al
test ecx, ecx
jne 0x49d40a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c0]
call fcn.004a2280
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00409220
jmp 0x49d63e
mov ecx, dword [ebp + 8]
add ecx, 0x10
call fcn.00417460
movzx edx, al
test edx, edx
je 0x49d424
mov ecx, dword [ebp + 8]
call sym.Install_silent.exe_private:_bool___thiscall_CNsLog::GetDefLogPath_void_
push 0x4c925c
mov ecx, dword [ebp + 8]
add ecx, 0x10
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call fcn.0045f83a
add esp, 8
mov dword [ebp - 0x5b0], eax
cmp dword [ebp - 0x5b0], 0
je 0x49d620
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x5b4], eax
push 0x400
push 0
lea ecx, [ebp - 0x410]
push ecx
call fcn.00456880
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.00421410
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.00409d00
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.00406ec0
push eax
lea ecx, [ebp - 0x5bc]
call fcn.00405080
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5a8]
call fcn.00406ed0
push 0xfde9
lea ecx, [ebp - 0x5bc]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
lea ecx, [ebp - 0x4a4]
call fcn.00421370
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.00406ec0
push eax
lea ecx, [ebp - 0x5b8]
call fcn.00406de0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x4a4]
call fcn.00406ed0
lea ecx, [ebp - 0x5ac]
call fcn.004210e0
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.00409160
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 0x4c9264
lea edx, [ebp - 0x5ac]
push edx
call fcn.00421100
add esp, 0x2c
mov eax, dword [ebp - 0x5b0]
push eax
lea ecx, [ebp - 0x5ac]
call fcn.00406ec0
push eax
call fcn.0045cd90
add esp, 4
push eax
push 1
lea ecx, [ebp - 0x5ac]
call fcn.00406ec0
push eax
call fcn.0045fdef
add esp, 0x10
mov ecx, dword [ebp - 0x5b0]
push ecx
call fcn.0045febd
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x5ac]
call fcn.00406dc0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5b8]
call fcn.00406dc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5bc]
call fcn.00405060
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c0]
call fcn.004a2280
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00409220
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042fc0d
mov esp, ebp
pop ebp
ret