Function at 0x418ed0
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 0x5c7ecc
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 0x418f41
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 0x418f58
push eax
call ecx
mov dword [edi + 0xd4], 0
cmp byte [ebx + 8], 0
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
je 0x419258
lea edx, [ebx + 0x10]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa0]
call fcn.00405290
cmp dword [ebp - 0x90], 0
mov dword [ebp - 0xa4], 1
jbe 0x418fb3
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 0x418fb3
push edx
lea ecx, [ebp - 0xa0]
call fcn.00409b90
push 9
push str.YeBao.exe
lea ecx, [ebp - 0xa0]
call fcn.00409e30
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 0x41904d
mov edx, dword [ebp - 0xa0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x419043
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419643
push ecx
push edx
call fcn.004392c8
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 0x41921a
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
push str.YeBao.exe
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x74], 0
movups xmmword [ebp - 0x88], xmm0
call fcn.004027e0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
push 0x64710c
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
call fcn.004027e0
lea edx, [ebx + 0x10]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x30]
call fcn.00405290
cmp dword [ebp - 0x20], 0
mov dword [ebp - 0xa4], 0x12
jbe 0x419114
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 0x419114
push edx
lea ecx, [ebp - 0x30]
call fcn.00409b90
push ecx
lea eax, [ebp - 0x88]
push eax
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x58]
call fcn.004069a0
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 0x419173
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x419169
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419648
push ecx
push edx
call fcn.004392c8
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 0x4191c5
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4191bb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419648
push ecx
push edx
call fcn.004392c8
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 0x41921a
mov edx, dword [ebp - 0x88]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x419210
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419648
push ecx
push edx
call fcn.004392c8
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x5c]
cmp ecx, 7
jbe 0x419258
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41924e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41964d
push ecx
push edx
call fcn.004392c8
add esp, 8
cmp byte [ebx + 0xc], 0
je 0x419590
lea edx, [ebx + 0x10]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x30]
call fcn.00405290
or esi, 4
cmp dword [ebp - 0x20], 0
mov dword [ebp - 0xa4], esi
jbe 0x4192a3
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 0x4192a3
push edx
lea ecx, [ebp - 0x30]
call fcn.00409b90
push 9
push str.YeBao.exe
lea ecx, [ebp - 0x30]
call fcn.00409e30
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 0x419329
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41931f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419652
push ecx
push edx
call fcn.004392c8
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 0x419556
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.004027e0
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 0x419392
push ecx
lea eax, [ebp - 0x16]
push eax
push esi
lea ecx, [ebp - 0x88]
call fcn.00421b10
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.00409e30
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x74]
cmp ecx, 7
jbe 0x419425
mov edx, dword [ebp - 0x88]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41941b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41965c
push ecx
push edx
call fcn.004392c8
add esp, 8
cmp dword [ebx + 0x38], 0
je 0x419451
push 1
push 0x645e04
lea ecx, [ebp - 0x70]
call fcn.00409e30
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.00409e30
sub esp, 0x18
lea eax, [ebp - 0x70]
mov ecx, esp
mov dword [ebp - 0xac], esp
push eax
call fcn.00402580
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 0x419657
cmp edi, 7
ja 0x4194b9
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 7
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
jmp 0x41950e
mov eax, edi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x4194cc
mov eax, bind
jmp 0x4194d6
mov ecx, 0xa
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xa4]
push eax
push esi
call fcn.004029e0
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.0048f690
add esp, 0x14
xor ecx, ecx
mov byte [ebp - 4], 0xb
call fcn.00408c20
mov ecx, dword [ebp - 0x5c]
add esp, 0x30
cmp ecx, 7
jbe 0x419556
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41954c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41965c
push ecx
push edx
call fcn.004392c8
add esp, 8
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x419590
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x419586
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419661
push ecx
push edx
call fcn.004392c8
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 0x4195d9
mov edx, dword [ebx + 0x10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4195cf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419666
push ecx
push edx
call fcn.004392c8
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 0x419623
mov edx, dword [ebx + 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x419619
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419666
push ecx
push edx
call fcn.004392c8
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.0043928a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x38
call fcn.0049452a
call fcn.0049452a
call fcn.0049452a
call fcn.0049452a
call fcn.004012e0
call fcn.0049452a
call fcn.0049452a
call fcn.0049452a
int3