Function at 0x444860
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e7c11
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x572734]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x115], 0
call fcn.00406200
mov dword [ebp - 0x140], eax
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.MSVCR120.dll_wcslen]
add esp, 4
add eax, 0x12
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x114], 0
push 0x103
push 0
lea ecx, [ebp - 0x113]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
push section..data_1
mov edx, dword [ebp - 0x12c]
push edx
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.MSVCR120.dll_strcpy_s]
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x11c], ecx
cmp dword [ebp - 0x11c], 0
jne 0x44490a
mov dword [ebp - 0x134], 0
jmp 0x444983
mov edx, dword [ebp - 0x11c]
push edx
call dword [sym.imp.MSVCR120.dll_wcslen]
add esp, 4
add eax, 1
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0x3fffffff
jle 0x44493b
mov dword [ebp - 0x138], 0
jmp 0x444977
mov eax, dword [ebp - 0x128]
shl eax, 1
call fcn.004e1240
mov dword [ebp - 0x13c], esp
mov eax, dword [ebp - 0x140]
push eax
mov ecx, dword [ebp - 0x128]
shl ecx, 1
push ecx
mov edx, dword [ebp - 0x11c]
push edx
mov eax, dword [ebp - 0x13c]
push eax
call fcn.004060d0
mov dword [ebp - 0x138], eax
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x134], ecx
mov edx, dword [ebp - 0x134]
push edx
mov eax, dword [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.MSVCR120.dll_strcat_s]
add esp, 0xc
lea edx, [ebp - 0x114]
mov dword [ebp - 0x130], edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x130]
push eax
call sub.MSVCR120.dll_strlen
add esp, 4
push eax
mov ecx, dword [ebp - 0x130]
push ecx
call fcn.0048e290
mov byte [ebp - 0x115], al
movzx edx, byte [ebp - 0x115]
test edx, edx
je 0x444b0c
mov byte [ebp - 0x115], 0
lea ecx, [ebp - 0x15c]
call fcn.004152e0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x104
lea ecx, [ebp - 0x15c]
call fcn.00415890
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov edx, dword [ebp + 8]
push edx
call fcn.00443df0
movzx eax, al
test eax, eax
jne 0x444a39
mov ecx, dword [ebp + 8]
push ecx
call fcn.00443ea0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x150], 0xc
mov dword [ebp - 0x148], 0
lea edx, [ebp - 0x150]
push edx
call fcn.00444170
movzx eax, al
test eax, eax
je 0x444a76
lea ecx, [ebp - 0x150]
mov dword [ebp - 0x120], ecx
push 0
push 0x22
push 2
mov edx, dword [ebp - 0x120]
push edx
push 0
push 0x40000000
lea ecx, [ebp - 0x15c]
call fcn.004157f0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0xffffffff
je 0x444aee
push 0
lea eax, [ebp - 0x144]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x124]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x444ae1
mov edx, dword [ebp + 0x14]
cmp edx, dword [ebp - 0x144]
jne 0x444ae1
mov byte [ebp - 0x115], 1
mov eax, dword [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x120]
push ecx
call fcn.004441c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x15c]
call fcn.00415310
mov al, byte [ebp - 0x115]
lea esp, [ebp - 0x160]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e11cc
mov esp, ebp
pop ebp
ret 0x10