Function at 0x447c99
Capabilities:
Write file on windows

Disassembly:
push 0x78
mov eax, 0x4f6cf2
call fcn.004cd03b
mov eax, dword [ebp + 8]
and dword [ebp - 0x50], 0
xor ebx, ebx
inc ebx
mov esi, ecx
mov dword [ebp - 0x4c], esi
mov edi, edx
mov dword [ebp - 0x54], eax
test byte [0x549cfc], bl
jne 0x447d08
or dword [0x549cfc], ebx
mov dword [ebp - 4], ebx
push str.HtmlHostNavError
lea ecx, [ebp - 0x80]
call fcn.0040521c
mov byte [ebp - 4], 2
mov eax, dword [edi]
lea ecx, [ebp - 0x80]
push ecx
push 0x549ce0
mov ecx, edi
call dword [eax + 0x28]
mov byte [ebp - 4], bl
push 0
push ebx
lea ecx, [ebp - 0x80]
call fcn.00401774
push 0x50120a
call fcn.004c6971
pop ecx
mov byte [ebp - 4], 0
cmp dword [0x549cf4], 0
jne 0x447d26
mov ecx, esi
call fcn.00401706
and dword [ebp - 4], 0
mov dword [ebp - 0x50], ebx
mov eax, esi
jmp 0x447f4a
push ebx
call sub.msi.dll_MsiDatabaseExportA
mov esi, eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x84], esi
mov dword [ebp - 4], 3
test esi, esi
jne 0x447d56
mov ecx, dword [ebp - 0x4c]
call fcn.00401706
mov dword [ebp - 0x50], ebx
mov byte [ebp - 4], 0
jmp 0x447f47
mov eax, dword [ebp - 0x54]
cmp dword [eax + 0x18], 8
jb 0x447d64
mov eax, dword [eax + 4]
jmp 0x447d67
add eax, 4
push eax
push ebx
push esi
call sub.msi.dll_MsiReinstallFeatureW
test eax, eax
je 0x447d88
mov ecx, dword [ebp - 0x4c]
call fcn.00401706
mov dword [ebp - 0x50], ebx
mov byte [ebp - 4], 0
push esi
jmp 0x447f42
cmp dword [0x549cf8], 8
mov eax, dword [0x549ce4]
jae 0x447d9b
mov eax, 0x549ce4
push eax
push 0
push esi
call sub.msi.dll_MsiReinstallFeatureW
test eax, eax
jne 0x447d73
mov eax, dword [edi]
push esi
lea ecx, [ebp - 0x48]
push ecx
mov ecx, edi
call dword [eax + 0x4c]
mov byte [ebp - 4], 4
test byte [0x549cfc], 2
jne 0x447de5
or dword [0x549cfc], 2
mov byte [ebp - 4], 5
push 0x549c98
call fcn.004647d0
push 0x5011fd
call fcn.004c6971
pop ecx
mov byte [ebp - 4], 4
push 0x50c804
lea ecx, [ebp - 0x80]
call fcn.0040521c
mov byte [ebp - 4], 6
lea eax, [ebp - 0x2c]
push ebx
push eax
lea ecx, [ebp - 0x80]
call fcn.0045d190
pop ecx
pop ecx
mov byte [ebp - 4], 8
push 0
push ebx
lea ecx, [ebp - 0x80]
call fcn.00401774
push str.html
lea ecx, [ebp - 0x80]
call fcn.0040521c
mov byte [ebp - 4], 9
lea edi, [ebp - 0x80]
lea eax, [ebp - 0x2c]
call fcn.0045ccd0
mov byte [ebp - 4], 8
push 0
push ebx
mov ecx, edi
call fcn.00401774
lea esi, [ebp - 0x80]
lea ecx, [ebp - 0x2c]
call fcn.0045ddf0
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x18], 8
jb 0x447e58
mov eax, dword [eax + 4]
jmp 0x447e5b
add eax, 4
xor edi, edi
push edi
push 0x80
push 2
push edi
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], edi
mov byte [ebp - 4], 0xc
push edi
push ebx
lea ecx, [ebp - 0x80]
call fcn.00401774
cmp esi, 0xffffffff
jne 0x447ecb
mov ecx, dword [ebp - 0x4c]
call fcn.00401706
mov dword [ebp - 0x50], ebx
mov byte [ebp - 4], 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x64], edi
mov byte [ebp - 4], 4
lea eax, [ebp - 0x2c]
push eax
call fcn.00404867
mov byte [ebp - 4], 3
push edi
push ebx
lea ecx, [ebp - 0x48]
call fcn.00401774
mov byte [ebp - 4], 0
jmp 0x447f3f
lea eax, [ebp - 0x2c]
push eax
mov ebx, 0x549c98
call fcn.00465240
xor edi, edi
lea eax, [ebp - 0x48]
call fcn.00447f50
mov ecx, dword [ebp - 0x34]
xor ebx, ebx
push ebx
lea edx, [ebp - 0x5c]
push edx
add ecx, ecx
push ecx
push eax
push esi
mov dword [ebp - 0x5c], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, dword [ebp - 0x4c]
lea ecx, [ebp - 0x2c]
call fcn.0045ddf0
xor esi, esi
inc esi
mov dword [ebp - 0x50], esi
mov byte [ebp - 4], 8
cmp dword [ebp - 0x54], ebx
je 0x447f21
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x64], ebx
mov byte [ebp - 4], 4
lea eax, [ebp - 0x2c]
push eax
call fcn.00404867
mov byte [ebp - 4], 3
push ebx
push esi
lea ecx, [ebp - 0x48]
call fcn.00401774
mov byte [ebp - 4], bl
push dword [ebp - 0x58]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov eax, dword [ebp - 0x4c]
call fcn.004cd0be
ret