Function at 0x42aaac
Capabilities:
Write file on windows

Disassembly:
push 0x78
mov eax, 0x496664
call fcn.0047abd7
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 - 0x58], eax
test byte [0x4c294c], bl
jne 0x42ab1b
or dword [0x4c294c], ebx
mov dword [ebp - 4], ebx
push str.HtmlHostNavError
lea ecx, [ebp - 0x7c]
call fcn.00403740
mov byte [ebp - 4], 2
mov eax, dword [edi]
lea ecx, [ebp - 0x7c]
push ecx
push 0x4c2930
mov ecx, edi
call dword [eax + 0x24]
mov byte [ebp - 4], bl
push 0
push ebx
lea ecx, [ebp - 0x7c]
call fcn.0040292b
push 0x49b259
call fcn.004772c4
pop ecx
mov byte [ebp - 4], 0
cmp dword [0x4c2944], 0
jne 0x42ab39
mov ecx, esi
call fcn.00403354
and dword [ebp - 4], 0
mov dword [ebp - 0x50], ebx
mov eax, esi
jmp 0x42ad59
push ebx
call sub.msi.dll_MsiDatabaseExportA
mov esi, eax
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x80], esi
mov dword [ebp - 4], 3
test esi, esi
jne 0x42ab66
mov ecx, dword [ebp - 0x4c]
call fcn.00403354
mov dword [ebp - 0x50], ebx
mov byte [ebp - 4], 0
jmp 0x42ad56
mov eax, dword [ebp - 0x58]
cmp dword [eax + 0x18], 8
jb 0x42ab74
mov eax, dword [eax + 4]
jmp 0x42ab77
add eax, 4
push eax
push ebx
push esi
call sub.msi.dll_MsiReinstallFeatureW
test eax, eax
je 0x42ab98
mov ecx, dword [ebp - 0x4c]
call fcn.00403354
mov dword [ebp - 0x50], ebx
mov byte [ebp - 4], 0
push esi
jmp 0x42ad51
cmp dword [0x4c2948], 8
mov eax, dword [0x4c2934]
jae 0x42abab
mov eax, 0x4c2934
push eax
push 0
push esi
call sub.msi.dll_MsiReinstallFeatureW
test eax, eax
jne 0x42ab83
mov eax, dword [edi]
push esi
lea ecx, [ebp - 0x48]
push ecx
mov ecx, edi
call dword [eax + 0x40]
mov byte [ebp - 4], 4
test byte [0x4c294c], 2
jne 0x42abf6
or dword [0x4c294c], 2
mov byte [ebp - 4], 5
push ebx
push 0x4c2914
call fcn.0043af40
push 0x49b24c
call fcn.004772c4
pop ecx
mov byte [ebp - 4], 4
push 0x4a3204
lea ecx, [ebp - 0x7c]
call fcn.00403740
mov byte [ebp - 4], 6
push ebx
lea ecx, [ebp - 0x7c]
lea edi, [ebp - 0x2c]
call fcn.004339c0
pop ecx
mov byte [ebp - 4], 8
xor esi, esi
push esi
push ebx
lea ecx, [ebp - 0x7c]
call fcn.0040292b
push str.html
lea ecx, [ebp - 0x7c]
call fcn.00403740
mov byte [ebp - 4], 9
cmp dword [ebp - 0x68], esi
je 0x42ac61
mov esi, 0x4a4de0
push esi
call fcn.00477183
pop ecx
push eax
mov eax, esi
mov esi, edi
call fcn.0040aac1
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x7c]
push eax
mov ecx, edi
call fcn.0040ab88
xor esi, esi
mov byte [ebp - 4], 8
push esi
push ebx
lea ecx, [ebp - 0x7c]
call fcn.0040292b
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x42ac7b
lea eax, [ebp - 0x28]
push esi
push 0x80
push 2
push esi
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
xor edi, edi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], edi
mov byte [ebp - 4], 0xa
cmp esi, 0xffffffff
jne 0x42acde
mov ecx, dword [ebp - 0x4c]
call fcn.00403354
mov dword [ebp - 0x50], ebx
mov byte [ebp - 4], 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x5c], edi
mov byte [ebp - 4], 4
lea eax, [ebp - 0x2c]
push eax
call fcn.00408871
mov byte [ebp - 4], 3
push edi
push ebx
lea ecx, [ebp - 0x48]
call fcn.0040292b
mov byte [ebp - 4], 0
jmp 0x42ad4e
lea eax, [ebp - 0x2c]
push eax
mov ebx, 0x4c2914
call fcn.0043b2a0
xor edi, edi
lea eax, [ebp - 0x48]
call fcn.0042ad5f
mov ecx, dword [ebp - 0x34]
xor ebx, ebx
push ebx
lea edx, [ebp - 0x60]
push edx
add ecx, ecx
push ecx
push eax
push esi
mov dword [ebp - 0x60], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x2c]
push eax
call fcn.00403369
inc edi
mov dword [ebp - 0x50], edi
mov byte [ebp - 4], 8
cmp esi, ebx
je 0x42ad30
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 4], 4
lea eax, [ebp - 0x2c]
push eax
call fcn.00408871
mov byte [ebp - 4], 3
push ebx
push edi
lea ecx, [ebp - 0x48]
call fcn.0040292b
mov byte [ebp - 4], bl
push dword [ebp - 0x54]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov eax, dword [ebp - 0x4c]
call fcn.0047ac5a
ret