Function at 0x44a995
Capabilities:
Write file on windows

Disassembly:
push 0x80
mov eax, 0x500b54
call fcn.004d2c4d
mov edi, edx
mov dword [ebp - 0x84], edi
mov esi, ecx
mov dword [ebp - 0x80], esi
and dword [ebp - 0x74], 0
mov eax, dword fs:[0x2c]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x88], esi
mov ecx, dword [eax]
mov eax, dword [0x56bbc8]
mov dword [ebp - 0x78], ecx
cmp eax, dword [ecx + 4]
jle 0x44aa63
push 0x56bbc8
call fcn.004d24ae
cmp dword [0x56bbc8], 0xffffffff
pop ecx
jne 0x44aa63
mov dword [ebp - 4], 1
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
push str.HtmlHostNavError
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
call fcn.004d828d
pop ecx
push eax
push str.HtmlHostNavError
lea ecx, [ebp - 0x28]
call fcn.004087d4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
mov eax, dword [edi]
push ecx
push 0x56bbcc
mov ecx, edi
call dword [eax + 0x28]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.00404a9e
push 0x514fa7
call fcn.004d2317
mov byte [ebp - 4], 0
mov dword [esp], 0x56bbc8
call fcn.004d246f
pop ecx
cmp dword [0x56bbdc], 0
jne 0x44aa8b
and dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 7
mov word [esi], ax
and dword [ebp - 4], eax
mov dword [ebp - 0x74], 1
jmp 0x44ad25
push 1
call dword [sym.imp.msi.dll_MsiDatabaseExportA]
mov edi, eax
mov dword [ebp - 0x8c], edi
mov dword [ebp - 4], 3
test edi, edi
jne 0x44aac2
and dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 0x74], 1
mov byte [ebp - 4], al
jmp 0x44ad25
cmp dword [ebx + 0x14], 8
jb 0x44aaca
mov ebx, dword [ebx]
push ebx
mov ebx, dword [sym.imp.msi.dll_MsiReinstallFeatureW]
push 1
push edi
call ebx
test eax, eax
je 0x44aaf9
mov dword [esi + 0x14], 7
and dword [esi + 0x10], 0
xor eax, eax
mov word [esi], ax
mov dword [ebp - 0x74], 1
mov byte [ebp - 4], al
jmp 0x44ad1e
cmp dword [0x56bbe0], 8
mov eax, 0x56bbcc
cmovae eax, dword [0x56bbcc]
push eax
push 0
push edi
call ebx
test eax, eax
jne 0x44aada
mov ecx, dword [ebp - 0x84]
lea edx, [ebp - 0x70]
push edi
push edx
mov eax, dword [ecx]
call dword [eax + 0x4c]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x78]
mov eax, dword [0x56bbe4]
cmp eax, dword [ecx + 4]
jle 0x44ab73
mov ebx, 0x56bbe4
push ebx
call fcn.004d24ae
cmp dword [0x56bbe4], 0xffffffff
pop ecx
jne 0x44ab73
mov byte [ebp - 4], 5
mov ecx, 0x56bbe8
call fcn.0046bc10
push 0x514f9d
call fcn.004d2317
mov byte [ebp - 4], 4
push ebx
call fcn.004d246f
pop ecx
pop ecx
xor eax, eax
mov ebx, 0x527004
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
push ebx
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
call fcn.004d828d
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.004087d4
mov byte [ebp - 4], 6
lea edx, [ebp - 0x28]
push 1
lea ecx, [ebp - 0x58]
call fcn.00463800
pop ecx
mov byte [ebp - 4], 8
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00404a9e
mov dword [ebp - 0x30], ebx
xor eax, eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov ebx, str.html
push ebx
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.004d828d
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x40]
call fcn.004087d4
mov byte [ebp - 4], 9
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x58]
call fcn.00463390
mov byte [ebp - 4], 8
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.00404a9e
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x58]
call fcn.004648e0
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 8
jb 0x44ac27
mov eax, dword [eax]
push ebx
push 0x80
push 2
push ebx
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
and dword [ebp - 0x78], 0
mov ebx, eax
mov dword [ebp - 0x7c], ebx
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x40]
push 0
push 1
call fcn.00404a9e
cmp ebx, 0xffffffff
jne 0x44aca6
xor ebx, ebx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
xor eax, eax
mov word [esi], ax
mov dword [ebp - 0x74], 1
mov byte [ebp - 4], 8
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x7c], ebx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
push ebx
push 1
call fcn.00404a9e
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
push ebx
push 1
call fcn.00404a9e
mov byte [ebp - 4], bl
jmp 0x44ad1e
lea eax, [ebp - 0x58]
mov ecx, 0x56bbe8
push eax
call fcn.0046c680
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x70]
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x80]
cmovae ecx, dword [ebp - 0x70]
add eax, eax
and dword [ebp - 0x80], 0
push 0
push edx
push eax
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
lea ecx, [ebp - 0x58]
call fcn.004648e0
mov dword [ebp - 0x74], 1
mov byte [ebp - 4], 8
test ebx, ebx
je 0x44acfa
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x7c], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
push 0
push 1
call fcn.00404a9e
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
push 0
push 1
call fcn.00404a9e
mov byte [ebp - 4], 0
push edi
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov eax, esi
call fcn.004d2bf7
ret