Function at 0x403070
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1410
call fcn.00456cb0
mov eax, dword [0x470004]
xor eax, esp
mov dword [esp + 0x140c], eax
mov eax, dword [ebp + 8]
push esi
push edi
push 0x469520
push eax
lea eax, [esp + 0x14]
mov edi, ecx
push eax
call fcn.00444101
mov eax, dword [esp + 0x18]
add esp, 0xc
test eax, eax
je 0x4032c7
push 2
push 0
push eax
call fcn.00443fcf
add esp, 0xc
push dword [esp + 0xc]
call fcn.00443bca
mov esi, eax
add esp, 4
cmp esi, 0x400
jle 0x4032bb
push 0
push 0x50
push dword [esp + 0x14]
call fcn.00443fcf
add esp, 0xc
lea eax, [esp + 0x10]
push dword [esp + 0xc]
push 9
push 1
push eax
call fcn.00444361
movzx ecx, byte [esp + 0x20]
add esp, 0x10
movzx eax, byte [esp + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0x13]
shl ecx, 8
or ecx, eax
jl 0x4032bb
cmp ecx, esi
jg 0x4032bb
push 0
push ecx
push dword [esp + 0x14]
call fcn.00443fcf
add esp, 0xc
lea eax, [esp + 0x10]
push dword [esp + 0xc]
push 0x400
push 1
push eax
call fcn.00444361
movzx ecx, byte [esp + 0x24]
lea edx, [esp + 0x18]
movzx eax, byte [esp + 0x25]
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0x26]
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0x27]
shl ecx, 8
or ecx, eax
lea eax, [ecx*4 + 8]
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], eax
add ecx, eax
call fcn.00402fe0
lea ecx, [esp + 0x20]
mov dword [edi + 4], eax
add ecx, dword [esp + 0x18]
lea edx, [esp + 0x18]
call fcn.00402fe0
push eax
mov dword [edi + 8], eax
lea eax, [esp + 0x1024]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_s
push eax
call fcn.00402f50
add esp, 0x1c
lea eax, [esp + 0x1010]
push eax
call fcn.00443fea
add esp, 4
mov dword [edi + 0xc], eax
lea ecx, [esp + 0x10]
add ecx, dword [esp + 8]
lea edx, [esp + 8]
call fcn.00402fe0
lea ecx, [esp + 0x10]
mov dword [edi + 0x14], eax
add ecx, dword [esp + 8]
lea edx, [esp + 8]
call fcn.00402fe0
lea ecx, [esp + 0x10]
mov dword [edi + 0x10], eax
add ecx, dword [esp + 8]
lea edx, [esp + 8]
call fcn.00402fe0
lea ecx, [esp + 0x10]
mov dword [edi + 0x18], eax
add ecx, dword [esp + 8]
lea edx, [esp + 8]
call fcn.00402fe0
lea ecx, [esp + 0x10]
mov dword [edi], eax
add ecx, dword [esp + 8]
lea edx, [esp + 8]
call fcn.00402fe0
mov esi, dword [esp + 8]
movzx eax, byte [esp + esi + 0x10]
movzx ecx, byte [esp + esi + 0x11]
shl eax, 8
or ecx, eax
movzx eax, byte [esp + esi + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + esi + 0x13]
shl ecx, 8
or ecx, eax
mov dword [edi + 0x24], ecx
lea ecx, [esp + esi + 0x18]
call fcn.00402f70
lea ecx, [esp + esi + 0x20]
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], edx
call fcn.00402f70
movzx ecx, byte [esp + esi + 0x14]
shl ecx, 8
mov dword [edi + 0x38], eax
movzx eax, byte [esp + esi + 0x15]
or ecx, eax
mov dword [edi + 0x3c], edx
movzx eax, byte [esp + esi + 0x16]
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + esi + 0x17]
shl ecx, 8
push 0
or ecx, eax
push ecx
push dword [esp + 0x14]
call fcn.00443fcf
mov edx, dword [edi + 0x24]
add esp, 0xc
mov ecx, dword [esp + 0xc]
call fcn.00403020
mov dword [edi + 0x20], eax
push dword [esp + 0xc]
call fcn.00443c4b
add esp, 4
mov ecx, dword [esp + 0x1414]
pop edi
pop esi
xor ecx, esp
call fcn.00405b44
mov esp, ebp
pop ebp
ret 4