Function at 0x4095e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4893e8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x4b22c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi + 0x10]
lea ebx, [esi + 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40962e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebp + 8], 0
je 0x409b41
lea ecx, [ebp - 0x44]
call fcn.004037c0
push ebx
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0
call fcn.00404ab0
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00404ab0
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x38]
call fcn.00404ab0
mov eax, dword [esi + 0xc]
lea ecx, [ebp - 0x10]
push dword [0x4b1074]
mov dword [ebp - 0x30], eax
call fcn.004033b0
push dword [0x4b107c]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.004033b0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004424e0
add esp, 0xc
mov edx, dword [ebp + 8]
or edi, 0xffffffff
mov byte [ebp - 4], 4
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4096c7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov eax, edi
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4096e5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x409df2
push eax
push dword [esi]
call fcn.00464796
add esp, 8
test eax, eax
jne 0x4097a1
push dword [0x4b1074]
lea ecx, [ebp - 0x18]
call fcn.004033b0
push dword [0x4b1078]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.004033b0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004424e0
add esp, 0xc
mov edx, dword [ebp - 0x14]
mov eax, edi
mov byte [ebp - 4], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409759
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 0xa
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409777
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x34]
call fcn.00404ab0
mov edx, dword [ebp - 0x1c]
mov eax, edi
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4097a1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00409330
test eax, eax
je 0x409886
push dword [0x4b1074]
lea ecx, [ebp - 0x18]
call fcn.004033b0
push dword [0x4b107c]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xb
call fcn.004033b0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004424e0
add esp, 0xc
mov edx, dword [ebp - 0x1c]
mov eax, edi
mov byte [ebp - 4], 0xe
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409804
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 0xf
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409822
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x409dfc
push eax
push dword [esi]
call fcn.00464796
add esp, 8
test eax, eax
jne 0x40984e
mov ecx, esi
call fcn.00408930
test eax, eax
je 0x40984e
mov ebx, 1
jmp 0x40985d
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
push dword [esi]
call fcn.004057f0
mov ebx, eax
mov edx, dword [ebp - 0x14]
mov ecx, edi
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x40987b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
jne 0x409b18
lea ebx, [esi + 0x10]
push dword [0x4b1074]
lea ecx, [ebp - 0x18]
call fcn.004033b0
push dword [0x4b107c]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x10
call fcn.004033b0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004424e0
add esp, 0xc
mov edx, dword [ebp - 0x1c]
mov eax, edi
mov byte [ebp - 4], 0x13
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4098dc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 0x14
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4098fa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x409e06
push eax
push dword [esi]
call fcn.00464796
add esp, 8
test eax, eax
jne 0x409aeb
lea ecx, [ebp - 0x5c]
call fcn.004037c0
push ebx
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x15
call fcn.00404ab0
mov ebx, dword [ebp - 0x5c]
mov ecx, 1
mov eax, dword [ebx - 8]
sub ecx, dword [ebx - 4]
sub eax, 0x104
or eax, ecx
jge 0x409954
push 0x104
lea ecx, [ebp - 0x5c]
call fcn.004094a0
mov ebx, dword [ebp - 0x5c]
cmp dword [ebx - 8], 0x104
jl 0x409e10
xor eax, eax
mov dword [ebx - 0xc], 0x104
push ebx
mov word [ebx + 0x208], ax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x490c08
lea ecx, [ebp - 0x18]
call fcn.004033b0
push str.BuxBmLqs1NZkftAdrsFu7w
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x16
call fcn.004033b0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004424e0
add esp, 0xc
push dword [eax]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edx, dword [ebp - 0x2c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4099d1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
mov eax, edi
mov byte [ebp - 4], 0x16
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4099ef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 0x15
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409a0d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebx - 8]
push ebx
call fcn.0046455c
add esp, 8
test eax, eax
js 0x409e10
cmp eax, dword [ebx - 8]
jg 0x409e10
xor ecx, ecx
mov dword [ebx - 0xc], eax
mov word [ebx + eax*2], cx
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 0x54]
call fcn.00404ab0
push dword [0x4b1074]
lea ecx, [ebp - 0x18]
call fcn.004033b0
push dword [0x4b1080]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x18
call fcn.004033b0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004424e0
add esp, 0xc
mov edx, dword [ebp - 0x1c]
mov eax, edi
mov byte [ebp - 4], 0x1b
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409a95
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 0x1c
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409ab3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x5c]
mov ecx, esi
push eax
push dword [ebp - 0x14]
call fcn.00405610
mov edx, dword [ebp - 0x14]
mov ebx, eax
mov byte [ebp - 4], 0x15
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409ae1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x5c]
call fcn.004045f0
jmp 0x409afa
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
push dword [esi]
call fcn.00405610
mov ebx, eax
mov edx, dword [ebp - 0x20]
mov eax, edi
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409b18
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x409b34
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x44]
call fcn.004045f0
jmp 0x409d7e
push dword [0x4b1074]
lea ecx, [ebp - 0x24]
call fcn.004033b0
push dword [0x4b107c]
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0x1d
call fcn.004033b0
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x1e
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004424e0
add esp, 0xc
mov edx, dword [ebp + 8]
or edi, 0xffffffff
mov byte [ebp - 4], 0x20
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409b9d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
mov eax, edi
mov byte [ebp - 4], 0x21
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409bbb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x409e1a
push eax
push dword [esi]
call fcn.00464796
add esp, 8
test eax, eax
jne 0x409d18
push dword [0x4b1074]
lea ecx, [ebp - 0x1c]
call fcn.004033b0
push dword [0x4b1078]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x22
call fcn.004033b0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0x23
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004424e0
add esp, 0xc
mov edx, dword [ebp - 0x20]
mov eax, edi
mov byte [ebp - 4], 0x25
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409c2f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
mov eax, edi
mov byte [ebp - 4], 0x26
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409c4d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [0x4b1074]
lea ecx, [ebp - 0x14]
call fcn.004033b0
push dword [0x4b1080]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x27
call fcn.004033b0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0x28
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004424e0
add esp, 0xc
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 0x2a
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409ca3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov eax, edi
mov byte [ebp - 4], 0x2b
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409cc1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
push dword [esi]
call fcn.00408030
push dword [ebp - 0x10]
mov ecx, esi
call fcn.00407fc0
mov edx, dword [ebp - 0x10]
mov ebx, eax
mov byte [ebp - 4], 0x26
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409cf8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x28]
mov eax, edi
mov byte [ebp - 4], 0x21
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409d5f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x409d5f
push 0x48f62c
lea ecx, [ebp - 0x28]
call fcn.004033b0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x2c
push eax
push dword [esi]
mov ecx, esi
call fcn.00408030
mov edx, dword [ebp - 0x28]
mov eax, edi
mov byte [ebp - 4], 0x21
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409d54
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [esi]
mov ecx, esi
call fcn.00407fc0
mov ebx, eax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x409d7e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.YxhGametray
push dword [esi]
call fcn.00464796
add esp, 8
test eax, eax
je 0x409dae
push str.LeyouGametray
push dword [esi]
call fcn.00464796
add esp, 8
test eax, eax
je 0x409dae
push dword [esi + 0x14]
push 0x490cc0
jmp 0x409db6
push dword [esi + 0x14]
push str.true
push dword [esi + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push dword [esi + 0x18]
call edi
cmp dword [esi + 0x24], 0
je 0x409ddc
push dword [esi + 0x14]
push 0x490cc4
push str.status
push dword [esi + 0x20]
call edi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00407d70
push 0x80004005
call fcn.00407d70
push 0x80004005
call fcn.00407d70
push 0x80070057
call fcn.00407d70
push 0x80004005
call fcn.00407d70
int3