Function at 0x4095e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x488928
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x4b12c8]
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 0x409b44
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 [0x4b0074]
mov dword [ebp - 0x30], eax
call fcn.004033b0
push dword [0x4b007c]
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.00441990
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 0x409df5
push eax
push dword [esi]
call fcn.00463cc6
add esp, 8
test eax, eax
jne 0x4097a4
push dword [0x4b0074]
lea ecx, [ebp - 0x18]
call fcn.004033b0
push dword [0x4b0078]
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 - 0x2c]
push eax
call fcn.00441990
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]
push 8
push 0x48fc08
lea ecx, [ebp - 0x34]
call fcn.00409e30
mov edx, dword [ebp - 0x2c]
mov eax, edi
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4097a4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00409330
test eax, eax
je 0x409889
push dword [0x4b0074]
lea ecx, [ebp - 0x14]
call fcn.004033b0
push dword [0x4b007c]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xb
call fcn.004033b0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00441990
add esp, 0xc
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 0xe
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409807
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], 0xf
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409825
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x409dff
push eax
push dword [esi]
call fcn.00463cc6
add esp, 8
test eax, eax
jne 0x409851
mov ecx, esi
call fcn.00408930
test eax, eax
je 0x409851
mov ebx, 1
jmp 0x409860
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
push dword [esi]
call fcn.004057f0
mov ebx, eax
mov edx, dword [ebp - 0x1c]
mov ecx, edi
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x40987e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
jne 0x409b1b
lea ebx, [esi + 0x10]
push dword [0x4b0074]
lea ecx, [ebp - 0x14]
call fcn.004033b0
push dword [0x4b007c]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x10
call fcn.004033b0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00441990
add esp, 0xc
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 0x13
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4098df
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], 0x14
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4098fd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x409e09
push eax
push dword [esi]
call fcn.00463cc6
add esp, 8
test eax, eax
jne 0x409aee
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 0x409957
push 0x104
lea ecx, [ebp - 0x5c]
call fcn.004094a0
mov ebx, dword [ebp - 0x5c]
cmp dword [ebx - 8], 0x104
jl 0x409e13
xor eax, eax
mov dword [ebx - 0xc], 0x104
push ebx
mov word [ebx + 0x208], ax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.45476F8083D74AC28A2DA8ED399737B7
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.00441990
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 0x4099d4
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 0x4099f2
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 0x409a10
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebx - 8]
push ebx
call fcn.00463a8c
add esp, 8
test eax, eax
js 0x409e13
cmp eax, dword [ebx - 8]
jg 0x409e13
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 [0x4b0074]
lea ecx, [ebp - 0x18]
call fcn.004033b0
push dword [0x4b0080]
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.00441990
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 0x409a98
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 0x409ab6
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 0x409ae4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x5c]
call fcn.004045f0
jmp 0x409afd
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 0x409b1b
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 0x409b37
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x44]
call fcn.004045f0
jmp 0x409d81
push dword [0x4b0074]
lea ecx, [ebp - 0x24]
call fcn.004033b0
push dword [0x4b007c]
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.00441990
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 0x409ba0
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 0x409bbe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x409e1d
push eax
push dword [esi]
call fcn.00463cc6
add esp, 8
test eax, eax
jne 0x409d1b
push dword [0x4b0074]
lea ecx, [ebp - 0x1c]
call fcn.004033b0
push dword [0x4b0078]
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.00441990
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 0x409c32
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 0x409c50
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [0x4b0074]
lea ecx, [ebp - 0x14]
call fcn.004033b0
push dword [0x4b0080]
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.00441990
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 0x409ca6
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 0x409cc4
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 0x409cfb
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 0x409d62
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x409d62
push 0x48e62c
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 0x409d57
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 0x409d81
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.YxhGametray
push dword [esi]
call fcn.00463cc6
add esp, 8
test eax, eax
je 0x409db1
push str.LeyouGametray
push dword [esi]
call fcn.00463cc6
add esp, 8
test eax, eax
je 0x409db1
push dword [esi + 0x14]
push 0x48fcd8
jmp 0x409db9
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 0x409ddf
push dword [esi + 0x14]
push 0x48fcdc
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