Function at 0x44a1e5
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x5d4]
sub esp, 0x654
mov eax, dword [0x5e5710]
xor eax, ebp
mov dword [ebp + 0x5d0], eax
cmp dword [ebp + 0x5e8], 3
push ebx
mov ebx, dword [ebp + 0x5e0]
push esi
push edi
mov esi, ecx
je 0x44a238
cmp dword [ebp + 0x5e8], 2
je 0x44a2e4
cmp dword [ebp + 0x5e8], 1
je 0x44a2e4
mov eax, 0x10000
jmp 0x44a570
mov eax, dword [esi + 4]
mov edi, dword [ebp + 0x5dc]
cmp edi, eax
je 0x44a28a
cmp eax, 0xffffffff
je 0x44a252
push dword [esi]
call fcn.004480bf
pop ecx
mov eax, dword [esi]
or dword [esi + 4], 0xffffffff
cmp edi, dword [eax + 4]
jge 0x44a22e
cmp edi, dword [eax + 0x10]
jge 0x44a272
push eax
call fcn.00447d1d
jmp 0x44a271
push dword [esi]
call fcn.00447d5b
pop ecx
mov eax, dword [esi]
cmp dword [eax + 0x10], edi
jl 0x44a26a
push dword [esi + 0x23c]
push eax
call fcn.00449da8
pop ecx
pop ecx
mov dword [esi + 4], edi
lea eax, [ebp - 0x71]
push eax
push dword [ebp + 0x5e4]
push ebx
push dword [esi]
call fcn.00449f09
mov edi, eax
add esp, 0x10
test edi, edi
jg 0x44a2b1
push dword [esi]
call fcn.004480bf
or dword [esi + 4], 0xffffffff
pop ecx
cmp byte [ebp - 0x71], 0
je 0x44a2be
xor eax, eax
jmp 0x44a570
test edi, edi
jle 0x44a2cc
mov eax, 0x600
jmp 0x44a570
xor eax, eax
cmp edi, 0xffffff96
setne al
dec eax
and eax, 0xfb001000
add eax, 0x5000000
jmp 0x44a570
cmp dword [esi + 4], 0xffffffff
je 0x44a2f2
push dword [esi]
call fcn.004480bf
pop ecx
mov eax, dword [esi]
mov edi, dword [ebp + 0x5dc]
or dword [esi + 4], 0xffffffff
cmp edi, dword [eax + 4]
jge 0x44a22e
cmp edi, dword [eax + 0x10]
jge 0x44a31c
push eax
call fcn.00447d1d
jmp 0x44a31b
push dword [esi]
call fcn.00447d5b
pop ecx
mov eax, dword [esi]
cmp dword [eax + 0x10], edi
jl 0x44a314
lea eax, [ebp - 0x70]
push eax
push edi
mov ecx, esi
call fcn.0044826c
mov eax, dword [ebp + 0x19c]
shr eax, 4
test al, 1
je 0x44a37d
cmp dword [ebp + 0x5e8], 1
je 0x44a2b7
movzx eax, word [ebx]
cmp ax, 0x2f
je 0x44a364
cmp ax, 0x5c
je 0x44a364
test ax, ax
je 0x44a369
cmp word [ebx + 2], 0x3a
jne 0x44a369
push ebx
push 0
jmp 0x44a371
push ebx
add esi, 0x244
push esi
call fcn.004487a7
pop ecx
pop ecx
jmp 0x44a2b7
and word [ebp + 0x1c0], 0
cmp dword [ebp + 0x5e8], 1
jne 0x44a396
mov dword [ebp - 0x7c], ebx
jmp 0x44a432
movzx eax, word [ebx]
test ax, ax
mov edi, ebx
mov ecx, ebx
je 0x44a3be
movzx eax, ax
cmp ax, 0x2f
je 0x44a3b1
cmp ax, 0x5c
jne 0x44a3b4
lea edi, [ecx + 2]
inc ecx
inc ecx
movzx eax, word [ecx]
test ax, ax
jne 0x44a3a5
push 0x104
lea eax, [ebp + 0x3c8]
push ebx
push eax
call dword [sym.imp.MSVCR80.dll_wcsncpy]
add esp, 0xc
cmp edi, ebx
jne 0x44a442
and word [ebp + 0x3c8], 0
push edi
lea eax, [ebp + 0x3c8]
push eax
lea ebx, [esi + 0x244]
push ebx
lea eax, [ebp + 0x1c0]
push str._s_s_s
push eax
call fcn.004176bd
lea eax, [ebp + 0x3c8]
push eax
push ebx
call fcn.004487a7
add esp, 0x1c
xor eax, eax
push eax
push dword [ebp + 0x19c]
push 2
push eax
push eax
push 0x40000000
lea eax, [ebp + 0x1c0]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0xffffffff
jne 0x44a4b0
mov eax, 0x200
jmp 0x44a570
mov eax, edi
sub eax, ebx
sar eax, 1
and word [ebp + eax*2 + 0x3c8], 0
cmp word [ebp + 0x3c8], 0x2f
je 0x44a481
cmp word [ebp + 0x3c8], 0x5c
je 0x44a481
cmp word [ebp + 0x3c8], 0
je 0x44a3e0
cmp word [ebp + 0x3ca], 0x3a
jne 0x44a3e0
push edi
lea eax, [ebp + 0x3c8]
push eax
lea eax, [ebp + 0x1c0]
push 0x58d2b4
push eax
call fcn.004176bd
lea eax, [ebp + 0x3c8]
push eax
push 0
call fcn.004487a7
add esp, 0x18
jmp 0x44a410
push dword [esi + 0x23c]
push dword [esi]
call fcn.00449da8
cmp dword [esi + 0x240], 0
pop ecx
pop ecx
mov ebx, 0x4000
jne 0x44a4da
push ebx
call fcn.0056f1ce
pop ecx
mov dword [esi + 0x240], eax
and dword [ebp - 0x78], 0
lea eax, [ebp - 0x71]
push eax
push ebx
push dword [esi + 0x240]
push dword [esi]
call fcn.00449f09
mov edi, eax
add esp, 0x10
cmp edi, 0xffffff96
je 0x44a58a
test edi, edi
jl 0x44a528
jle 0x44a51e
push 0
lea eax, [ebp - 0x80]
push eax
push edi
push dword [esi + 0x240]
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x44a593
cmp byte [ebp - 0x71], 0
jne 0x44a52f
test edi, edi
jne 0x44a4de
mov dword [ebp - 0x78], 0x5000000
push dword [esi]
call fcn.004480bf
cmp dword [ebp - 0x78], 0
pop ecx
jne 0x44a55b
lea eax, [ebp + 0x1b0]
push eax
lea eax, [ebp + 0x1a0]
push eax
lea eax, [ebp + 0x1a8]
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
cmp dword [ebp + 0x5e8], 1
je 0x44a56d
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp + 0x5d0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056f17c
add ebp, 0x5d4
leave
ret 0x10
mov dword [ebp - 0x78], 0x1000
jmp 0x44a52f
mov dword [ebp - 0x78], 0x400
jmp 0x44a52f