Function at 0x404b90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x479588
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x49d22c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi + 0x10]
lea edi, [esi + 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x404d69
cmp dword [ebp + 8], 0
je 0x404d0b
call fcn.00404630
mov ecx, eax
test ecx, ecx
je 0x404d7e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
call fcn.00404630
mov ecx, eax
test ecx, ecx
je 0x404d88
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
call fcn.00404630
mov ecx, eax
test ecx, ecx
je 0x404d92
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
call fcn.00404630
mov ecx, eax
test ecx, ecx
je 0x404d9c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
call fcn.00404630
mov ecx, eax
test ecx, ecx
je 0x404da6
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push edi
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0
call fcn.004035a0
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004035a0
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x18]
call fcn.004035a0
mov edx, dword [ebp - 0x14]
or edi, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x404ca5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x404cbf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x404cd9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x20]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x404cf3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x404d0b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x47fa30
push dword [esi]
call fcn.00455106
add esp, 8
test eax, eax
je 0x404d3b
push str.LeyouGametray
push dword [esi]
call fcn.00455106
add esp, 8
test eax, eax
je 0x404d3b
push dword [esi + 0x14]
push 0x47fa70
jmp 0x404d43
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 0x404d69
push dword [esi + 0x14]
push 0x47fa74
push str.status
push dword [esi + 0x20]
call edi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00404080
push 0x80004005
call fcn.00404080
push 0x80004005
call fcn.00404080
push 0x80004005
call fcn.00404080
push 0x80004005
call fcn.00404080
int3