Function at 0x419140
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68d650
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x737100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24c], ecx
mov dword [ebp - 0x298], 0
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00403010
movzx eax, al
test eax, eax
je 0x419258
lea ecx, [ebp - 0x190]
push ecx
mov ecx, dword [ebp - 0x24c]
call fcn.00418cd0
mov dword [ebp - 0x284], eax
mov edx, dword [ebp - 0x284]
mov dword [ebp - 0x280], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x280]
push eax
lea ecx, [ebp - 0x1c0]
push ecx
call fcn.00409530
add esp, 8
mov dword [ebp - 0x27c], eax
mov edx, dword [ebp - 0x27c]
push edx
mov ecx, dword [ebp + 0x20]
call fcn.00406030
lea ecx, [ebp - 0x1c0]
call fcn.00403030
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x190]
call fcn.00403030
lea eax, [ebp - 0x1a8]
push eax
mov ecx, dword [ebp - 0x24c]
call fcn.00418710
mov dword [ebp - 0x278], eax
mov ecx, dword [ebp - 0x278]
push ecx
mov ecx, dword [ebp + 0x20]
add ecx, 0x18
call fcn.00406030
lea ecx, [ebp - 0x1a8]
call fcn.00403030
mov byte [ebp - 0x23c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403030
mov al, byte [ebp - 0x23c]
jmp 0x419c1a
push str._launcher
lea ecx, [ebp - 0x70]
call fcn.00403090
mov byte [ebp - 4], 2
push 0x71dde0
lea ecx, [ebp - 0x88]
call fcn.00403090
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0x20]
call fcn.00421e00
mov ecx, dword [ebp + 0x20]
add ecx, 0x18
call fcn.00421e00
push 0x71ddf4
lea ecx, [ebp - 0x178]
call fcn.00403090
mov byte [ebp - 4], 4
lea edx, [ebp - 0x178]
push edx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x268]
push ecx
call fcn.0040eea0
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x178]
call fcn.00403030
lea edx, [ebp - 0x268]
mov dword [ebp - 0x25c], edx
mov ecx, dword [ebp - 0x25c]
call fcn.00402eb0
mov dword [ebp - 0x248], eax
mov ecx, dword [ebp - 0x25c]
call fcn.00402ea0
mov dword [ebp - 0x288], eax
jmp 0x41930c
mov eax, dword [ebp - 0x248]
add eax, 0x18
mov dword [ebp - 0x248], eax
mov ecx, dword [ebp - 0x248]
cmp ecx, dword [ebp - 0x288]
je 0x419495
mov edx, dword [ebp - 0x248]
push edx
lea ecx, [ebp - 0xa0]
call fcn.004030e0
mov byte [ebp - 4], 7
push 0
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0xa0]
call fcn.0040f5a0
test eax, eax
jne 0x4193d6
push 0xffffffffffffffff
lea ecx, [ebp - 0x70]
call fcn.0040cda0
push eax
lea ecx, [ebp - 0x160]
push ecx
lea ecx, [ebp - 0xa0]
call fcn.00402f70
mov byte [ebp - 4], 8
lea edx, [ebp - 0x160]
push edx
lea eax, [ebp - 0x1d8]
push eax
call fcn.00409530
add esp, 8
mov dword [ebp - 0x274], eax
mov ecx, dword [ebp - 0x274]
push ecx
mov ecx, dword [ebp + 0x20]
call fcn.00406030
lea ecx, [ebp - 0x1d8]
call fcn.00403030
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x160]
call fcn.00403030
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa0]
call fcn.00403030
jmp 0x4192fd
push 0
lea edx, [ebp - 0x88]
push edx
lea ecx, [ebp - 0xa0]
call fcn.0040f5a0
test eax, eax
jne 0x419481
push 0xffffffffffffffff
lea ecx, [ebp - 0x88]
call fcn.0040cda0
push eax
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0xa0]
call fcn.00402f70
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x148]
push ecx
lea edx, [ebp - 0x1f0]
push edx
call fcn.00409530
add esp, 8
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x270]
push eax
mov ecx, dword [ebp + 0x20]
add ecx, 0x18
call fcn.00406030
lea ecx, [ebp - 0x1f0]
call fcn.00403030
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x148]
call fcn.00403030
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa0]
call fcn.00403030
jmp 0x4192fd
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa0]
call fcn.00403030
jmp 0x4192fd
mov ecx, dword [ebp + 0x20]
call fcn.00403010
movzx ecx, al
test ecx, ecx
jne 0x4194b6
mov ecx, dword [ebp + 0x20]
add ecx, 0x18
call fcn.00403010
movzx edx, al
test edx, edx
je 0x419501
mov byte [ebp - 0x23d], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x268]
call fcn.00402ec0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
call fcn.00403030
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.00403030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403030
mov al, byte [ebp - 0x23d]
jmp 0x419c1a
lea ecx, [ebp - 0x268]
call fcn.00421a30
cmp eax, 2
jne 0x41955c
mov byte [ebp - 0x23e], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x268]
call fcn.00402ec0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
call fcn.00403030
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.00403030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403030
mov al, byte [ebp - 0x23e]
jmp 0x419c1a
push 0x71ddf8
lea ecx, [ebp - 0x40]
call fcn.00403090
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x254], 0xffffffff
mov dword [ebp - 0x250], 0xffffffff
push 0x71ddfc
lea ecx, [ebp - 0xb8]
call fcn.00403090
mov byte [ebp - 4], 0xb
push 0x71de00
lea ecx, [ebp - 0xd0]
call fcn.00403090
mov byte [ebp - 4], 0xc
mov byte [ebp - 0x239], 1
mov byte [ebp - 0x23a], 0
lea ecx, [ebp - 0x58]
call fcn.00406070
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x268]
mov dword [ebp - 0x258], eax
mov ecx, dword [ebp - 0x258]
call fcn.00402eb0
mov dword [ebp - 0x244], eax
mov ecx, dword [ebp - 0x258]
call fcn.00402ea0
mov dword [ebp - 0x294], eax
jmp 0x419602
mov ecx, dword [ebp - 0x244]
add ecx, 0x18
mov dword [ebp - 0x244], ecx
mov edx, dword [ebp - 0x244]
cmp edx, dword [ebp - 0x294]
je 0x419966
mov eax, dword [ebp - 0x244]
push eax
lea ecx, [ebp - 0x28]
call fcn.004030e0
mov byte [ebp - 4], 0xe
push 0
push str._cn
lea ecx, [ebp - 0x28]
call fcn.00402fd0
test eax, eax
jne 0x41967e
push 0xffffffffffffffff
push 4
lea ecx, [ebp - 0x208]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00402f70
mov dword [ebp - 0x290], eax
mov edx, dword [ebp - 0x290]
push edx
lea ecx, [ebp - 0x40]
call fcn.00406030
lea ecx, [ebp - 0x208]
call fcn.00403030
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x28]
call fcn.00403030
jmp 0x4195f3
push 0
push str._ct
lea ecx, [ebp - 0x28]
call fcn.00402fd0
test eax, eax
jne 0x4196f7
push 0xffffffffffffffff
push 4
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0x28]
call fcn.00402f70
lea ecx, [ebp - 0x100]
call fcn.00403010
movzx ecx, al
test ecx, ecx
jne 0x4196d0
lea ecx, [ebp - 0x100]
call fcn.00403020
push eax
call fcn.005090d1
add esp, 4
mov dword [ebp - 0x254], eax
lea ecx, [ebp - 0x100]
call fcn.00403030
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x28]
call fcn.00403030
jmp 0x4195f3
push 0
push str._af
lea ecx, [ebp - 0x28]
call fcn.00402fd0
test eax, eax
jne 0x419770
push 0xffffffffffffffff
push 4
lea edx, [ebp - 0xe8]
push edx
lea ecx, [ebp - 0x28]
call fcn.00402f70
lea ecx, [ebp - 0xe8]
call fcn.00403010
movzx eax, al
test eax, eax
jne 0x419749
lea ecx, [ebp - 0xe8]
call fcn.00403020
push eax
call fcn.005090d1
add esp, 4
mov dword [ebp - 0x250], eax
lea ecx, [ebp - 0xe8]
call fcn.00403030
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x28]
call fcn.00403030
jmp 0x4195f3
push 0
push str._netbar
lea ecx, [ebp - 0x28]
call fcn.00402fd0
test eax, eax
jne 0x4197ca
push 0xffffffffffffffff
push 8
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00402f70
mov dword [ebp - 0x28c], eax
mov edx, dword [ebp - 0x28c]
push edx
lea ecx, [ebp - 0xb8]
call fcn.00406030
lea ecx, [ebp - 0x220]
call fcn.00403030
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x28]
call fcn.00403030
jmp 0x4195f3
push 0
push str._netbarname
lea ecx, [ebp - 0x28]
call fcn.00402fd0
test eax, eax
jne 0x419824
push 0xffffffffffffffff
push 0xc
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x28]
call fcn.00402f70
mov dword [ebp - 0x26c], eax
mov ecx, dword [ebp - 0x26c]
push ecx
lea ecx, [ebp - 0xd0]
call fcn.00406030
lea ecx, [ebp - 0x238]
call fcn.00403030
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x28]
call fcn.00403030
jmp 0x4195f3
push 0
push str._link
lea ecx, [ebp - 0x28]
call fcn.00402fd0
test eax, eax
jne 0x41988c
push 0xffffffffffffffff
push 6
lea edx, [ebp - 0x130]
push edx
lea ecx, [ebp - 0x28]
call fcn.00402f70
push 0x71de68
lea ecx, [ebp - 0x130]
call fcn.00402f30
test eax, eax
jne 0x419865
mov byte [ebp - 0x239], 0
lea ecx, [ebp - 0x130]
call fcn.00403030
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x28]
call fcn.00403030
jmp 0x4195f3
push 0
push 0x71de6c
lea ecx, [ebp - 0x28]
call fcn.00402fd0
test eax, eax
jne 0x4198f4
push 0xffffffffffffffff
push 5
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x28]
call fcn.00402f70
push 0x71de78
lea ecx, [ebp - 0x118]
call fcn.00402f30
test eax, eax
jne 0x4198cd
mov byte [ebp - 0x23a], 1
lea ecx, [ebp - 0x118]
call fcn.00403030
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x28]
call fcn.00403030
jmp 0x4195f3
push 0
push 0x71de7c
lea ecx, [ebp - 0x28]
call fcn.00402fd0
test eax, eax
jne 0x419918
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x28]
call fcn.00403030
jmp 0x4195f3
push 0
push str._install
lea ecx, [ebp - 0x28]
call fcn.00402fd0
test eax, eax
jne 0x41993c
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x28]
call fcn.00403030
jmp 0x4195f3
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x58]
call fcn.00421e20
push 0x71dea8
lea ecx, [ebp - 0x58]
call fcn.0040cf50
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x28]
call fcn.00403030
jmp 0x4195f3
lea ecx, [ebp - 0x58]
call fcn.00403010
movzx edx, al
test edx, edx
jne 0x41997d
lea ecx, [ebp - 0x58]
call fcn.00421dd0
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp + 0x20]
add ecx, 0x88
call fcn.00406000
lea ecx, [ebp - 0x40]
call fcn.00403010
movzx ecx, al
test ecx, ecx
je 0x419a23
mov byte [ebp - 0x23f], 0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x58]
call fcn.00403030
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xd0]
call fcn.00403030
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xb8]
call fcn.00403030
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
call fcn.00403030
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x268]
call fcn.00402ec0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
call fcn.00403030
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.00403030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403030
mov al, byte [ebp - 0x23f]
jmp 0x419c1a
lea ecx, [ebp - 0x40]
call fcn.00403020
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x419a4d
lea ecx, [ebp - 0x40]
call fcn.00403020
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x419ace
mov byte [ebp - 0x23b], 0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x58]
call fcn.00403030
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xd0]
call fcn.00403030
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xb8]
call fcn.00403030
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
call fcn.00403030
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x268]
call fcn.00402ec0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
call fcn.00403030
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.00403030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403030
mov al, byte [ebp - 0x23b]
jmp 0x419c1a
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [ebp + 0x20]
add ecx, 0x30
call fcn.00406000
mov eax, dword [ebp + 0x20]
mov dword [eax + 0x48], 2
mov ecx, dword [ebp + 0x20]
mov dword [ecx + 0x4c], 2
cmp dword [ebp - 0x254], 1
jl 0x419b25
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp - 0x254]
mov dword [edx + 0x48], eax
mov ecx, dword [ebp + 0x20]
mov dword [ecx + 0x4c], 0
cmp dword [ebp - 0x250], 0
jl 0x419b25
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp - 0x250]
mov dword [edx + 0x4c], eax
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, dword [ebp + 0x20]
add ecx, 0x50
call fcn.00406000
lea edx, [ebp - 0xd0]
push edx
mov ecx, dword [ebp + 0x20]
add ecx, 0x68
call fcn.00406000
mov eax, dword [ebp + 0x20]
mov cl, byte [ebp - 0x239]
mov byte [eax + 0x80], cl
mov edx, dword [ebp + 0x20]
mov al, byte [ebp - 0x23a]
mov byte [edx + 0x81], al
mov ecx, dword [ebp + 0x20]
mov dword [ecx + 0x84], 2
mov edx, dword [ebp + 0x20]
movzx eax, byte [edx + 0x81]
test eax, eax
je 0x419b8f
mov ecx, dword [ebp + 0x20]
mov dword [ecx + 0x84], 1
mov edx, dword [ebp + 0x20]
push edx
mov ecx, dword [ebp - 0x24c]
call fcn.0041c1c0
mov byte [ebp - 0x240], 1
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x58]
call fcn.00403030
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xd0]
call fcn.00403030
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xb8]
call fcn.00403030
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
call fcn.00403030
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x268]
call fcn.00402ec0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
call fcn.00403030
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.00403030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403030
mov al, byte [ebp - 0x240]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004815ec
mov esp, ebp
pop ebp
ret 0x1c