Function at 0x4a2770
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b14b2
mov eax, dword fs:[0]
push eax
sub esp, 0x1c4
mov eax, dword [0x4ea00c]
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.004a7370
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1ac]
call sym.Install_rocket.exe_private:_bool___thiscall_CNsLog::isLog_void_
movzx ecx, al
test ecx, ecx
jne 0x4a27f6
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c0]
call fcn.004a73a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004185a0
jmp 0x4a29d3
mov ecx, dword [ebp - 0x1ac]
add ecx, 0x10
call fcn.004116c0
movzx edx, al
test edx, edx
je 0x4a2816
mov ecx, dword [ebp - 0x1ac]
call sym.Install_rocket.exe_private:_bool___thiscall_CNsLog::GetDefLogPath_void_
push 0x4cfd34
mov ecx, dword [ebp - 0x1ac]
add ecx, 0x10
call sym.Install_rocket.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call fcn.0043c019
add esp, 8
mov dword [ebp - 0x1b4], eax
cmp dword [ebp - 0x1b4], 0
je 0x4a29b5
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.00418ee0
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.00417de0
push eax
lea ecx, [ebp - 0x1bc]
call fcn.004096a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1a8]
call fcn.00418e80
push 0xfde9
lea ecx, [ebp - 0x1bc]
call sym.Install_rocket.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
lea ecx, [ebp - 0xa4]
call fcn.00424f20
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.00417de0
push eax
lea ecx, [ebp - 0x1b8]
call fcn.004189a0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xa4]
call fcn.00418e80
lea ecx, [ebp - 0x1b0]
call fcn.00424c90
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.004184e0
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 0x4cfd08
lea eax, [ebp - 0x1b0]
push eax
call fcn.00424cb0
add esp, 0x2c
mov ecx, dword [ebp - 0x1b4]
push ecx
lea ecx, [ebp - 0x1b0]
call fcn.00417de0
push eax
call fcn.0043c190
add esp, 4
push eax
push 1
lea ecx, [ebp - 0x1b0]
call fcn.00417de0
push eax
call fcn.0043be3f
add esp, 0x10
mov edx, dword [ebp - 0x1b4]
push edx
call fcn.0043c10f
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1b0]
call fcn.00418980
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1b8]
call fcn.00418980
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1bc]
call fcn.00409680
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c0]
call fcn.004a73a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004185a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042e29e
mov esp, ebp
pop ebp
ret 0x20