Function at 0x10021140
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013917b
mov eax, dword fs:[0]
push eax
sub esp, 0x474
mov eax, dword [0x10187468]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x47c]
mov dword [ebp - 0x434], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x455]
push eax
movq qword [ebp - 0x43c], xmm0
call fcn.1001e5c0
lea eax, [ebp - 0x478]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x455]
call fcn.1001cd00
lea eax, [ebp - 0x474]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x455]
call fcn.1001c1b0
lea eax, [ebp - 0x470]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x455]
call fcn.1001c730
lea eax, [ebp - 0x46c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x455]
call fcn.10012480
lea eax, [ebp - 0x468]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x455]
call fcn.10012770
push dword [ebp - 0x45c]
lea eax, [ebp - 0x464]
mov dword [ebp - 4], 5
push eax
lea eax, [ebp - 0x47c]
mov dword [ebp - 0x43c], 0
push eax
lea ecx, [ebp - 0x43c]
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 0
call fcn.1001aee0
push fcn.100065e0
push 6
push 4
lea eax, [ebp - 0x47c]
mov byte [ebp - 4], 7
push eax
call fcn.100c50fe
lea eax, [ebp - 0x480]
mov dword [ebp - 0x464], 0
push 1
push eax
call fcn.100073a0
mov ecx, dword [eax]
mov edx, esp
mov byte [ebp - 4], 8
mov dword [edx], ecx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10021287
sub ecx, esi
lea eax, [ebp - 0x454]
sar ecx, 1
push eax
mov dword [edx + 4], ecx
call fcn.10010af0
add esp, 0xc
mov edx, dword [ebp - 0x480]
or edi, 0xffffffff
mov byte [ebp - 4], 0xa
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100212cc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x440], 8
lea eax, [ebp - 0x220]
push 0x210
push 0
lea esi, [ebp - 0x454]
cmovae esi, dword [ebp - 0x454]
push eax
call fcn.10109d00
add esp, 0xc
test esi, esi
je 0x10021316
xor eax, eax
cmp ax, word [esi]
je 0x10021316
push str.image
push esi
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
jmp 0x1002131c
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x464]
call fcn.10006420
mov edx, dword [ebp - 0x440]
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x1002136c
mov ecx, dword [ebp - 0x454]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10021362
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100216c5
push edx
push ecx
call fcn.100c522c
add esp, 8
xor eax, eax
mov dword [ebp - 0x444], 0
mov dword [ebp - 0x440], 7
mov word [ebp - 0x454], ax
mov eax, dword [ebp - 0x438]
mov esi, dword [ebp - 0x43c]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x45c], eax
cmp esi, eax
je 0x1002145a
nop word [eax + eax]
mov edi, dword [esi]
lea eax, [ebp - 0x430]
push 0x210
push 0
push eax
mov dword [ebp - 0x460], 0
call fcn.10109d00
mov eax, dword [ebp - 0x464]
add esp, 0xc
test eax, eax
je 0x100213fd
xor ecx, ecx
cmp cx, word [eax]
je 0x100213fd
test edi, edi
je 0x10021403
cmp cx, word [edi]
je 0x10021403
push edi
push eax
lea eax, [ebp - 0x430]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
jmp 0x10021403
lea eax, [ebp - 0x430]
push eax
lea ecx, [ebp - 0x460]
call fcn.10006420
push dword [ebp - 0x460]
mov byte [ebp - 4], 0xc
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100214a8
mov edx, dword [ebp - 0x460]
or edi, 0xffffffff
mov byte [ebp - 4], 0xb
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002144b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, dword [ebp - 0x45c]
jne 0x100213b0
mov byte [ebp - 0x455], 1
mov eax, dword [ebp - 0x464]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x1002147c
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp - 0x43c]
call fcn.100261f0
mov al, byte [ebp - 0x455]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100c55ab
mov esp, ebp
pop ebp
ret
call fcn.100352e0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x1002164e
push 0x50
push str.d:jenkins.jenkinsworkspacemgamepushapp_tpipushotherselvespoprecommend.cpp
lea ecx, [ebp - 0x454]
mov dword [ebp - 0x444], eax
mov dword [ebp - 0x440], 0xf
mov byte [ebp - 0x454], al
call fcn.1000eb30
push 3
push 0x10145c60
lea ecx, [ebp - 0x47c]
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x46c], 0
mov dword [ebp - 0x468], 0xf
mov byte [ebp - 0x47c], 0
call fcn.1000eb30
push 0x1a6
lea eax, [ebp - 0x454]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x47c]
push eax
lea ecx, [ebp - 0xa8]
call fcn.1000a940
mov esi, eax
lea eax, [ebp - 0x45c]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x455]
call fcn.1001cc70
push dword [eax]
mov byte [ebp - 4], 0x10
push esi
call fcn.1000b4f0
mov eax, dword [ebp - 0x460]
mov ecx, str._null_
test eax, eax
cmovne ecx, eax
push ecx
push esi
call fcn.1000a140
add esp, 0x10
call fcn.100352e0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov edx, dword [ebp - 0x45c]
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100215aa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0xa8]
call fcn.1000bd60
mov edx, dword [ebp - 0x468]
mov byte [ebp - 4], 0xd
cmp edx, 0x10
jb 0x100215f3
mov ecx, dword [ebp - 0x47c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100215e9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100216ca
push edx
push ecx
call fcn.100c522c
add esp, 8
mov edx, dword [ebp - 0x440]
mov dword [ebp - 0x46c], 0
mov dword [ebp - 0x468], 0xf
mov byte [ebp - 0x47c], 0
mov byte [ebp - 4], 0xc
cmp edx, 0x10
jb 0x10021651
mov ecx, dword [ebp - 0x454]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10021642
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100216cf
push edx
push ecx
call fcn.100c522c
add esp, 8
jmp 0x10021651
or edi, 0xffffffff
call fcn.1000d9b0
mov esi, eax
lea ecx, [ebp - 0x455]
lea eax, [ebp - 0x45c]
push eax
call fcn.1001e8c0
push 0
push 0
push 1
push 0
push dword [eax]
mov ecx, esi
mov byte [ebp - 4], 0x11
call fcn.10036cc0
mov edx, dword [ebp - 0x45c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002169c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x460]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100216b9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0x455], 0
jmp 0x10021461
call fcn.1010d560
call fcn.1010d560
call fcn.1010d560
int3