Function at 0x46e514
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4a2a7b
call fcn.0049e6bc
sub esp, 0x70
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
push eax
lea eax, [ebp - 0x4c]
push 0x4e07d8
push eax
call fcn.0045da2b
and dword [ebp - 4], 0
xor eax, eax
and dword [ebp - 0x54], 0
mov esi, 0x4e086c
push esi
mov byte [ebp - 0x11], 1
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
call fcn.00438238
add esp, 0x10
lea ecx, [ebp - 0x64]
push eax
push esi
call fcn.0041fba8
mov byte [ebp - 4], 1
call fcn.0041e77e
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, dword [eax]
call fcn.00424808
push 0x4e0864
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00420ac5
mov ebx, eax
lea ecx, [ebp - 0x7c]
neg ebx
push 0
sbb bl, bl
xor esi, esi
inc esi
push esi
call fcn.0041f6b8
push 0
push esi
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0
call fcn.0041f6b8
inc bl
je 0x46e5e2
mov ebx, str.11oyun
push ebx
call fcn.00438238
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x4c]
call fcn.0041fba8
xor ebx, ebx
mov byte [ebp - 0x11], bl
jmp 0x46e5e4
xor ebx, ebx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x4e0894
call fcn.0041eeaf
mov byte [ebp - 4], 3
call fcn.0041e77e
mov byte [ebp - 4], bl
mov ecx, dword [eax]
call fcn.0042af19
test al, al
je 0x46e66e
xor eax, eax
mov dword [ebp - 0x50], 7
push 0x4e0810
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
call fcn.00438238
pop ecx
push eax
push 0x4e0810
lea ecx, [ebp - 0x64]
call fcn.0041fba8
mov byte [ebp - 4], 4
call fcn.0041e77e
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, dword [eax]
call fcn.00424808
push eax
lea ecx, [ebp - 0x4c]
call fcn.0041eed4
push ebx
push esi
lea ecx, [ebp - 0x7c]
call fcn.0041f6b8
push ebx
push esi
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], bl
call fcn.0041f6b8
cmp byte [ebp + 8], 0
je 0x46e68d
push 0x4e0830
call fcn.00438238
pop ecx
push eax
push 0x4e0830
lea ecx, [ebp - 0x4c]
call fcn.0041fba8
lea ecx, [ebp - 0x7c]
call fcn.0045caf7
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4c]
cmp dword [ebp - 0x38], 8
cmovae ecx, dword [ebp - 0x4c]
cmp dword [eax + 0x14], 8
jb 0x46e6ac
mov eax, dword [eax]
push ecx
push eax
lea eax, [ebp - 0x34]
push str._stempcookie_s
push eax
call fcn.0045da2b
add esp, 0x10
push ebx
push esi
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 7
call fcn.0041f6b8
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46e73f
cmp byte [ebp - 0x11], 0
je 0x46e73f
push ebx
xor eax, eax
mov dword [ebp - 0x18], ebx
push 0x4e0860
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
call fcn.0041fba8
lea eax, [ebp + 0xb]
mov byte [ebp - 4], 8
push eax
sub esp, 0x18
mov byte [ebp + 0xb], bl
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
call fcn.0041ee74
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x18]
call fcn.0045a44e
add esp, 0x1c
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x64]
push ebx
push esi
call fcn.0041f6b8
push str.SetCookieStoragePath
push dword [edi + 0x78]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x46e7b7
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x34]
cmp dword [ebp - 0x20], 8
cmovae ecx, dword [ebp - 0x34]
push ecx
call eax
pop ecx
push ebx
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp + 0xb], al
call fcn.0041f6b8
jmp 0x46e7c6
push ebx
push 1
lea ecx, [ebp - 0x34]
call fcn.0041f6b8
mov byte [ebp + 0xb], 1
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.0041f6b8
mov al, byte [ebp + 0xb]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4