Function at 0x4910c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50db14
mov eax, dword fs:[0]
push eax
sub esp, 0x870
mov eax, dword [0x558384]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x874]
push eax
call fcn.00491be0
lea eax, [ebp - 0x87c]
mov dword [ebp - 4], 0
push eax
call fcn.00491ce0
push 0
lea eax, [ebp - 0x848]
mov byte [ebp - 4], 1
push 2
push eax
call fcn.00482e90
add esp, 0x14
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 2
jb 0x491130
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x878]
call fcn.00481030
mov edx, dword [ebp - 0x834]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x491180
mov ecx, dword [ebp - 0x848]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x491176
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4915da
push edx
push ecx
call fcn.004bcf17
add esp, 8
mov esi, dword [ebp - 0x878]
xor eax, eax
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
or ebx, 0xffffffff
mov dword [ebp - 0x838], 0
mov dword [ebp - 0x834], 7
mov word [ebp - 0x848], ax
test esi, esi
je 0x4913ea
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004dc680
add esp, 0xc
lea eax, [ebp - 0x218]
push str.360_Partition_Master
push esi
push eax
call edi
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4911e1
sub ecx, edx
sar ecx, 1
je 0x4913ea
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x218]
push eax
call esi
test eax, eax
jne 0x491225
lea eax, [ebp - 0x218]
push eax
call esi
test eax, eax
jne 0x491225
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
lea eax, [ebp - 0x218]
push eax
call esi
test eax, eax
je 0x4913ea
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.004dc680
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [ebp - 0x874]
push eax
lea eax, [ebp - 0x830]
push eax
call edi
lea eax, [ebp - 0x864]
push eax
call fcn.00491ac0
add esp, 4
lea ecx, [ebp - 0x868]
call fcn.00487130
push str.startmenu
push str.from
lea eax, [ebp - 0x868]
mov byte [ebp - 4], 6
push str.___s_s
push eax
call fcn.00481b50
mov edi, dword [ebp - 0x868]
lea eax, [ebp - 0x830]
push 0
push 0
push edi
push dword [ebp - 0x864]
push eax
call fcn.00491600
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004dc680
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
add esp, 0x30
push dword [ebp - 0x87c]
push eax
lea eax, [ebp - 0x420]
push eax
call esi
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.004dc680
add esp, 0xc
lea eax, [ebp - 0x628]
push str.Uninst.exe
push 0x562058
push eax
call esi
call fcn.00481c30
mov ecx, eax
test ecx, ecx
je 0x4915df
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x86c], eax
lea eax, [ebp - 0x628]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x86c]
call fcn.00481910
test al, al
jne 0x491375
lea ecx, [ebp - 0x628]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x491353
sub ecx, edx
lea eax, [ebp - 0x628]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x86c]
call fcn.00482220
mov esi, dword [ebp - 0x86c]
lea eax, [ebp - 0x420]
push 0
push 0
push 0
push esi
push eax
mov byte [ebp - 4], 8
call fcn.00491600
add esp, 0x14
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4913ac
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4913c3
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x864]
mov eax, ebx
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4913e4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0
lea eax, [ebp - 0x860]
push 0
push eax
call fcn.00482e90
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 9
jb 0x491409
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x870]
call fcn.00481030
mov edx, dword [ebp - 0x84c]
mov byte [ebp - 4], 0xb
cmp edx, 8
jb 0x491459
mov ecx, dword [ebp - 0x860]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x49144f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4915e9
push edx
push ecx
call fcn.004bcf17
add esp, 8
mov esi, dword [ebp - 0x870]
xor eax, eax
mov dword [ebp - 0x850], 0
mov dword [ebp - 0x84c], 7
mov word [ebp - 0x860], ax
test esi, esi
je 0x491552
push 0x208
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.004dc680
add esp, 0xc
lea eax, [ebp - 0x420]
push dword [ebp - 0x874]
push esi
push eax
call edi
lea eax, [ebp - 0x868]
push eax
call fcn.00491ac0
add esp, 4
mov byte [ebp - 4], 0xd
call fcn.00481c30
mov ecx, eax
test ecx, ecx
je 0x4915ee
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x864], eax
push 0x515984
push str.from
lea eax, [ebp - 0x864]
mov byte [ebp - 4], 0xe
push str.___s_s
push eax
call fcn.00481b50
mov esi, dword [ebp - 0x864]
lea eax, [ebp - 0x420]
push 0
push 0
push esi
push dword [ebp - 0x868]
push eax
call fcn.00491600
add esp, 0x24
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x49152f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x868]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x49154c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x870]
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x491569
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x878]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x491586
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x87c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4915a3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x874]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4915be
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bd1b9
mov esp, ebp
pop ebp
ret
call fcn.004df969
push 0x80004005
call fcn.004818f0
call fcn.004df969
push 0x80004005
call fcn.004818f0
int3