Function at 0x47a9f0
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58619e
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x5deba8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0xac], 0
mov dword [ebp - 4], 2
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.0041d990
mov byte [ebp - 4], 3
mov byte [ebp - 0x1a], 0
mov byte [ebp - 0x19], 0
lea ecx, [ebp - 0x14]
call fcn.0041e1e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47aa5e
mov byte [ebp - 0x19], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
movzx ecx, byte [ebp - 0x19]
test ecx, ecx
je 0x47aabf
call fcn.00416be0
cmp eax, 0x13
jl 0x47aa96
call fcn.00417050
test eax, eax
je 0x47aa96
lea edx, [ebp - 0x18]
push edx
call fcn.0047ae60
add esp, 4
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x14]
call fcn.0041e1e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47aabf
cmp dword [ebp - 0x10], 0
je 0x47aabb
mov eax, dword [ebp - 0x18]
push eax
call fcn.0047aec0
add esp, 4
mov byte [ebp - 0x19], 0
lea ecx, [ebp - 0x14]
call fcn.0041e1e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47aaff
lea ecx, [ebp - 0x14]
call fcn.0041e310
movzx ecx, al
test ecx, ecx
je 0x47aaff
push 1
push 0
push 0
lea ecx, [ebp + 0xc]
call fcn.0041e1e0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x47ae02
push 0
push str.www.
lea ecx, [ebp - 0x14]
call fcn.0041dc30
cmp eax, 0xffffffff
je 0x47ab4f
push 0x595168
lea ecx, [ebp - 0x14]
call fcn.0041dbd0
test eax, eax
jne 0x47ab31
push 0x595194
lea ecx, [ebp - 0x14]
call fcn.0041daf0
push 1
push 0
push 0
lea ecx, [ebp - 0x14]
call fcn.0041e1e0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x47ae02
push 0x5951c0
push 1
lea edx, [ebp - 0xa0]
push edx
lea ecx, [ebp - 0x14]
call fcn.0041dde0
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xac]
or ecx, 1
mov dword [ebp - 0xac], ecx
mov ecx, dword [ebp - 0xb8]
call fcn.0041dbd0
test eax, eax
je 0x47abd1
lea ecx, [ebp - 0x14]
call fcn.0041e1e0
push eax
call fcn.0045cbb0
add esp, 4
movzx edx, al
test edx, edx
jne 0x47abd1
lea ecx, [ebp - 0x14]
call fcn.0041e1e0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0x10
jne 0x47abd1
mov dword [ebp - 0xbc], 0
jmp 0x47abdb
mov dword [ebp - 0xbc], 1
mov al, byte [ebp - 0xbc]
mov byte [ebp - 0x99], al
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0xac]
and ecx, 1
je 0x47ac0b
and dword [ebp - 0xac], 0xfffffffe
lea ecx, [ebp - 0xa0]
call fcn.0041dab0
movzx edx, byte [ebp - 0x99]
test edx, edx
je 0x47acd0
push 0x5951c4
push 1
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x14]
call fcn.0041dde0
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
push ecx
call fcn.0041e180
add esp, 8
mov byte [ebp - 0xa1], al
lea ecx, [ebp - 0xa8]
call fcn.0041dab0
movzx edx, byte [ebp - 0xa1]
test edx, edx
je 0x47ac6e
push 0x5951c8
lea ecx, [ebp - 0x14]
call fcn.0041db30
push 0x3c
push 0
lea eax, [ebp - 0x58]
push eax
call fcn.005533a0
add esp, 0xc
mov dword [ebp - 0x58], 0x3c
mov dword [ebp - 0x54], 0x4c
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x14]
call fcn.0041e1e0
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x58]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
jmp 0x47ae02
lea ecx, [ebp - 0x14]
call fcn.0041e1e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47ad10
lea ecx, [ebp - 0x14]
call fcn.0041e310
movzx edx, al
test edx, edx
jne 0x47ad10
push 1
push 0
push 0
lea ecx, [ebp - 0x14]
call fcn.0041e1e0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x47ae02
mov dword [ebp - 0x94], 0
push 0x38
push 0
lea eax, [ebp - 0x90]
push eax
call fcn.005533a0
add esp, 0xc
mov dword [ebp - 0x94], 0x3c
mov dword [ebp - 0x90], 0xc
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x98]
call fcn.0041d990
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x98]
call fcn.00480f60
push 0x5951cc
lea ecx, [ebp - 0x98]
call fcn.0041dbd0
test eax, eax
jne 0x47adb1
call fcn.00417050
test eax, eax
je 0x47adb1
call fcn.0042eb50
movzx edx, al
test edx, edx
jne 0x47adb1
cmp dword [ebp - 0x10], 0
jne 0x47adb1
lea eax, [ebp - 0x18]
push eax
call fcn.0047ae60
add esp, 4
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x98]
call fcn.0041e1e0
mov dword [ebp - 0x84], eax
lea ecx, [ebp + 0xc]
call fcn.0041e1e0
mov dword [ebp - 0x80], eax
lea ecx, [ebp + 0x10]
call fcn.0041e1e0
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], 1
mov dword [ebp - 0x74], 0
lea ecx, [ebp - 0x94]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x98]
call fcn.0041dab0
cmp dword [ebp - 0x10], 0
je 0x47ae14
mov edx, dword [ebp - 0x18]
push edx
call fcn.0047aec0
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.0041dab0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.0041dab0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.0041dab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.0041dab0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc