Function at 0x44960f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4354
call fcn.004f5240
mov eax, dword [0x5e108c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x4348], eax
cmp dword [edi + 4], 0xffffffff
je 0x449641
mov ecx, dword [edi]
call fcn.00449031
mov ecx, dword [edi]
or dword [edi + 4], 0xffffffff
mov esi, dword [ebp + 8]
cmp esi, dword [ecx + 4]
jl 0x449659
mov eax, 0x10000
jmp 0x44987e
cmp esi, dword [ecx + 0x10]
jge 0x44966c
call fcn.00448bc5
jmp 0x44966c
mov ecx, dword [edi]
call fcn.00448bfc
mov eax, dword [edi]
cmp dword [eax + 0x10], esi
jl 0x449665
lea eax, [ebp - 0x4340]
mov ecx, edi
push eax
push esi
call fcn.00449181
test byte [ebp - 0x4238], 0x10
je 0x4496b6
push ecx
lea edx, [ebp - 0x210]
lea ecx, [ebp - 0x433c]
call fcn.0044846d
pop ecx
lea ecx, [edi + 0x138]
lea edx, [ebp - 0x210]
call fcn.00449516
xor eax, eax
jmp 0x44987e
mov ecx, dword [ebp - 0x4348]
xor ebx, ebx
mov edx, ecx
mov esi, ecx
movzx eax, word [ecx]
test ax, ax
je 0x4497d1
mov dword [ebp - 0x434c], 0x2f
mov dword [ebp - 0x4350], 0x5c
cmp ax, word [ebp - 0x434c]
je 0x4496f4
cmp ax, word [ebp - 0x4350]
jne 0x4496f7
lea edx, [esi + 2]
add esi, 2
movzx eax, word [esi]
test ax, ax
jne 0x4496e2
cmp edx, ecx
je 0x4497d1
lea eax, [ebp - 0x210]
mov esi, ecx
sub eax, ecx
mov ecx, eax
movzx eax, word [esi]
mov word [ecx + esi], ax
lea esi, [esi + 2]
test ax, ax
jne 0x449716
sub edx, dword [ebp - 0x4348]
sar edx, 1
lea edx, [edx*2 - 2]
cmp edx, 0x208
jae 0x449891
xor eax, eax
mov word [ebp + edx - 0x210], ax
mov eax, dword [ebp - 0x434c]
cmp word [ebp - 0x210], ax
je 0x449778
mov eax, dword [ebp - 0x4350]
cmp word [ebp - 0x210], ax
je 0x449778
cmp word [ebp - 0x20e], 0x3a
mov byte [ebp - 0x4341], bl
jne 0x44977f
mov byte [ebp - 0x4341], 1
lea eax, [ebp - 0x210]
push 0x5c3314
push eax
call fcn.00508603
mov esi, eax
lea eax, [ebp - 0x210]
push 0x5c331c
push eax
call fcn.00508603
add esp, 0x10
test eax, eax
setne cl
test esi, esi
setne al
or cl, al
or cl, byte [ebp - 0x4341]
jne 0x4497cb
lea ecx, [edi + 0x138]
lea edx, [ebp - 0x210]
call fcn.00449516
mov ecx, dword [ebp - 0x4348]
push ebx
push dword [ebp - 0x4238]
push 2
push ebx
push ebx
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4497f9
mov eax, 0x200
jmp 0x44987e
mov ecx, dword [edi]
call fcn.00448de2
jmp 0x44981f
je 0x449838
push ebx
lea ecx, [ebp - 0x4354]
push ecx
push eax
lea eax, [ebp - 0x4210]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x449836
mov ecx, dword [edi]
lea edx, [ebp - 0x4210]
push 0x4000
call fcn.00448ed2
pop ecx
test eax, eax
jns 0x449802
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
jne 0x449864
test bl, bl
jne 0x449864
lea eax, [ebp - 0x4224]
push eax
lea eax, [ebp - 0x4234]
push eax
lea eax, [ebp - 0x422c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi]
call fcn.00449031
xor eax, eax
mov ecx, 0x400
test bl, bl
cmovne eax, ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f4655
mov esp, ebp
pop ebp
ret 0x10
call fcn.004f4bcb
int3