Function at 0x44d80e
Capabilities:
Write file on windows

Disassembly:
push 0x80
mov eax, 0x5017f6
call fcn.004cea37
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 [0x573aa0]
mov dword [ebp - 0x78], ecx
cmp eax, dword [ecx + 4]
jle 0x44d8dc
push 0x573aa0
call fcn.004ce295
cmp dword [0x573aa0], 0xffffffff
pop ecx
jne 0x44d8dc
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.004d3ded
pop ecx
push eax
push str.HtmlHostNavError
lea ecx, [ebp - 0x28]
call fcn.00407ba8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
mov eax, dword [edi]
push ecx
push 0x573aa4
mov ecx, edi
call dword [eax + 0x28]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.004048ce
push 0x5176ab
call fcn.004ce0fe
mov byte [ebp - 4], 0
mov dword [esp], 0x573aa0
call fcn.004ce256
pop ecx
cmp dword [0x573ab4], 0
jne 0x44d904
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 0x44db9e
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 0x44d93b
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 0x44db9e
cmp dword [ebx + 0x14], 8
jb 0x44d943
mov ebx, dword [ebx]
push ebx
mov ebx, dword [sym.imp.msi.dll_MsiReinstallFeatureW]
push 1
push edi
call ebx
test eax, eax
je 0x44d972
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 0x44db97
cmp dword [0x573ab8], 8
mov eax, 0x573aa4
cmovae eax, dword [0x573aa4]
push eax
push 0
push edi
call ebx
test eax, eax
jne 0x44d953
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 [0x573abc]
cmp eax, dword [ecx + 4]
jle 0x44d9ec
mov ebx, 0x573abc
push ebx
call fcn.004ce295
cmp dword [0x573abc], 0xffffffff
pop ecx
jne 0x44d9ec
mov byte [ebp - 4], 5
mov ecx, 0x573ac0
call fcn.0046fc70
push 0x5176a1
call fcn.004ce0fe
mov byte [ebp - 4], 4
push ebx
call fcn.004ce256
pop ecx
pop ecx
xor eax, eax
mov ebx, 0x52d0e4
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.004d3ded
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.00407ba8
mov byte [ebp - 4], 6
lea edx, [ebp - 0x28]
push 1
lea ecx, [ebp - 0x58]
call fcn.00465ca0
pop ecx
mov byte [ebp - 4], 8
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.004048ce
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.004d3ded
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x40]
call fcn.00407ba8
mov byte [ebp - 4], 9
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x58]
call fcn.00465830
mov byte [ebp - 4], 8
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.004048ce
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x58]
call fcn.00466ec0
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 8
jb 0x44daa0
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.004048ce
cmp ebx, 0xffffffff
jne 0x44db1f
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.004048ce
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
push ebx
push 1
call fcn.004048ce
mov byte [ebp - 4], bl
jmp 0x44db97
lea eax, [ebp - 0x58]
mov ecx, 0x573ac0
push eax
call fcn.004706b0
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.00466ec0
mov dword [ebp - 0x74], 1
mov byte [ebp - 4], 8
test ebx, ebx
je 0x44db73
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.004048ce
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
push 0
push 1
call fcn.004048ce
mov byte [ebp - 4], 0
push edi
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov eax, esi
call fcn.004ce9e1
ret