Function at 0x43fcf0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c893b
mov eax, dword fs:[0]
push eax
sub esp, 0x7a8
mov eax, dword [0x4fd43c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x7a4], 0x208
mov ecx, dword [ebp + 8]
call fcn.004047e0
cmp eax, 5
jae 0x43fd3c
mov eax, 0x80004005
jmp 0x4402a9
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x730]
push ecx
call fcn.0043a5e0
add esp, 8
mov dword [ebp - 4], 0
push 0x4ab8ba
lea edx, [ebp - 0x7a8]
push edx
lea ecx, [ebp - 0x730]
call fcn.0040bc70
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x7ac]
push ecx
lea ecx, [ebp - 0x730]
call fcn.0043baf0
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x7b0]
push eax
lea ecx, [ebp - 0x730]
call fcn.0040bc70
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x7b4]
push edx
call fcn.0043ce50
add esp, 0x14
push str..lnk
lea eax, [ebp - 0x730]
push eax
call fcn.004402d0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x43fdeb
mov dword [ebp - 0x784], 0x80004005
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x730]
call fcn.00403c30
mov eax, dword [ebp - 0x784]
jmp 0x4402a9
push 0x208
push 0
lea edx, [ebp - 0x308]
push edx
call fcn.004a3c10
add esp, 0xc
push 0x410
push 0
lea eax, [ebp - 0x718]
push eax
call fcn.004a3c10
add esp, 0xc
push 0x4e
push 0
lea ecx, [ebp - 0xb0]
push ecx
call fcn.004a3c10
add esp, 0xc
push 0x4e
push 0
lea edx, [ebp - 0x100]
push edx
call fcn.004a3c10
add esp, 0xc
push 0x4e
push 0
lea eax, [ebp - 0x60]
push eax
call fcn.004a3c10
add esp, 0xc
lea ecx, [ebp - 0x60]
push ecx
lea edx, [ebp - 0x100]
push edx
lea eax, [ebp - 0xb0]
push eax
mov ecx, dword [ebp + 8]
call fcn.00403ee0
push eax
call dword [sym.imp.msi.dll_MsiEnumComponentCostsW]
mov dword [ebp - 0x77c], eax
cmp dword [ebp - 0x77c], 0
jne 0x43ff16
mov dword [ebp - 0x788], 0x410
lea ecx, [ebp - 0x788]
push ecx
lea edx, [ebp - 0x718]
push edx
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0xb0]
push ecx
call dword [sym.imp.msi.dll_MsiAdvertiseScriptW]
mov dword [ebp - 0x78c], eax
cmp dword [ebp - 0x78c], 3
jne 0x43feef
lea edx, [ebp - 0x718]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00403c00
mov dword [ebp - 0x790], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x730]
call fcn.00403c30
mov eax, dword [ebp - 0x790]
jmp 0x4402a9
mov dword [ebp - 0x794], 0x57
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x730]
call fcn.00403c30
mov eax, dword [ebp - 0x794]
jmp 0x4402a9
mov dword [ebp - 0x77c], 0x57
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov ecx, dword [ebp + 8]
call fcn.00403ee0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x768], eax
cmp dword [ebp - 0x768], 0xffffffff
jne 0x43ff79
mov eax, dword [ebp - 0x77c]
mov dword [ebp - 0x798], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x730]
call fcn.00403c30
mov eax, dword [ebp - 0x798]
jmp 0x4402a9
mov dword [ebp - 0x774], 0
mov dword [ebp - 0x770], 0
push 0
lea ecx, [ebp - 0x770]
push ecx
push 4
lea edx, [ebp - 0x774]
push edx
mov eax, dword [ebp - 0x768]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43ffb5
jmp 0x440278
cmp dword [ebp - 0x770], 4
je 0x43ffc3
jmp 0x440278
cmp dword [ebp - 0x774], 0x4c
je 0x43ffd1
jmp 0x440278
push 0
push 0
push 0x14
mov ecx, dword [ebp - 0x768]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x76c], eax
cmp dword [ebp - 0x76c], 0xffffffff
jne 0x43fff8
jmp 0x440278
push 0
lea edx, [ebp - 0x770]
push edx
push 4
lea eax, [ebp - 0x774]
push eax
mov ecx, dword [ebp - 0x768]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x440020
jmp 0x440278
cmp dword [ebp - 0x770], 4
je 0x44002e
jmp 0x440278
push 0
push 0
push 0x4c
mov edx, dword [ebp - 0x768]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x76c], eax
cmp dword [ebp - 0x76c], 0xffffffff
jne 0x440055
jmp 0x440278
mov eax, dword [ebp - 0x774]
and eax, 1
je 0x4400cc
xor ecx, ecx
mov word [ebp - 0x778], cx
push 0
lea edx, [ebp - 0x770]
push edx
push 2
lea eax, [ebp - 0x778]
push eax
mov ecx, dword [ebp - 0x768]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x440091
jmp 0x440278
cmp dword [ebp - 0x770], 2
je 0x44009f
jmp 0x440278
push 1
push 0
movzx edx, word [ebp - 0x778]
push edx
mov eax, dword [ebp - 0x768]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x76c], eax
cmp dword [ebp - 0x76c], 0xffffffff
jne 0x4400cc
jmp 0x440278
push 1
push 0
push 0x10
mov ecx, dword [ebp - 0x768]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x76c], eax
cmp dword [ebp - 0x76c], 0xffffffff
jne 0x4400f3
jmp 0x440278
push 0
lea edx, [ebp - 0x770]
push edx
push 4
lea eax, [ebp - 0x774]
push eax
mov ecx, dword [ebp - 0x768]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44011b
jmp 0x440278
cmp dword [ebp - 0x770], 4
je 0x440129
jmp 0x440278
push 1
push 0
mov edx, dword [ebp - 0x774]
sub edx, 0x14
push edx
mov eax, dword [ebp - 0x768]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x76c], eax
cmp dword [ebp - 0x76c], 0xffffffff
jne 0x440158
jmp 0x440278
mov dword [ebp - 0x780], 0
mov byte [ebp - 0x761], 0
push 0x208
push 0
lea ecx, [ebp - 0x308]
push ecx
call fcn.004a3c10
add esp, 0xc
cmp dword [ebp - 0x780], 0x204
jb 0x4401ba
push str.resolveShortcutFromFile_buffer_is_too_small
push 0x72b
push str.utility::usystem::resolveShortcutFromFile
call fcn.00436bb0
add esp, 0xc
push 0x208
push 0
lea edx, [ebp - 0x308]
push edx
call fcn.004a3c10
add esp, 0xc
jmp 0x440213
push 0
lea eax, [ebp - 0x770]
push eax
push 1
lea ecx, [ebp - 0x761]
push ecx
mov edx, dword [ebp - 0x768]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4401e2
jmp 0x440278
mov eax, dword [ebp - 0x780]
mov cl, byte [ebp - 0x761]
mov byte [ebp + eax - 0x308], cl
mov edx, dword [ebp - 0x780]
add edx, 1
mov dword [ebp - 0x780], edx
movsx eax, byte [ebp - 0x761]
test eax, eax
jne 0x44017f
lea ecx, [ebp - 0x308]
push ecx
lea ecx, [ebp - 0x748]
call fcn.004078a0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x748]
push edx
lea eax, [ebp - 0x760]
push eax
call fcn.0043c840
add esp, 8
mov dword [ebp - 0x79c], eax
mov ecx, dword [ebp - 0x79c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00403c90
lea ecx, [ebp - 0x760]
call fcn.00403c30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x748]
call fcn.004048d0
mov dword [ebp - 0x77c], 0
mov edx, dword [ebp - 0x768]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x77c]
mov dword [ebp - 0x7a0], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x730]
call fcn.00403c30
mov eax, dword [ebp - 0x7a0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a186f
mov esp, ebp
pop ebp
ret