Function at 0x44d549
Capabilities:
Write file on windows

Disassembly:
push 0x80
mov eax, 0x4fee53
call fcn.004cc2a7
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 [0x56f9f0]
mov dword [ebp - 0x78], ecx
cmp eax, dword [ecx + 4]
jle 0x44d617
push 0x56f9f0
call fcn.004cbb08
cmp dword [0x56f9f0], 0xffffffff
pop ecx
jne 0x44d617
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.004d163d
pop ecx
push eax
push str.HtmlHostNavError
lea ecx, [ebp - 0x28]
call fcn.00407b30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
mov eax, dword [edi]
push ecx
push 0x56f9f4
mov ecx, edi
call dword [eax + 0x28]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.0040487e
push 0x5146cb
call fcn.004cb98e
mov byte [ebp - 4], 0
mov dword [esp], 0x56f9f0
call fcn.004cbac9
pop ecx
cmp dword [0x56fa04], 0
jne 0x44d63f
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 0x44d8d9
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 0x44d676
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 0x44d8d9
cmp dword [ebx + 0x14], 8
jb 0x44d67e
mov ebx, dword [ebx]
push ebx
mov ebx, dword [sym.imp.msi.dll_MsiReinstallFeatureW]
push 1
push edi
call ebx
test eax, eax
je 0x44d6ad
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 0x44d8d2
cmp dword [0x56fa08], 8
mov eax, 0x56f9f4
cmovae eax, dword [0x56f9f4]
push eax
push 0
push edi
call ebx
test eax, eax
jne 0x44d68e
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 [0x56fa0c]
cmp eax, dword [ecx + 4]
jle 0x44d727
mov ebx, 0x56fa0c
push ebx
call fcn.004cbb08
cmp dword [0x56fa0c], 0xffffffff
pop ecx
jne 0x44d727
mov byte [ebp - 4], 5
mov ecx, 0x56fa10
call fcn.0046f960
push 0x5146c1
call fcn.004cb98e
mov byte [ebp - 4], 4
push ebx
call fcn.004cbac9
pop ecx
pop ecx
xor eax, eax
mov ebx, 0x529d64
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.004d163d
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.00407b30
mov byte [ebp - 4], 6
lea edx, [ebp - 0x28]
push 1
lea ecx, [ebp - 0x58]
call fcn.00465f10
pop ecx
mov byte [ebp - 4], 8
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.0040487e
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.004d163d
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x40]
call fcn.00407b30
mov byte [ebp - 4], 9
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x58]
call fcn.00465aa0
mov byte [ebp - 4], 8
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.0040487e
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x58]
call fcn.00467040
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 8
jb 0x44d7db
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.0040487e
cmp ebx, 0xffffffff
jne 0x44d85a
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.0040487e
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
push ebx
push 1
call fcn.0040487e
mov byte [ebp - 4], bl
jmp 0x44d8d2
lea eax, [ebp - 0x58]
mov ecx, 0x56fa10
push eax
call fcn.004703a0
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.00467040
mov dword [ebp - 0x74], 1
mov byte [ebp - 4], 8
test ebx, ebx
je 0x44d8ae
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.0040487e
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
push 0
push 1
call fcn.0040487e
mov byte [ebp - 4], 0
push edi
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov eax, esi
call fcn.004cc251
ret