Function at 0x100157c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009bac8
mov eax, dword fs:[0]
push eax
sub esp, 0x2f0
mov eax, dword [0x100c82c4]
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 ebx, ecx
mov dword [ebp - 0x2f0], ebx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push 0x294
mov dword [ebp - 0x2e8], eax
lea eax, [ebp - 0x2d4]
push 0
push eax
mov dword [ebp - 0x2e0], esi
call fcn.10056110
add esp, 0xc
lea ecx, [ebp - 0x2e4]
push esi
call fcn.10008f00
mov edi, dword [ebx + 0x2c]
lea eax, [ebp - 0x2e4]
add ebx, 0x2c
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x2fc], ebx
push eax
mov ecx, ebx
mov dword [ebp - 0x2f8], edi
call fcn.10017090
mov esi, dword [ebp - 0x2d8]
mov dword [ebp - 0x2dc], esi
cmp esi, dword [ebx]
je 0x1001587e
lea eax, [esi + 0x10]
mov ecx, ebx
push eax
lea eax, [ebp - 0x2e4]
push eax
call fcn.10013bc0
test al, al
je 0x10015886
mov esi, dword [ebx]
mov dword [ebp - 0x2dc], esi
cmp esi, edi
je 0x1001596f
lea eax, [ebp - 0x2e4]
mov ecx, ebx
push eax
lea eax, [ebp - 0x2d8]
push eax
call fcn.10017090
mov esi, dword [ebp - 0x2d8]
cmp esi, dword [ebx]
je 0x100158c3
lea eax, [esi + 0x10]
mov ecx, ebx
push eax
lea eax, [ebp - 0x2e4]
push eax
call fcn.10013bc0
test al, al
je 0x10015903
lea eax, [ebp - 0x2e4]
mov ecx, ebx
mov dword [ebp - 0x2d8], eax
lea eax, [ebp - 0x2f1]
push eax
lea eax, [ebp - 0x2d8]
push eax
push 0x100a3ca0
call fcn.10010da0
push eax
add eax, 0x10
mov ecx, ebx
push eax
push esi
lea eax, [ebp - 0x2d8]
push eax
call fcn.10011e70
mov esi, dword [ebp - 0x2d8]
add esi, 0x14
lea edi, [ebp - 0x2d4]
mov ecx, 0xa5
lea eax, [ebp - 0x2e4]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [ebx + 8]
call fcn.10017110
mov edi, dword [ebx + 8]
lea ecx, [ebp - 0x2e4]
push ecx
lea ecx, [ebx + 8]
mov eax, dword [edi + 4]
push eax
push edi
mov dword [ebp - 0x2d8], eax
call fcn.10010ef0
mov edx, eax
mov ecx, 0x15555554
mov eax, dword [ebx + 0xc]
sub ecx, eax
cmp ecx, 1
jb 0x10015ed3
mov esi, dword [ebp - 0x2dc]
inc eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x2d8]
mov dword [edi + 4], edx
mov edi, dword [ebp - 0x2f8]
mov dword [eax], edx
mov edx, dword [ebp - 0x2e4]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10015994
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp esi, edi
je 0x100159d9
lea ecx, [ebp - 0x270]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100159a1
sub ecx, edx
sar ecx, 1
je 0x10015b26
mov eax, dword [ebp - 0x2e8]
test eax, eax
je 0x100159cf
mov ecx, 0xa5
lea esi, [ebp - 0x2d4]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov eax, 1
jmp 0x10015eb5
call fcn.10038ba0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10015aae
push 0x64
push str.d:jenkins.jenkinsworkspacegamemodegamemodeldsmodeidentifyldsmodeidentifygamemodeidentify.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.1000e9f0
push 3
push 0x100a3b84
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000e9f0
mov byte [ebp - 4], 2
call fcn.10038ba0
mov edi, eax
lea ecx, [ebp - 0xd8]
push 0x3e
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10009360
mov esi, eax
push str.Identify_Game_By_Path:
push esi
mov byte [ebp - 4], 3
call fcn.10010630
mov ecx, dword [ebp - 0x2e0]
mov edx, 0x100a3ca4
test ecx, ecx
cmovne edx, ecx
push edx
push esi
call fcn.10010630
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xd8]
call fcn.1000a5f0
lea ecx, [ebp - 0x28]
call fcn.10009dc0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.10009dc0
push dword [ebp - 0x2e0]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [ebp - 0x2e0]
test eax, eax
jne 0x10015b2d
lea ecx, [ebp - 0x2dc]
call fcn.10008f00
push 0x294
lea eax, [ebp - 0x2d4]
mov dword [ebp - 4], 4
push 0
push eax
call fcn.10056110
add esp, 0xc
lea eax, [ebp - 0x2d4]
mov ecx, ebx
push eax
lea eax, [ebp - 0x2dc]
push eax
call fcn.10016020
mov edx, dword [ebp - 0x2dc]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10015b26
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
jmp 0x10015eb5
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x2ec]
call fcn.10008f00
mov eax, dword [ebp - 0x2ec]
mov dword [ebp - 4], 5
mov ecx, dword [eax - 0xc]
cmp ecx, 1
jge 0x10015b9f
push dword [ebp - 0x2e0]
lea ecx, [ebp - 0x2dc]
call fcn.10008f00
push 0x294
lea eax, [ebp - 0x2d4]
mov byte [ebp - 4], 6
push 0
push eax
call fcn.10056110
add esp, 0xc
lea eax, [ebp - 0x2d4]
mov ecx, ebx
push eax
lea eax, [ebp - 0x2dc]
push eax
call fcn.10016020
mov edx, dword [ebp - 0x2dc]
jmp 0x10015e71
test ecx, ecx
js 0x10015edd
movzx eax, word [eax]
push eax
call fcn.1005d497
mov esi, dword [ebp - 0x2f0]
add esp, 4
movzx eax, ax
mov dword [ebp - 0x2f8], eax
lea eax, [ebp - 0x2f8]
push eax
lea eax, [ebp - 0x2dc]
push eax
lea ecx, [esi + 0x24]
call fcn.10017040
mov eax, dword [ebp - 0x2dc]
cmp eax, dword [esi + 0x24]
je 0x10015e2b
mov edi, dword [eax + 0x14]
mov esi, dword [edi]
cmp esi, edi
je 0x10015c90
mov eax, dword [esi + 0x10]
lea ecx, [eax + eax*8]
mov eax, dword [ebp - 0x2f0]
mov eax, dword [eax + 0x18]
lea ebx, [eax + ecx*8]
mov eax, dword [ebp - 0x2ec]
cmp dword [eax - 4], 1
jle 0x10015c26
push dword [eax - 0xc]
lea ecx, [ebp - 0x2ec]
call fcn.1000b0b0
mov eax, dword [ebp - 0x2ec]
mov ecx, dword [ebp - 0x2f0]
push ebx
push eax
push dword [ebp - 0x2e0]
call fcn.10013e20
test eax, eax
jne 0x10015c84
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x10015c64
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10015c60
nop
cmp esi, dword [eax + 8]
jne 0x10015c60
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10015c50
mov esi, eax
jmp 0x10015c7c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x10015c7c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x10015c70
cmp esi, edi
jne 0x10015bf4
mov eax, dword [ebp - 0x2dc]
mov ebx, dword [ebp - 0x2fc]
cmp esi, dword [eax + 0x14]
je 0x10015dd6
mov eax, dword [esi + 0x10]
push 0x294
push 0
lea ecx, [eax + eax*8]
mov eax, dword [ebp - 0x2f0]
mov eax, dword [eax + 0x18]
lea edi, [eax + ecx*8]
lea eax, [ebp - 0x2d4]
push eax
call fcn.10056110
mov esi, dword [edi]
lea ecx, [ebp - 0x270]
mov eax, ecx
add esp, 0xc
mov edx, 0x14
sub esi, eax
lea eax, [edx + 0x7fffffea]
test eax, eax
je 0x10015cf0
movzx eax, word [ecx + esi]
test ax, ax
je 0x10015cf0
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x10015cd2
mov esi, dword [edi + 0x40]
lea eax, [ecx - 2]
test edx, edx
mov edx, 0x32
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x2d4]
mov eax, ecx
sub esi, eax
nop
lea eax, [edx + 0x7fffffcc]
test eax, eax
je 0x10015d2e
movzx eax, word [ecx + esi]
test ax, ax
je 0x10015d2e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x10015d10
mov esi, dword [edi + 0x44]
lea eax, [ecx - 2]
test edx, edx
mov edx, 0x104
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x248]
mov eax, ecx
sub esi, eax
nop dword [eax]
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x10015d6e
movzx eax, word [ecx + esi]
test ax, ax
je 0x10015d6e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x10015d50
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp - 0x2e8]
test eax, eax
je 0x10015d94
mov ecx, 0xa5
lea esi, [ebp - 0x2d4]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
push dword [ebp - 0x2e0]
lea ecx, [ebp - 0x2e8]
call fcn.10008f00
lea eax, [ebp - 0x2d4]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x2e8]
mov ecx, ebx
push eax
call fcn.10016020
lea ecx, [ebp - 0x2e8]
call fcn.10009ca0
mov esi, 1
or edi, 0xffffffff
jmp 0x10015e91
push dword [ebp - 0x2e0]
lea ecx, [ebp - 0x2e8]
call fcn.10008f00
push 0x294
lea eax, [ebp - 0x2d4]
mov byte [ebp - 4], 8
push 0
push eax
call fcn.10056110
add esp, 0xc
lea eax, [ebp - 0x2d4]
mov ecx, ebx
push eax
lea eax, [ebp - 0x2e8]
push eax
call fcn.10016020
lea ecx, [ebp - 0x2e8]
call fcn.10009ca0
xor esi, esi
or edi, 0xffffffff
jmp 0x10015e91
push dword [ebp - 0x2e0]
lea ecx, [ebp - 0x2d8]
call fcn.10008f00
push 0x294
lea eax, [ebp - 0x2d4]
mov byte [ebp - 4], 9
push 0
push eax
call fcn.10056110
add esp, 0xc
lea eax, [ebp - 0x2d4]
mov ecx, ebx
push eax
lea eax, [ebp - 0x2d8]
push eax
call fcn.10016020
mov edx, dword [ebp - 0x2d8]
or edi, 0xffffffff
mov byte [ebp - 4], 5
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10015e8f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
mov eax, dword [ebp - 0x2ec]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x10015eb3
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
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.10045897
mov esp, ebp
pop ebp
ret 8
push str.list_T__too_long
call fcn.10034e1e
push 0x80070057
call fcn.1000abf0
int3