Function at 0x1004a160
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010d239
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x10137920]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x15c], edx
cmp dword [eax + 0x14], ebx
je 0x1004a6d6
cmp dword [eax + 0x30], ebx
je 0x1004a6d6
lea esi, [eax + 0x20]
mov dword [ebp - 0x164], esi
lea edi, [ebx + 8]
cmp dword [esi + 0x10], ebx
je 0x1004a1e3
cmp dword [esi + 0x14], edi
jb 0x1004a1d1
mov eax, dword [esi]
jmp 0x1004a1d3
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
cmp al, bl
jne 0x1004a1ec
push esi
call fcn.1000d470
add esp, 4
mov dword [ebp - 0x174], ebx
mov dword [ebp - 0x170], ebx
mov dword [ebp - 0x16c], ebx
mov dword [ebp - 4], ebx
push ebx
xor eax, eax
mov esi, 7
push 0x101134e8
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], ax
call fcn.1000abb0
mov byte [ebp - 4], 1
xor ecx, ecx
push 9
mov word [ebp - 0x4c], cx
push str.360se.exe
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
call fcn.1000abb0
lea edx, [ebp - 0x4c]
push edx
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 2
call fcn.100166c0
add esp, 4
mov byte [ebp - 0x149], al
cmp dword [ebp - 0x38], edi
jb 0x1004a26f
mov eax, dword [ebp - 0x4c]
push eax
call fcn.10065453
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], bl
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], cx
cmp dword [ebp - 0x1c], edi
jb 0x1004a28f
mov edx, dword [ebp - 0x30]
push edx
call fcn.10065453
add esp, 4
cmp byte [ebp - 0x149], bl
je 0x1004a2ac
cmp byte [ebp + 0x10], bl
je 0x1004a2ac
lea esi, [ebp - 0x174]
call fcn.1001b690
jmp 0x1004a6d6
push 9
xor eax, eax
push str.360se.exe
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], ax
call fcn.1000abb0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x154], esp
mov byte [ebp - 4], 3
push ebx
xor edx, edx
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push 0x101134e8
mov word [ecx], dx
call fcn.1000abb0
lea esi, [ebp - 0x30]
call fcn.1004e6b0
mov byte [ebp - 4], bl
mov byte [ebp - 0x154], al
cmp dword [ebp - 0x1c], edi
jb 0x1004a30e
mov eax, dword [ebp - 0x30]
push eax
call fcn.10065453
add esp, 4
lea esi, [ebp - 0xf4]
call fcn.1004c850
mov dword [ebp - 0x160], eax
lea esi, [ebp - 0xd8]
mov byte [ebp - 4], 4
call fcn.1004c8e0
mov ecx, eax
mov eax, dword [ebp - 0x158]
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], 5
call fcn.100103b0
push 0x1012329c
push eax
lea ecx, [ebp - 0x30]
push ecx
mov byte [ebp - 4], 6
call fcn.100102a0
add esp, 0xc
mov edx, dword [ebp - 0x160]
push edx
push eax
lea eax, [ebp - 0xbc]
push eax
mov byte [ebp - 4], 7
call fcn.10010440
add esp, 0xc
cmp dword [ebp - 0x1c], edi
jb 0x1004a384
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.10065453
add esp, 4
mov esi, 7
xor edx, edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], dx
cmp dword [ebp - 0x38], edi
jb 0x1004a3a6
mov eax, dword [ebp - 0x4c]
push eax
call fcn.10065453
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], cx
cmp dword [ebp - 0xc4], edi
jb 0x1004a3c9
mov edx, dword [ebp - 0xd8]
push edx
call fcn.10065453
add esp, 4
xor eax, eax
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0xc8], ebx
mov word [ebp - 0xd8], ax
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0xe0], edi
jb 0x1004a3f9
mov ecx, dword [ebp - 0xf4]
push ecx
call fcn.10065453
add esp, 4
mov dword [ebp - 0xe0], esi
xor edx, edx
lea esi, [ebp - 0x68]
mov dword [ebp - 0xe4], ebx
mov word [ebp - 0xf4], dx
call fcn.1004d060
push eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0xbc]
push ecx
mov ecx, dword [ebp - 0x150]
lea edx, [ecx + 4]
mov byte [ebp - 4], 0xd
call fcn.1004d7e0
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x54], edi
jb 0x1004a449
mov edx, dword [ebp - 0x68]
push edx
call fcn.10065453
add esp, 4
lea esi, [ebp - 0x148]
call fcn.1004d060
mov dword [ebp - 0x150], eax
lea esi, [ebp - 0x68]
mov byte [ebp - 4], 0xe
call fcn.1004c8e0
mov ecx, eax
mov eax, dword [ebp - 0x158]
lea esi, [ebp - 0x84]
mov byte [ebp - 4], 0xf
call fcn.100103b0
push 0x1012329c
push eax
lea eax, [ebp - 0x12c]
push eax
mov byte [ebp - 4], 0x10
call fcn.100102a0
add esp, 0xc
push 0x10127478
push eax
lea ecx, [ebp - 0x110]
push ecx
mov byte [ebp - 4], 0x11
call fcn.100102a0
add esp, 0xc
mov edx, dword [ebp - 0x150]
push edx
mov edx, dword [ebp - 0x164]
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.1004dca0
cmp dword [ebp - 0xfc], edi
jb 0x1004a4de
mov eax, dword [ebp - 0x110]
push eax
call fcn.10065453
add esp, 4
xor ecx, ecx
mov esi, 7
mov dword [ebp - 0xfc], esi
mov dword [ebp - 0x100], ebx
mov word [ebp - 0x110], cx
cmp dword [ebp - 0x118], edi
jb 0x1004a50f
mov edx, dword [ebp - 0x12c]
push edx
call fcn.10065453
add esp, 4
xor eax, eax
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x11c], ebx
mov word [ebp - 0x12c], ax
cmp dword [ebp - 0x70], edi
jb 0x1004a538
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.10065453
add esp, 4
xor edx, edx
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x74], ebx
mov word [ebp - 0x84], dx
cmp dword [ebp - 0x54], edi
jb 0x1004a558
mov eax, dword [ebp - 0x68]
push eax
call fcn.10065453
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], ebx
mov word [ebp - 0x68], cx
cmp dword [ebp - 0x134], edi
jb 0x1004a57f
mov edx, dword [ebp - 0x148]
push edx
call fcn.10065453
add esp, 4
mov ecx, dword [ebp - 0x15c]
push 5
push str.s31
call fcn.10009ff0
lea edi, [ebp - 0xa0]
call fcn.1004a8c0
push 1
push 0x1012329c
mov ecx, edi
mov byte [ebp - 4], 0x13
call fcn.10009ff0
lea esi, [ebp - 0x148]
call fcn.1004c760
mov edi, eax
lea esi, [ebp - 0x84]
mov byte [ebp - 4], 0x14
call fcn.1004cc10
push edi
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0x15
call fcn.10010440
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x16
call fcn.1000a320
mov esi, 8
cmp dword [ebp - 0x54], esi
jb 0x1004a605
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.10065453
add esp, 4
xor edx, edx
mov edi, 7
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x58], ebx
mov word [ebp - 0x68], dx
cmp dword [ebp - 0x70], esi
jb 0x1004a62a
mov eax, dword [ebp - 0x84]
push eax
call fcn.10065453
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x74], ebx
mov word [ebp - 0x84], cx
cmp dword [ebp - 0x134], esi
jb 0x1004a654
mov edx, dword [ebp - 0x148]
push edx
call fcn.10065453
add esp, 4
mov eax, dword [ebp - 0x154]
push eax
lea edi, [ebp - 0xa0]
call fcn.1004e7c0
cmp dword [ebp - 0x8c], esi
jb 0x1004a67d
mov ecx, dword [ebp - 0xa0]
push ecx
call fcn.10065453
add esp, 4
xor edx, edx
mov edi, 7
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x90], ebx
mov word [ebp - 0xa0], dx
cmp dword [ebp - 0xa8], esi
jb 0x1004a6ae
mov eax, dword [ebp - 0xbc]
push eax
call fcn.10065453
add esp, 4
mov eax, dword [ebp - 0x174]
xor ecx, ecx
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0xac], ebx
mov word [ebp - 0xbc], cx
cmp eax, ebx
je 0x1004a6d6
push eax
call fcn.10065453
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1006656c
mov esp, ebp
pop ebp
ret 0xc