Function at 0x44f59c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404b48
xor eax, eax
push ebp
push 0x44f7ba
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x29], 0
je 0x44f78a
mov eax, dword [ebp - 4]
cmp byte [eax + 0x28], 0
jne 0x44f647
mov eax, dword [ebp - 4]
mov byte [eax + 0x28], 0
push 0
push 0x80
push 4
push 0
push 3
push 0x40000000
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.00404b58
push eax
call sub.kernel32.dll_CreateFileA
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x1c], ebx
cmp ebx, 0xffffffff
jne 0x44f635
push 0x40040
push 0x44f7c8
push 0x44f7d4
push 0
call sub.user32.dll_MessageBoxA_1
jmp 0x44f647
push 2
push 0
push 0
push ebx
call sub.kernel32.dll_SetFilePointer
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1c], 0xffffffff
je 0x44f78a
mov eax, dword [ebp - 4]
add eax, 4
push eax
call sub.kernel32.dll_EnterCriticalSection_1
xor eax, eax
push ebp
push 0x44f783
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0044f390
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.00404aa4
je 0x44f6f7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
push eax
call sub.kernel32.dll_FlushFileBuffers
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
push eax
call sub.kernel32.dll_CloseHandle
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0044f390
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
add eax, 0x24
call fcn.004046ec
push 0
push 0x80
push 4
push 0
push 3
push 0x40000000
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.00404b58
push eax
call sub.kernel32.dll_CreateFileA
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x1c], ebx
push 2
push 0
push 0
push ebx
call sub.kernel32.dll_SetFilePointer
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040aae4
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x30]
mov eax, 0x44f7f0
call fcn.0040b774
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x2c]
mov ecx, 1
mov eax, 0x44f80c
call fcn.00409e9c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
mov ecx, 0x44f81c
call fcn.004049a4
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404958
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
push eax
call sub.kernel32.dll_WriteFile_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f78a
mov eax, dword [ebp - 4]
add eax, 4
push eax
call sub.kernel32.dll_LeaveCriticalSection_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f7c1
lea eax, [ebp - 0x30]
call fcn.00404698
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.004046bc
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004046bc
ret