Function at 0x419580
Capabilities:
Check if file exists
Terminate process

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 0x5c84fc
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa0
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, ecx
xor esi, esi
mov dword [ebp - 0xa4], esi
mov dword [ebp - 4], 1
mov eax, dword [edi + 0xd0]
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4195f1
push eax
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0xd0], esi
mov eax, dword [edi + 0xd4]
test eax, eax
je 0x419608
push eax
call ecx
mov dword [edi + 0xd4], 0
cmp byte [ebx + 8], 0
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
je 0x419908
lea edx, [ebx + 0x10]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa0]
call fcn.00405200
cmp dword [ebp - 0x90], 0
mov dword [ebp - 0xa4], 1
jbe 0x419663
cmp dword [ebx + 0x24], 7
lea ecx, [ebx + 0x10]
mov eax, dword [ebx + 0x20]
mov edx, 0x5c
cmova ecx, dword [ebx + 0x10]
cmp dx, word [ecx + eax*2 - 2]
je 0x419663
push edx
lea ecx, [ebp - 0xa0]
call fcn.00409fa0
push 6
push str.TM.exe
lea ecx, [ebp - 0xa0]
call fcn.0040a240
mov dword [ebp - 0x60], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x60], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov esi, 2
mov dword [ebp - 0xa4], esi
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x8c]
cmp ecx, 7
jbe 0x4196fd
mov edx, dword [ebp - 0xa0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4196f3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419cf3
push ecx
push edx
call fcn.00439938
add esp, 8
xor eax, eax
mov dword [ebp - 0x90], 0
cmp dword [ebp - 0x5c], 7
mov word [ebp - 0xa0], ax
lea eax, [ebp - 0x70]
cmova eax, dword [ebp - 0x70]
push eax
mov dword [ebp - 0x8c], 7
call edi
test eax, eax
je 0x4198ca
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
push str.TM.exe
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x74], 0
movups xmmword [ebp - 0x88], xmm0
call fcn.00402780
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
push 0x647124
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
call fcn.00402780
lea edx, [ebx + 0x10]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x30]
call fcn.00405200
cmp dword [ebp - 0x20], 0
mov dword [ebp - 0xa4], 0x12
jbe 0x4197c4
cmp dword [ebx + 0x24], 7
lea ecx, [ebx + 0x10]
mov eax, dword [ebx + 0x20]
mov edx, 0x5c
cmova ecx, dword [ebx + 0x10]
cmp dx, word [ecx + eax*2 - 2]
je 0x4197c4
push edx
lea ecx, [ebp - 0x30]
call fcn.00409fa0
push ecx
lea eax, [ebp - 0x88]
push eax
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x58]
call fcn.004066c0
mov byte [ebp - 4], 6
add esp, 8
mov ecx, dword [ebp - 0x1c]
mov esi, 2
mov dword [ebp - 0xa4], esi
cmp ecx, 7
jbe 0x419823
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x419819
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419cf8
push ecx
push edx
call fcn.00439938
add esp, 8
xor eax, eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
cmp ecx, 7
jbe 0x419875
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41986b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419cf8
push ecx
push edx
call fcn.00439938
add esp, 8
xor eax, eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp ecx, 7
jbe 0x4198ca
mov edx, dword [ebp - 0x88]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4198c0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419cf8
push ecx
push edx
call fcn.00439938
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x5c]
cmp ecx, 7
jbe 0x419908
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4198fe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419cfd
push ecx
push edx
call fcn.00439938
add esp, 8
cmp byte [ebx + 0xc], 0
je 0x419c40
lea edx, [ebx + 0x10]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x30]
call fcn.00405200
or esi, 4
cmp dword [ebp - 0x20], 0
mov dword [ebp - 0xa4], esi
jbe 0x419953
cmp dword [ebx + 0x24], 7
lea ecx, [ebx + 0x10]
mov eax, dword [ebx + 0x20]
mov edx, 0x5c
cmova ecx, dword [ebx + 0x10]
cmp dx, word [ecx + eax*2 - 2]
je 0x419953
push edx
lea ecx, [ebp - 0x30]
call fcn.00409fa0
push 6
push str.TM.exe
lea ecx, [ebp - 0x30]
call fcn.0040a240
mov dword [ebp - 0x48], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x1c]
cmp ecx, 7
jbe 0x4199d9
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4199cf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419d02
push ecx
push edx
call fcn.00439938
add esp, 8
xor eax, eax
mov dword [ebp - 0x20], 0
cmp dword [ebp - 0x44], 7
mov word [ebp - 0x30], ax
lea eax, [ebp - 0x58]
cmova eax, dword [ebp - 0x58]
push eax
mov dword [ebp - 0x1c], 7
call edi
test eax, eax
je 0x419c06
push 0x1c
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
push str._startbylauncher__startkey
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 0
movups xmmword [ebp - 0x70], xmm0
call fcn.00402780
mov byte [ebp - 4], 0xb
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
lea esi, [ebp - 0x16]
mov eax, 0x45e7b273
mul ecx
mov ecx, edx
shr ecx, 0xe
mov eax, 0xcccccccd
sub esi, 2
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [esi], cx
mov ecx, edx
test ecx, ecx
jne 0x419a42
push ecx
lea eax, [ebp - 0x16]
push eax
push esi
lea ecx, [ebp - 0x88]
call fcn.00422190
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x88]
cmp dword [ebp - 0x74], 7
lea ecx, [ebp - 0x70]
push dword [ebp - 0x78]
cmova eax, dword [ebp - 0x88]
push eax
call fcn.0040a240
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x74]
cmp ecx, 7
jbe 0x419ad5
mov edx, dword [ebp - 0x88]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x419acb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419d0c
push ecx
push edx
call fcn.00439938
add esp, 8
cmp dword [ebx + 0x38], 0
je 0x419b01
push 1
push 0x645e04
lea ecx, [ebp - 0x70]
call fcn.0040a240
cmp dword [ebx + 0x3c], 7
lea eax, [ebx + 0x28]
push dword [ebx + 0x38]
cmova eax, dword [ebx + 0x28]
lea ecx, [ebp - 0x70]
push eax
call fcn.0040a240
sub esp, 0x18
lea eax, [ebp - 0x70]
mov ecx, esp
mov dword [ebp - 0xac], esp
push eax
call fcn.00402520
sub esp, 0x18
mov byte [ebp - 4], 0xd
mov esi, esp
lea eax, [ebp - 0x58]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [ebp - 0x44], 7
mov edi, dword [ebp - 0x48]
cmova eax, dword [ebp - 0x58]
mov dword [ebp - 0xa8], eax
cmp edi, 0x7ffffffe
ja 0x419d07
cmp edi, 7
ja 0x419b69
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 7
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
jmp 0x419bbe
mov eax, edi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x419b7c
mov eax, bind
jmp 0x419b86
mov ecx, 0xa
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xa4]
push eax
push esi
call fcn.00402980
mov ecx, dword [ebp - 0xa4]
mov dword [esi + 0x14], ecx
lea ecx, [edi*2 + 2]
push ecx
push dword [ebp - 0xa8]
mov dword [esi], eax
push eax
mov dword [esi + 0x10], edi
call fcn.0048fd10
add esp, 0x14
xor ecx, ecx
mov byte [ebp - 4], 0xb
call fcn.00408940
mov ecx, dword [ebp - 0x5c]
add esp, 0x30
cmp ecx, 7
jbe 0x419c06
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x419bfc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419d0c
push ecx
push edx
call fcn.00439938
add esp, 8
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x419c40
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x419c36
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419d11
push ecx
push edx
call fcn.00439938
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebx + 0x24]
cmp ecx, 7
jbe 0x419c89
mov edx, dword [ebx + 0x10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x419c7f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419d16
push ecx
push edx
call fcn.00439938
add esp, 8
mov ecx, dword [ebx + 0x3c]
xor eax, eax
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 7
mov word [ebx + 0x10], ax
cmp ecx, 7
jbe 0x419cd3
mov edx, dword [ebx + 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x419cc9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419d16
push ecx
push edx
call fcn.00439938
add esp, 8
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 0x38
call fcn.00494baa
call fcn.00494baa
call fcn.00494baa
call fcn.00494baa
call fcn.004012e0
call fcn.00494baa
call fcn.00494baa
call fcn.00494baa
int3