Function at 0x415310
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c811d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x140
mov eax, dword [0x6540c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebx + 8]
xor eax, eax
mov dword [ebp - 0x12c], edi
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], eax
mov dword [ebp - 4], eax
cmp dword [ebx + 0x1c], eax
jne 0x4154b1
lea eax, [ebp - 0x44]
push eax
call fcn.00414ad0
mov esi, eax
mov edx, esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00405200
cmp dword [ebp - 0x1c], 0
mov dword [ebp - 0x124], 0x20
jbe 0x4153bf
cmp dword [esi + 0x14], 7
mov ecx, esi
jbe 0x4153a7
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
mov edx, 0x5c
cmp dx, word [ecx + eax*2 - 2]
je 0x4153bf
push edx
lea ecx, [ebp - 0x2c]
call fcn.00409fa0
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.00403e50
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x415408
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4153fe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416787
push ecx
push edx
call fcn.00439938
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp ecx, 7
jbe 0x415459
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41544f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416787
push ecx
push edx
call fcn.00439938
add esp, 8
lea eax, [ebp - 0x2c]
push eax
call fcn.00413be0
push eax
lea ecx, [edi + 0x18]
call fcn.00403e50
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x4154a5
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41549b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41678c
push ecx
push edx
call fcn.00439938
add esp, 8
mov byte [ebp - 0x11d], 0
jmp 0x41672b
push 0xa
xorps xmm0, xmm0
mov dword [ebp - 0xc4], 0
push str._launcher
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0xc0], 0
movups xmmword [ebp - 0xd4], xmm0
call fcn.00402780
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x11c]
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x10c], 0
push str._install
movups xmmword [ebp - 0x11c], xmm0
mov dword [ebp - 0x108], 0
call fcn.00402780
mov byte [ebp - 4], 4
mov eax, edi
mov dword [edi + 0x10], 0
cmp dword [edi + 0x14], 7
jbe 0x41552a
mov eax, dword [edi]
xor ecx, ecx
mov word [eax], cx
lea eax, [edi + 0x18]
mov dword [edi + 0x28], ecx
cmp dword [edi + 0x2c], 7
jbe 0x41553e
mov eax, dword [edi + 0x18]
xor ecx, ecx
xorps xmm0, xmm0
push 1
mov word [eax], cx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x2c]
push 0x645e04
movups xmmword [ebp - 0x2c], xmm0
call fcn.00402780
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 5
push eax
lea edx, [ebx + 0xc]
lea ecx, [ebp - 0x14c]
call fcn.0040ab50
add esp, 4
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x4155b6
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4155ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416796
push ecx
push edx
call fcn.00439938
add esp, 8
mov eax, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x148]
mov esi, dword [ebp - 0xd4]
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x150], ecx
cmp eax, ecx
je 0x415b85
nop dword [eax]
push eax
lea ecx, [ebp - 0x74]
call fcn.00402520
mov byte [ebp - 4], 8
lea edi, [ebp - 0xd4]
cmp dword [ebp - 0xc0], 7
lea eax, [ebp - 0x74]
mov ecx, dword [ebp - 0x64]
cmova edi, esi
cmp dword [ebp - 0x60], 7
mov esi, dword [ebp - 0x74]
cmova eax, esi
mov dword [ebp - 0x130], edi
mov dword [ebp - 0x124], esi
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0xc4], ecx
ja 0x41567a
mov edx, ecx
sub edx, dword [ebp - 0xc4]
cmp dword [ebp - 0xc4], 0
mov dword [ebp - 0x140], edx
je 0x4157b2
inc edx
mov ecx, eax
lea edx, [eax + edx*2]
mov dword [ebp - 0x138], edx
nop
mov eax, edx
sub eax, ecx
sar eax, 1
je 0x415671
movzx edx, word [edi]
nop dword [eax + eax]
cmp word [ecx], dx
je 0x41575e
add ecx, 2
sub eax, 1
jne 0x415660
mov ecx, dword [ebp - 0x64]
mov esi, dword [ebp - 0x124]
cmp dword [ebp - 0x108], 7
lea edi, [ebp - 0x11c]
lea eax, [ebp - 0x74]
cmova edi, dword [ebp - 0x11c]
cmp dword [ebp - 0x60], 7
mov dword [ebp - 0x130], edi
cmova eax, esi
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x10c], ecx
ja 0x4156f7
mov edx, ecx
sub edx, dword [ebp - 0x10c]
cmp dword [ebp - 0x10c], 0
mov dword [ebp - 0x134], edx
je 0x4159c2
inc edx
mov ecx, eax
lea edx, [eax + edx*2]
mov dword [ebp - 0x140], edx
mov eax, edx
sub eax, ecx
sar eax, 1
je 0x4156f1
movzx edx, word [edi]
nop
cmp word [ecx], dx
je 0x415974
add ecx, 2
sub eax, 1
jne 0x4156e0
mov esi, dword [ebp - 0x124]
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x60]
cmp eax, 7
jbe 0x415732
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x415728
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416796
push ecx
push esi
call fcn.00439938
add esp, 8
mov edi, dword [ebp - 0x12c]
mov eax, dword [ebp - 0x13c]
add eax, 0x18
mov dword [ebp - 0x13c], eax
cmp eax, dword [ebp - 0x150]
je 0x415b85
mov esi, dword [ebp - 0xd4]
jmp 0x4155e0
test ecx, ecx
je 0x415671
mov esi, dword [ebp - 0xc4]
mov edx, edi
test esi, esi
je 0x415795
mov edi, ecx
sub edi, dword [ebp - 0x130]
nop word [eax + eax]
mov ax, word [edi + edx]
cmp ax, word [edx]
jne 0x415960
add edx, 2
sub esi, 1
jne 0x415780
sub ecx, dword [ebp - 0x134]
mov esi, dword [ebp - 0x124]
sar ecx, 1
mov ecx, dword [ebp - 0x64]
jne 0x41567a
mov edx, dword [ebp - 0x140]
mov edi, dword [ebp - 0xc4]
xorps xmm0, xmm0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0
movups xmmword [ebp - 0xec], xmm0
cmp ecx, edi
jb 0x416791
or ecx, 0xffffffff
lea eax, [ebp - 0x74]
cmp edx, 0xffffffff
cmovb ecx, edx
cmp dword [ebp - 0x60], 7
push ecx
cmova eax, esi
lea ecx, [ebp - 0xec]
lea eax, [eax + edi*2]
push eax
call fcn.00402780
mov esi, dword [ebp - 0x128]
or esi, 2
mov dword [ebp - 0x124], esi
lea edx, [ebp - 0xec]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c]
call fcn.00405200
or esi, 1
cmp dword [ebp - 0x1c], 0
mov dword [ebp - 0x124], esi
jbe 0x415860
cmp dword [ebp - 0xd8], 7
lea ecx, [ebp - 0xec]
mov eax, dword [ebp - 0xdc]
mov edx, 0x5c
cmova ecx, dword [ebp - 0xec]
cmp dx, word [ecx + eax*2 - 2]
je 0x415860
push edx
lea ecx, [ebp - 0x2c]
call fcn.00409fa0
mov edi, dword [ebp - 0x12c]
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
call fcn.00403e50
and esi, 0xfffffffe
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x128], esi
cmp ecx, 7
jbe 0x4158b8
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4158ae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416787
push ecx
push edx
call fcn.00439938
add esp, 8
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xd8]
cmp ecx, 7
jbe 0x4158fc
mov edx, dword [ebp - 0xec]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4158f2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416787
push ecx
push edx
call fcn.00439938
add esp, 8
xor eax, eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 7
mov word [ebp - 0xec], ax
cmp ecx, 7
jbe 0x415738
mov edx, dword [ebp - 0x74]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x415951
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416787
push ecx
push edx
call fcn.00439938
add esp, 8
jmp 0x415738
mov edi, dword [ebp - 0x130]
add ecx, 2
mov edx, dword [ebp - 0x138]
jmp 0x415650
test ecx, ecx
je 0x4156f1
mov esi, dword [ebp - 0x10c]
mov edx, edi
test esi, esi
je 0x4159a5
mov edi, ecx
sub edi, dword [ebp - 0x130]
mov ax, word [edi + edx]
cmp ax, word [edx]
jne 0x415b71
add edx, 2
sub esi, 1
jne 0x415990
sub ecx, dword [ebp - 0x138]
sar ecx, 1
mov esi, dword [ebp - 0x124]
jne 0x4156f7
mov edx, dword [ebp - 0x134]
mov ecx, dword [ebp - 0x64]
mov edi, dword [ebp - 0x10c]
xorps xmm0, xmm0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 0
movups xmmword [ebp - 0x104], xmm0
cmp ecx, edi
jb 0x416791
or ecx, 0xffffffff
lea eax, [ebp - 0x74]
cmp edx, 0xffffffff
cmovb ecx, edx
cmp dword [ebp - 0x60], 7
push ecx
cmova eax, esi
lea ecx, [ebp - 0x104]
lea eax, [eax + edi*2]
push eax
call fcn.00402780
mov esi, dword [ebp - 0x128]
or esi, 8
mov dword [ebp - 0x124], esi
lea edx, [ebp - 0x104]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2c]
call fcn.00405200
or esi, 0x10
cmp dword [ebp - 0x1c], 0
mov dword [ebp - 0x124], esi
jbe 0x415a70
cmp dword [ebp - 0xf0], 7
lea ecx, [ebp - 0x104]
mov eax, dword [ebp - 0xf4]
mov edx, 0x5c
cmova ecx, dword [ebp - 0x104]
cmp dx, word [ecx + eax*2 - 2]
je 0x415a70
push edx
lea ecx, [ebp - 0x2c]
call fcn.00409fa0
mov edi, dword [ebp - 0x12c]
lea eax, [ebp - 0x2c]
push eax
lea ecx, [edi + 0x18]
call fcn.00403e50
and esi, 0xffffffef
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x128], esi
cmp ecx, 7
jbe 0x415ac9
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x415abf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416787
push ecx
push edx
call fcn.00439938
add esp, 8
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xf0]
cmp ecx, 7
jbe 0x415b0d
mov edx, dword [ebp - 0x104]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x415b03
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416787
push ecx
push edx
call fcn.00439938
add esp, 8
xor eax, eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 7
mov word [ebp - 0x104], ax
cmp ecx, 7
jbe 0x415738
mov edx, dword [ebp - 0x74]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x415b62
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416787
push ecx
push edx
call fcn.00439938
add esp, 8
jmp 0x415738
mov edi, dword [ebp - 0x130]
add ecx, 2
mov edx, dword [ebp - 0x140]
jmp 0x4156d3
cmp dword [edi + 0x10], 0
je 0x416624
cmp dword [edi + 0x28], 0
je 0x416624
mov eax, dword [ebp - 0x148]
sub eax, dword [ebp - 0x14c]
sub eax, 0x30
cmp eax, 0x18
jb 0x416624
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
push 0x646054
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x5c], xmm0
call fcn.00402780
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xbc]
or edi, 0xffffffff
mov dword [ebp - 0xac], 0
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x124], edi
or esi, edi
mov dword [ebp - 0xa8], 0
push 0x646054
mov dword [ebp - 0x134], esi
movups xmmword [ebp - 0xbc], xmm0
call fcn.00402780
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xa4]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x94], 0
push 0x646054
movups xmmword [ebp - 0xa4], xmm0
mov dword [ebp - 0x90], 0
call fcn.00402780
xorps xmm0, xmm0
mov byte [ebp - 0x130], 0
mov edx, 1
mov dword [ebp - 0x78], 7
xor ecx, ecx
mov dword [ebp - 0x13c], edx
xor eax, eax
mov dword [ebp - 0x7c], ecx
movups xmmword [ebp - 0x8c], xmm0
mov word [ebp - 0x8c], ax
mov byte [ebp - 4], 0x10
mov edi, dword [ebp - 0x148]
mov eax, dword [ebp - 0x14c]
cmp eax, edi
mov dword [ebp - 0x150], edi
mov edi, dword [ebp - 0x124]
mov dword [ebp - 0x138], eax
je 0x4163ad
nop dword [eax]
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x11d], dl
call fcn.00402520
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x30], 7
mov edi, dword [ebp - 0x44]
mov esi, dword [ebp - 0x34]
cmova ecx, edi
push 4
push str._cn
push 0
mov edx, esi
call fcn.004026f0
add esp, 0xc
test eax, eax
jne 0x415d7f
mov dword [ebp - 0x1c], eax
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
movups xmmword [ebp - 0x2c], xmm0
cmp esi, 4
jb 0x416791
or ecx, 0xffffffff
lea eax, [esi - 4]
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x30], 7
lea eax, [ebp - 0x44]
cmova eax, edi
push ecx
add eax, 8
lea ecx, [ebp - 0x2c]
push eax
call fcn.00402780
or dword [ebp - 0x128], 4
mov ecx, dword [ebp - 0x48]
cmp ecx, 7
jbe 0x415d68
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x415d5e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416787
push ecx
push edx
call fcn.00439938
add esp, 8
movups xmm0, xmmword [ebp - 0x2c]
movups xmmword [ebp - 0x5c], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [ebp - 0x4c], xmm0
jmp 0x41631c
cmp dword [ebp - 0x30], 7
lea ecx, [ebp - 0x44]
push 4
push str._ct
cmova ecx, edi
mov edx, esi
push 0
call fcn.004026f0
add esp, 0xc
test eax, eax
jne 0x415e57
mov dword [ebp - 0x1c], eax
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
movups xmmword [ebp - 0x2c], xmm0
cmp esi, 4
jb 0x416791
or ecx, 0xffffffff
lea eax, [esi - 4]
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x30], 7
lea eax, [ebp - 0x44]
cmova eax, edi
push ecx
add eax, 8
lea ecx, [ebp - 0x2c]
push eax
call fcn.00402780
or dword [ebp - 0x128], 0x40
cmp dword [ebp - 0x1c], 0
je 0x415e04
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
push eax
call fcn.004a1c30
add esp, 4
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x415e3e
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x415e34
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416787
push ecx
push edx
call fcn.00439938
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
jmp 0x41631c
cmp dword [ebp - 0x30], 7
lea ecx, [ebp - 0x44]
push 4
push str._af
cmova ecx, edi
mov edx, esi
push 0
call fcn.004026f0
add esp, 0xc
test eax, eax
jne 0x415f36
mov dword [ebp - 0x1c], eax
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
movups xmmword [ebp - 0x2c], xmm0
cmp esi, 4
jb 0x416791
or ecx, 0xffffffff
lea eax, [esi - 4]
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x30], 7
lea eax, [ebp - 0x44]
cmova eax, edi
push ecx
add eax, 8
lea ecx, [ebp - 0x2c]
push eax
call fcn.00402780
or dword [ebp - 0x128], 0x80
cmp dword [ebp - 0x1c], 0
je 0x415edf
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
push eax
call fcn.004a1c30
add esp, 4
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x415e3e
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x415f13
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416787
push ecx
push edx
call fcn.00439938
add esp, 8
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
jmp 0x41631c
cmp dword [ebp - 0x30], 7
lea ecx, [ebp - 0x44]
push 8
push str._netbar
cmova ecx, edi
mov edx, esi
push 0
call fcn.004026f0
add esp, 0xc
test eax, eax
jne 0x415ffb
mov dword [ebp - 0x1c], eax
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
movups xmmword [ebp - 0x2c], xmm0
cmp esi, 8
jb 0x416791
or ecx, 0xffffffff
lea eax, [esi - 8]
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x30], 7
lea eax, [ebp - 0x44]
cmova eax, edi
push ecx
add eax, 0x10
lea ecx, [ebp - 0x2c]
push eax
call fcn.00402780
or dword [ebp - 0x128], 0x100
mov ecx, dword [ebp - 0xa8]
cmp ecx, 7
jbe 0x415fde
mov edx, dword [ebp - 0xbc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x415fd4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416787
push ecx
push edx
call fcn.00439938
add esp, 8
movups xmm0, xmmword [ebp - 0x2c]
movups xmmword [ebp - 0xbc], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [ebp - 0xac], xmm0
jmp 0x41631c
cmp dword [ebp - 0x30], 7
lea ecx, [ebp - 0x44]
push 0xc
push str._netbarname
cmova ecx, edi
mov edx, esi
push 0
call fcn.004026f0
add esp, 0xc
test eax, eax
jne 0x4160c0
mov dword [ebp - 0x1c], eax
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
movups xmmword [ebp - 0x2c], xmm0
cmp esi, 0xc
jb 0x416791
or ecx, 0xffffffff
lea eax, [esi - 0xc]
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x30], 7
lea eax, [ebp - 0x44]
cmova eax, edi
push ecx
add eax, 0x18
lea ecx, [ebp - 0x2c]
push eax
call fcn.00402780
or dword [ebp - 0x128], 0x200
mov ecx, dword [ebp - 0x90]
cmp ecx, 7
jbe 0x4160a3
mov edx, dword [ebp - 0xa4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x416099
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416787
push ecx
push edx
call fcn.00439938
add esp, 8
movups xmm0, xmmword [ebp - 0x2c]
movups xmmword [ebp - 0xa4], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [ebp - 0x94], xmm0
jmp 0x41631c
cmp dword [ebp - 0x30], 7
lea ecx, [ebp - 0x44]
push 6
push str._link
cmova ecx, edi
mov edx, esi
push 0
call fcn.004026f0
add esp, 0xc
test eax, eax
jne 0x416196
mov dword [ebp - 0x1c], eax
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
movups xmmword [ebp - 0x2c], xmm0
cmp esi, 6
jb 0x416791
or ecx, 0xffffffff
lea eax, [esi - 6]
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x30], 7
lea eax, [ebp - 0x44]
cmova eax, edi
push ecx
add eax, 0xc
lea ecx, [ebp - 0x2c]
push eax
call fcn.00402780
or dword [ebp - 0x128], 0x400
lea ecx, [ebp - 0x2c]
mov edi, dword [ebp - 0x18]
cmp edi, 7
mov esi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
cmova ecx, esi
push 1
push 0x647544
call fcn.00402680
add esp, 8
neg eax
sbb al, al
and al, byte [ebp - 0x11d]
mov dword [ebp - 0x13c], eax
cmp edi, 7
jbe 0x41631c
lea ecx, [edi*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x416187
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416787
push ecx
push esi
call fcn.00439938
add esp, 8
jmp 0x41631c
cmp dword [ebp - 0x30], 7
lea ecx, [ebp - 0x44]
push 5
push 0x647548
cmova ecx, edi
mov edx, esi
push 0
call fcn.004026f0
add esp, 0xc
test eax, eax
jne 0x416275
mov dword [ebp - 0x1c], eax
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
movups xmmword [ebp - 0x2c], xmm0
cmp esi, 5
jb 0x416791
or ecx, 0xffffffff
lea eax, [esi - 5]
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x30], 7
lea eax, [ebp - 0x44]
cmova eax, edi
push ecx
add eax, 0xa
lea ecx, [ebp - 0x2c]
push eax
call fcn.00402780
or dword [ebp - 0x128], 0x800
lea ecx, [ebp - 0x2c]
mov edi, dword [ebp - 0x18]
cmp edi, 7
mov esi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
cmova ecx, esi
push 1
push 0x647554
call fcn.00402680
mov ecx, dword [ebp - 0x130]
add esp, 8
test eax, eax
movzx ecx, cl
mov eax, 1
cmove ecx, eax
mov dword [ebp - 0x130], ecx
cmp edi, 7
jbe 0x41631c
lea ecx, [edi*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x416266
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416787
push ecx
push esi
call fcn.00439938
add esp, 8
jmp 0x41631c
cmp dword [ebp - 0x30], 7
lea ecx, [ebp - 0x44]
push 0xa
push str._launcher
cmova ecx, edi
mov edx, esi
push 0
call fcn.004026f0
add esp, 0xc
test eax, eax
jne 0x4162d2
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x30]
cmp eax, 7
jbe 0x41635a
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x4162cb
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416787
push ecx
push edi
jmp 0x416352
cmp dword [ebp - 0x30], 7
lea ecx, [ebp - 0x44]
push 9
push str._install
cmova ecx, edi
mov edx, esi
push 0
call fcn.004026f0
add esp, 0xc
test eax, eax
je 0x416296
cmp dword [ebp - 0x30], 7
lea eax, [ebp - 0x44]
push esi
cmova eax, edi
lea ecx, [ebp - 0x8c]
push eax
call fcn.0040a240
push 1
push 0x647558
lea ecx, [ebp - 0x8c]
call fcn.0040a240
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x30]
cmp ecx, 7
jbe 0x41635a
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x416350
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416787
push ecx
push edx
call fcn.00439938
add esp, 8
mov eax, dword [ebp - 0x138]
add eax, 0x18
mov dword [ebp - 0x138], eax
cmp eax, dword [ebp - 0x150]
je 0x41637c
mov edx, dword [ebp - 0x13c]
jmp 0x415cb0
mov ecx, dword [ebp - 0x7c]
mov esi, dword [ebp - 0x134]
mov edi, dword [ebp - 0x124]
test ecx, ecx
je 0x4163ad
dec ecx
lea eax, [ebp - 0x8c]
cmp dword [ebp - 0x78], 7
mov dword [ebp - 0x7c], ecx
cmova eax, dword [ebp - 0x8c]
xor edx, edx
mov word [eax + ecx*2], dx
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x12c]
lea eax, [ebp - 0x8c]
add edx, 0x88
cmp edx, eax
je 0x4163d7
cmp dword [ebp - 0x78], 7
push ecx
cmova eax, dword [ebp - 0x8c]
mov ecx, edx
push eax
call fcn.00403f00
cmp dword [ebp - 0x4c], 0
je 0x4164f9
cmp dword [ebp - 0x48], 7
lea eax, [ebp - 0x5c]
cmova eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4164f9
cmp dword [ebp - 0x48], 7
lea eax, [ebp - 0x5c]
cmova eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x4164f9
mov edx, dword [ebp - 0x12c]
lea eax, [ebp - 0x5c]
lea ecx, [edx + 0x30]
cmp ecx, eax
je 0x41643c
cmp dword [ebp - 0x48], 7
push dword [ebp - 0x4c]
cmova eax, dword [ebp - 0x5c]
push eax
call fcn.00403f00
mov edx, dword [ebp - 0x12c]
mov dword [edx + 0x48], 2
mov dword [edx + 0x4c], 2
cmp edi, 1
jl 0x416460
mov dword [edx + 0x48], edi
mov dword [edx + 0x4c], 0
test esi, esi
js 0x416460
mov dword [edx + 0x4c], esi
lea ecx, [edx + 0x50]
lea eax, [ebp - 0xbc]
cmp ecx, eax
je 0x41648d
cmp dword [ebp - 0xa8], 7
push dword [ebp - 0xac]
cmova eax, dword [ebp - 0xbc]
push eax
call fcn.00403f00
mov edx, dword [ebp - 0x12c]
lea ecx, [edx + 0x68]
lea eax, [ebp - 0xa4]
cmp ecx, eax
je 0x4164ba
cmp dword [ebp - 0x90], 7
push dword [ebp - 0x94]
cmova eax, dword [ebp - 0xa4]
push eax
call fcn.00403f00
mov edx, dword [ebp - 0x12c]
mov eax, dword [ebp - 0x13c]
mov byte [edx + 0x80], al
mov eax, dword [ebp - 0x130]
mov byte [edx + 0x81], al
mov dword [edx + 0x84], 2
test al, al
je 0x4164ea
mov dword [edx + 0x84], 1
push edx
call fcn.004190a0
mov byte [ebp - 0x11d], 1
jmp 0x416500
mov byte [ebp - 0x11d], 0
mov ecx, dword [ebp - 0x78]
cmp ecx, 7
jbe 0x41653d
mov edx, dword [ebp - 0x8c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x416533
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416796
push ecx
push edx
call fcn.00439938
add esp, 8
mov ecx, dword [ebp - 0x90]
xor eax, eax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
cmp ecx, 7
jbe 0x416594
mov edx, dword [ebp - 0xa4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41658a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416796
push ecx
push edx
call fcn.00439938
add esp, 8
mov ecx, dword [ebp - 0xa8]
cmp ecx, 7
jbe 0x4165d4
mov edx, dword [ebp - 0xbc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4165ca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416796
push ecx
push edx
call fcn.00439938
add esp, 8
mov ecx, dword [ebp - 0x48]
cmp ecx, 7
jbe 0x41660e
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x416604
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416796
push ecx
push edx
call fcn.00439938
add esp, 8
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
jmp 0x41662b
mov byte [ebp - 0x11d], 0
mov ecx, dword [ebp - 0x14c]
test ecx, ecx
je 0x4166af
mov edx, dword [ebp - 0x148]
push ecx
call fcn.00402820
mov ecx, dword [ebp - 0x144]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x14c]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x416687
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416796
push ecx
push esi
call fcn.00439938
add esp, 8
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x108]
cmp eax, 7
jbe 0x4166ef
mov edx, dword [ebp - 0x11c]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4166e5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416796
push ecx
push edx
call fcn.00439938
add esp, 8
mov eax, dword [ebp - 0xc0]
cmp eax, 7
jbe 0x41672b
mov edx, dword [ebp - 0xd4]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x416721
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416796
push ecx
push edx
call fcn.00439938
add esp, 8
mov ecx, dword [ebx + 0x20]
cmp ecx, 7
jbe 0x416761
mov edx, dword [ebx + 0xc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x416757
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416796
push ecx
push edx
call fcn.00439938
add esp, 8
mov al, byte [ebp - 0x11d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004398fa
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x1c
call fcn.00494baa
call fcn.00494baa
call fcn.00402670
call fcn.00494baa
int3