Function at 0x4576a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1840
call fcn.00468610
mov eax, dword [0x4ce724]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x808], 0
push 0x7ff
push 0
lea eax, [ebp - 0x807]
push eax
call fcn.00468010
add esp, 0xc
push 0x4ea138
call fcn.00468ad0
add esp, 4
test eax, eax
jne 0x457707
push 0x104
push 0x4ea138
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x4ea138
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov dword [0x4ea130], eax
cmp dword [0x4ce634], 0
je 0x457806
cmp dword [0x4ea12c], 0
jne 0x457742
push str.TMonitor
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x4ea12c], eax
cmp dword [0x4ea12c], 0
jne 0x457742
mov dword [0x4ea12c], 0xffffffff
cmp dword [0x4ea12c], 0xffffffff
je 0x457806
mov byte [ebp - 0xfe8], 0
push 0x7cf
push 0
lea ecx, [ebp - 0xfe7]
push ecx
call fcn.00468010
add esp, 0xc
lea edx, [ebp + 0xc]
mov dword [ebp - 0x818], edx
mov eax, dword [ebp - 0x818]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x7d0
lea edx, [ebp - 0xfe8]
push edx
call fcn.0046f1f6
add esp, 0x10
mov dword [ebp - 0x818], 0
lea eax, [ebp - 0xfe8]
push eax
mov ecx, dword [0x4ea130]
push ecx
push str.__s___s
lea edx, [ebp - 0x808]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov dword [ebp - 0x814], 0
lea eax, [ebp - 0x808]
mov dword [ebp - 0x80c], eax
lea ecx, [ebp - 0x808]
push ecx
call fcn.00468ad0
add esp, 4
add eax, 1
mov dword [ebp - 0x810], eax
lea edx, [ebp - 0x814]
push edx
push 0
push 0x4a
mov eax, dword [0x4ea12c]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [0x4ce630], 0
je 0x457940
cmp dword [0x4ea128], 0
jne 0x457841
push 0
push 0x4be4b0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x4ea128], eax
cmp dword [0x4ea128], 0
jne 0x457841
mov dword [0x4ea128], 0xffffffff
cmp dword [0x4ea128], 0xffffffff
je 0x457940
mov byte [ebp - 0x1068], 0
push 0x63
push 0
lea ecx, [ebp - 0x1067]
push ecx
call fcn.00468010
add esp, 0xc
lea edx, [ebp - 0x1000]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x64
lea eax, [ebp - 0x1068]
push eax
push 0
lea ecx, [ebp - 0x1000]
push ecx
push inet_addr
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
mov byte [ebp - 0x1838], 0
push 0x7cf
push 0
lea edx, [ebp - 0x1837]
push edx
call fcn.00468010
add esp, 0xc
lea eax, [ebp + 0xc]
mov dword [ebp - 0xff0], eax
mov ecx, dword [ebp - 0xff0]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x7d0
lea eax, [ebp - 0x1838]
push eax
call fcn.0046f1f6
add esp, 0x10
mov dword [ebp - 0xff0], 0
lea ecx, [ebp - 0x1838]
push ecx
mov edx, dword [0x4ea130]
push edx
lea eax, [ebp - 0x1068]
push eax
push str._s____s___s
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0x78
mov edx, dword [0x4ea128]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0xfec], eax
lea eax, [ebp - 0x808]
push eax
push 0
push 0x180
mov ecx, dword [ebp - 0xfec]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [0x4e9f10], 0
je 0x4579e0
push 0
push 0
push 4
push 0
push 0
push 0xc0000000
push str.C:log.txt
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x183c], eax
cmp dword [ebp - 0x183c], 0xffffffff
je 0x4579e0
push 2
push 0
push 0
mov edx, dword [ebp - 0x183c]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x1840]
push eax
lea ecx, [ebp - 0x808]
push ecx
call fcn.00468ad0
add esp, 4
push eax
lea edx, [ebp - 0x808]
push edx
mov eax, dword [ebp - 0x183c]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea ecx, [ebp - 0x1840]
push ecx
push 2
push 0x4be4d8
mov edx, dword [ebp - 0x183c]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x183c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00467fff
mov esp, ebp
pop ebp
ret