Function at 0x417510
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x584b0c
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x5ea6c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
push 0
push 0x59797c
mov dword [ebp - 0xe0], edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040e990
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.00488ca0
mov edx, dword [ebp - 0x14]
test al, al
mov dword [ebp - 4], 0xffffffff
sete bl
cmp edx, 0x10
jb 0x4175ba
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4175b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417d44
push edx
push ecx
call fcn.0051238c
add esp, 8
test bl, bl
jne 0x417d1c
xor esi, esi
push 0
push 0x59797c
lea ecx, [ebp - 0x28]
mov dword [ebp - 0xd4], esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040e990
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push eax
mov ecx, edi
call fcn.00488200
mov edx, dword [ebp - 0x14]
cmp esi, eax
mov dword [ebp - 4], 0xffffffff
setb bl
cmp edx, 0x10
jb 0x41763d
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x417633
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417d44
push edx
push ecx
call fcn.0051238c
add esp, 8
test bl, bl
je 0x417d1c
push esi
mov ecx, edi
call fcn.004881e0
push eax
lea ecx, [ebp - 0xf8]
call fcn.00488040
push 4
push str.root
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 2
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0040e990
push 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0xf8]
call fcn.00488520
mov edx, dword [ebp - 0x2c]
mov ebx, eax
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x4176d0
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4176c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417d44
push edx
push ecx
call fcn.0051238c
add esp, 8
push 4
push str.is64
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
or ebx, 0x80000000
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040e990
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0xf8]
call fcn.00488280
mov edx, dword [ebp - 0x14]
test al, al
mov esi, 0x200
mov byte [ebp - 4], 2
mov eax, 0x100
cmovne esi, eax
or esi, 0x20019
cmp edx, 0x10
jb 0x41776b
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x417761
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417d44
push edx
push ecx
call fcn.0051238c
add esp, 8
call fcn.0040a770
test eax, eax
je 0x417d3a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0xbc], eax
push 0x597944
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 5
call fcn.0040a080
test al, al
jne 0x4177ab
lea ecx, [ebp - 0xbc]
call fcn.0040a610
push 4
push str.item
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040e990
push 0xfde9
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0xf8]
call fcn.00488b20
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov byte [ebp - 4], 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417815
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.00414120
mov edx, dword [ebp - 0xd8]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41784c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0xb
cmp edx, 0x10
jb 0x417884
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41787a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417d44
push edx
push ecx
call fcn.0051238c
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov edx, dword [ebp - 0xbc]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4178b4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor edi, edi
mov dword [ebp - 0xcc], edi
mov dword [ebp - 0xc8], edi
mov dword [ebp - 0xc4], edi
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xd0], edi
push ecx
push esi
push edi
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x417906
mov edi, dword [ebp - 0xd0]
and esi, 0x300
mov dword [ebp - 0xcc], edi
mov dword [ebp - 0xc8], esi
mov byte [ebp - 4], 0xd
test eax, eax
je 0x417984
test edi, edi
je 0x417923
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xcc], 0
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0xc8], 0
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x41796b
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417961
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417d44
push edx
push ecx
call fcn.0051238c
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
jmp 0x417cb9
call fcn.0040a770
test eax, eax
je 0x417d3a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0xc0], eax
push 0x597944
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0xf
call fcn.0040a080
test al, al
jne 0x4179c4
lea ecx, [ebp - 0xc0]
call fcn.0040a610
push 3
push 0x597e00
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040e990
push 0xfde9
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0xf8]
call fcn.00488b20
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417a31
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x88]
call fcn.00414120
mov edx, dword [ebp - 0xdc]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x417a6b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x15
cmp edx, 0x10
jb 0x417aa3
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x417a99
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417d44
push edx
push ecx
call fcn.0051238c
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov edx, dword [ebp - 0xc0]
or eax, 0xffffffff
mov byte [ebp - 4], 0x16
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x417ad7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov dword [ebp - 0x30], 0
push eax
push 0x597944
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00414120
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
push edi
push eax
call fcn.0042c8e0
add esp, 0x10
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x19
cmp edx, 8
jb 0x417b53
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417b49
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417d44
push edx
push ecx
call fcn.0051238c
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp dword [ebp - 0x60], eax
je 0x417c7f
call fcn.0047f3e0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x417c69
push 0x52
push str.d:jenkins.jenkinsworkspacemgame_security_security_maincommonglobalcfgmgr.cpp
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], al
call fcn.0040e990
push 3
push 0x597c7c
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x1a
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
call fcn.0040e990
push 0xb6
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0x1b
push eax
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x190]
call fcn.004080a0
mov esi, eax
push str.acc_path:
push esi
mov byte [ebp - 4], 0x1c
call fcn.004062f0
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x70]
mov eax, str._null_
cmovae ecx, dword [ebp - 0x70]
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.004062f0
add esp, 0x10
call fcn.0047f3e0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x190]
call fcn.00409700
lea ecx, [ebp - 0xa0]
call fcn.00408b80
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x19
call fcn.00408b80
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x417cdd
lea ecx, [ebp - 0x70]
call fcn.00408bd0
lea ecx, [ebp - 0x88]
call fcn.00408bd0
test edi, edi
je 0x417ca7
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xcc], 0
lea ecx, [ebp - 0x58]
mov dword [ebp - 0xc8], 0
call fcn.00408bd0
lea ecx, [ebp - 0xf8]
mov dword [ebp - 4], 0xffffffff
call fcn.00484c60
mov esi, dword [ebp - 0xd4]
mov edi, dword [ebp - 0xe0]
inc esi
jmp 0x4175c4
call fcn.004166d0
push 0x42
mov ecx, eax
call fcn.00412ef0
lea ecx, [ebp - 0x70]
call fcn.00408bd0
lea ecx, [ebp - 0x88]
call fcn.00408bd0
test edi, edi
je 0x417d09
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x58]
call fcn.00408bd0
lea ecx, [ebp - 0xf8]
call fcn.00484c60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00512634
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00409c80
call fcn.00556b30
int3