Function at 0x1000fa60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100620b9
mov eax, dword fs:[0]
push eax
sub esp, 0x4e4
mov eax, dword [0x10081100]
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
cmp dword [ebx], 0
jne 0x1000fa9a
call fcn.1000e5c0
push 0x208
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], 0
push 0
push eax
call fcn.1003d850
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x420]
add esp, 0xc
push dword [ebx + 0x5c]
push dword [ebx + 4]
push eax
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x420]
push eax
call edi
test eax, eax
je 0x1000fbd0
mov dword [ebp - 0x424], 1
call fcn.1001a920
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000fff2
push 0x48
push str.d:jenkins.jenkinsworkspacelib_commoncefhelpercef_helperconfig.cpp
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x42c], 0xf
mov byte [ebp - 0x440], al
call fcn.10004a50
push 3
push 0x10066764
lea ecx, [ebp - 0x458]
mov dword [ebp - 4], 0
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0xf
mov byte [ebp - 0x458], 0
call fcn.10004a50
mov byte [ebp - 4], 1
call fcn.1001a920
mov edi, eax
lea ecx, [ebp - 0x4f0]
push 0x77
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x458]
push eax
call fcn.10002920
mov esi, eax
push str.local_cef_pepflashplayer.dll_is_exist
push esi
mov byte [ebp - 4], 2
call fcn.10003570
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x4f0]
call fcn.10003620
lea ecx, [ebp - 0x458]
call fcn.10003260
lea ecx, [ebp - 0x440]
call fcn.10003260
jmp 0x1000fff2
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1003d850
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [0x10081028]
push dword [ebx + 4]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call edi
test eax, eax
jne 0x1000fe95
call fcn.1001a920
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000fd8f
push 0x48
push str.d:jenkins.jenkinsworkspacelib_commoncefhelpercef_helperconfig.cpp
lea ecx, [ebp - 0x458]
mov dword [ebp - 0x448], eax
mov dword [ebp - 0x444], 0xf
mov byte [ebp - 0x458], al
call fcn.10004a50
push 3
push 0x10066764
lea ecx, [ebp - 0x440]
mov dword [ebp - 4], 3
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0xf
mov byte [ebp - 0x440], 0
call fcn.10004a50
mov byte [ebp - 4], 4
call fcn.1001a920
mov edi, eax
lea ecx, [ebp - 0x4f0]
push 0x7e
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x440]
push eax
call fcn.10002920
mov esi, eax
push str.local_cef_pepflashplayer.dll_not_exist
push esi
mov byte [ebp - 4], 5
call fcn.10003570
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x4f0]
call fcn.10003620
mov edx, dword [ebp - 0x42c]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x1000fd0c
mov ecx, dword [ebp - 0x440]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000fd02
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010016
push edx
push ecx
call fcn.10020dd1
add esp, 8
mov edx, dword [ebp - 0x444]
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0xf
mov byte [ebp - 0x440], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x1000fd68
mov ecx, dword [ebp - 0x458]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000fd5e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001001b
push edx
push ecx
call fcn.10020dd1
add esp, 8
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0xf
mov byte [ebp - 0x458], 0
push dword [0x1008102c]
lea eax, [ebp - 0x218]
push dword [ebx + 4]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call edi
test eax, eax
jne 0x1000fe95
call fcn.1001a920
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000fff2
push 0x48
push str.d:jenkins.jenkinsworkspacelib_commoncefhelpercef_helperconfig.cpp
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x42c], 0xf
mov byte [ebp - 0x440], al
call fcn.10004a50
push 3
push 0x10066764
lea ecx, [ebp - 0x458]
mov dword [ebp - 4], 6
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0xf
mov byte [ebp - 0x458], 0
call fcn.10004a50
mov byte [ebp - 4], 7
call fcn.1001a920
mov edi, eax
lea ecx, [ebp - 0x4f0]
push 0x82
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x458]
push eax
call fcn.10002920
mov esi, eax
push str.local_cef69_pepflashplayer.dll_not_exist
push esi
mov byte [ebp - 4], 8
call fcn.10003570
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x4f0]
call fcn.10003620
lea ecx, [ebp - 0x458]
call fcn.10003260
lea ecx, [ebp - 0x440]
call fcn.10003260
jmp 0x1000fff2
call fcn.10003d10
mov ecx, eax
test ecx, ecx
je 0x10010020
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x428], esi
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 9
test eax, 0xffff0000
jne 0x1000ff81
movzx edi, ax
push 0
push edi
call fcn.1000aef0
add esp, 8
mov dword [ebp - 0x424], eax
test eax, eax
je 0x1000ffb2
mov ecx, edi
shr ecx, 4
push 6
inc ecx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x1000ffb2
push edi
push eax
push dword [ebp - 0x424]
call fcn.10004250
add esp, 0xc
mov dword [ebp - 0x424], eax
test eax, eax
je 0x1000ffb2
movzx edx, word [eax]
mov ecx, 1
mov eax, dword [esi - 8]
mov edi, edx
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x1000ff4f
push edi
lea ecx, [ebp - 0x428]
call fcn.10003fb0
mov eax, dword [ebp - 0x424]
mov esi, dword [ebp - 0x428]
movzx edx, word [eax]
jmp 0x1000ff55
mov eax, dword [ebp - 0x424]
movzx ecx, dx
add eax, 2
push ecx
push eax
push edi
push esi
call fcn.1004317c
push eax
call fcn.1000ae50
add esp, 0x14
cmp edi, dword [esi - 8]
jg 0x1001002a
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
jmp 0x1000ffb2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000ff90
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x428]
call fcn.100106c0
lea eax, [ebp - 0x428]
mov dword [ebp - 4], 0xa
push eax
mov ecx, ebx
call fcn.1000b470
mov edx, dword [ebp - 0x428]
or ecx, 0xffffffff
mov dword [ebp - 0x424], eax
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1000fff2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x424]
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.10021142
mov esp, ebp
pop ebp
ret 4
call fcn.10040839
call fcn.10040839
push 0x80004005
call fcn.10003ae0
push 0x80070057
call fcn.10003ae0
int3