Function at 0x44ee59
Capabilities:
Write file on windows

Disassembly:
push 0x34
mov eax, 0x48de86
call fcn.00454dca
mov ebx, ecx
xor edi, edi
push edi
push 0x80
push 2
push edi
push edi
push 0x40000000
push dword [0x4b6c00]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
jne 0x44eea8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x44eea0
and eax, 0xffff
or eax, 0x80070000
call fcn.00454ea2
ret 4
mov esi, 0x4b6d04
push esi
lea ecx, [ebp - 0x14]
call fcn.0041acdf
push esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], edi
call fcn.0041acdf
mov esi, dword [ebp + 8]
push esi
push dword [esi + 0xc]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0042847d
push esi
push dword [esi + 0x10]
lea ecx, [ebp - 0x38]
call fcn.0042847d
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x40]
call fcn.0041f58d
test al, al
jne 0x44efc6
mov esi, 0x496690
lea ecx, [ebp - 0x40]
call fcn.004209a7
mov eax, dword [eax]
push str.autoupdate
push eax
call fcn.0045506c
pop ecx
pop ecx
test eax, eax
je 0x44ef9b
lea ecx, [ebp - 0x40]
call fcn.004209a7
push esi
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004223c1
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0042c25c
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.0041a963
lea ecx, [ebp - 0x40]
call fcn.004209a7
push dword [eax + 0xc]
push dword [eax + 8]
lea eax, [ebp - 0x2c]
push eax
call fcn.00440a94
push esi
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 3
call fcn.004223c1
add esp, 0x18
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0042c25c
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.0041a963
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.0041a963
lea ecx, [ebp - 0x40]
call fcn.00436207
mov eax, dword [ebp + 8]
push eax
push dword [eax + 0x10]
lea ecx, [ebp - 0x38]
call fcn.0042847d
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x40]
call fcn.0041f58d
test al, al
je 0x44eefa
push 0x2c
lea ecx, [ebp - 0x14]
call fcn.0044e0fa
push 0x2c
lea ecx, [ebp - 0x10]
call fcn.0044e0fa
push str.comp_names
lea ecx, [ebp - 0x3c]
call fcn.0041ed69
lea ecx, [ebp - 0x14]
push ecx
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 5
call fcn.0042236a
push str._r_ncomp_versions
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 6
call fcn.004223c1
lea ecx, [ebp - 0x10]
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 7
call fcn.0042236a
push str._r_ncmdline
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 8
call fcn.004223c1
push 0x4b6bf8
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 9
call fcn.0042236a
push 0x4984b4
push eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 0xa
call fcn.004223c1
add esp, 0x48
add ebx, 0x68
push ebx
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0xb
call fcn.0042236a
mov ecx, dword [ebp + 8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0041a963
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.0041a963
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.0041a963
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.0041a963
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.0041a963
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.0041a963
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.0041a963
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
lea eax, [ebp - 0x1c]
push eax
push 2
push 0x4984b0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], edi
call esi
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx - 0xc]
push edi
lea edx, [ebp - 0x1c]
push edx
add eax, eax
push eax
push ecx
push dword [ebp - 0x18]
call esi
test eax, eax
jne 0x44f12c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x44f102
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0041a963
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0041a963
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0041a963
mov eax, edi
jmp 0x44eea0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44f104