Function at 0x40ef80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55b5af
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x5bb278]
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
lea eax, [ebp - 0xdc]
xor edi, edi
push eax
mov dword [ebp - 0xc4], edi
call fcn.00421770
mov ecx, eax
call fcn.00421740
mov eax, dword [ebp - 0xdc]
add eax, 0x3c
mov dword [ebp - 4], edi
push str.7z.dll
push eax
lea eax, [ebp - 0xd4]
push eax
call fcn.00406ba0
add esp, 0xc
push dword [ebp - 0xd4]
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or ebx, 0xffffffff
test eax, eax
jne 0x40f4d1
call fcn.00477b70
mov ecx, eax
push edi
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x40f2cf
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxinst_helper.cc
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], al
call fcn.0041a210
push 3
push 0x56f974
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 2
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
call fcn.0041a210
mov byte [ebp - 4], 3
call fcn.00477b70
push 1
push 2
lea ecx, [ebp - 0x174]
mov dword [ebp - 0xc8], eax
call fcn.004050f0
push ebx
push 0x56f958
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 4
call fcn.0041b4d0
push ebx
push 0x56f95c
lea ecx, [ebp - 0xa4]
mov esi, eax
call fcn.0041b4d0
push 0x64
mov edi, eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.00513860
add esp, 0xc
cmp edi, ebx
je 0x40f1c2
lea eax, [edi - 1]
cmp esi, eax
jae 0x40f1c2
mov eax, dword [ebp - 0x94]
lea edx, [esi + 1]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0xf
mov byte [ebp - 0xbc], 0
cmp eax, edx
jb 0x40fa5f
sub edi, esi
sub eax, edx
lea ecx, [edi - 1]
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x90], 0x10
lea eax, [ebp - 0xa4]
cmovae eax, dword [ebp - 0xa4]
push ecx
add eax, edx
lea ecx, [ebp - 0xbc]
push eax
call fcn.0041a210
cmp dword [ebp - 0xa8], 0x10
lea eax, [ebp - 0xbc]
mov edi, 1
cmovae eax, dword [ebp - 0xbc]
push eax
push 0x49c
lea eax, [ebp - 0x74]
mov dword [ebp - 0xc4], edi
push str.__4d___s_
push eax
call fcn.00404b90
mov edx, dword [ebp - 0xa8]
add esp, 0x10
cmp edx, 0x10
jb 0x40f1a5
mov ecx, dword [ebp - 0xbc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f19b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fa64
push edx
push ecx
call fcn.004698bf
add esp, 8
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0xf
mov byte [ebp - 0xbc], 0
jmp 0x40f1de
push 0x49c
lea eax, [ebp - 0x74]
push str.__4d_
push eax
call fcn.00404b90
mov edi, dword [ebp - 0xc4]
add esp, 0xc
cmp dword [ebp - 0x78], 0x10
lea eax, [ebp - 0x8c]
cmovae eax, dword [ebp - 0x8c]
push eax
lea eax, [ebp - 0x174]
push eax
call fcn.004067f0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x174]
push eax
call fcn.004067f0
lea eax, [ebp - 0x174]
mov byte [ebp - 4], 5
push str.InstallFiles__InstallHelper::path_7z_is_not_exist
push eax
call fcn.004067f0
mov ecx, dword [ebp - 0xc8]
lea edx, [ebp - 0x174]
add esp, 0x18
mov eax, dword [ecx]
push edx
call dword [eax + 0x1c]
lea ecx, [ebp - 0x174]
call fcn.004085e0
mov edx, dword [ebp - 0x78]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x40f27c
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f272
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fa69
push edx
push ecx
call fcn.004698bf
add esp, 8
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x40f2cf
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f2c5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fa6e
push edx
push ecx
call fcn.004698bf
add esp, 8
lea eax, [ebp - 0xcc]
push eax
call fcn.00421770
mov ecx, eax
call fcn.00421740
mov ecx, dword [eax]
mov byte [ebp - 4], 6
call fcn.00433a60
mov esi, dword [ebp - 0xc8]
mov byte [ebp - 0xbd], al
mov byte [ebp - 4], 1
test esi, esi
je 0x40f326
mov ecx, ebx
lock xadd dword [esi + 4], ecx
jne 0x40f326
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x40f320
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0xbd]
test al, al
je 0x40f545
mov esi, dword [ebp - 0xdc]
mov eax, dword [esi + 0x44]
mov byte [ebp - 4], 7
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x40f34d
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x40f363
call fcn.00413510
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x40fa73
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
or edi, 2
mov dword [ebp - 0xc8], eax
mov eax, dword [esi + 0x44]
push 7
push str.7z.zip
mov dword [ebp - 0xc4], edi
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.0040c240
mov ecx, dword [ebp - 0xdc]
lea eax, [ecx + 0xa4]
push eax
lea eax, [ecx + 0x3c]
push eax
lea eax, [ebp - 0xc8]
push eax
push 0xcb
call fcn.0045f100
mov edx, dword [ebp - 0xc8]
add esp, 0x24
mov esi, eax
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov ecx, ebx
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x40f3dc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x40f545
push dword [ebp - 0xd4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40f545
call fcn.00477b70
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x40f4d1
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxinst_helper.cc
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], al
call fcn.0041a210
push 3
push 0x56fc58
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 8
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
call fcn.0041a210
mov byte [ebp - 4], 9
call fcn.00477b70
mov edi, eax
lea ecx, [ebp - 0x174]
push 0x4a4
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.00405490
mov esi, eax
push str.ExtractPepflashplayer_Packall_Move_7z_Success
push esi
mov byte [ebp - 4], 0xa
call fcn.004067f0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x174]
call fcn.004085e0
lea ecx, [ebp - 0xa4]
call fcn.00405e50
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 1
call fcn.00405e50
push dword [ebp - 0xd4]
call fcn.00472210
mov edi, eax
mov edx, dword [ebp - 0xd4]
mov ecx, ebx
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x40f4ff
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0xd8]
test esi, esi
je 0x40f527
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x40f527
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x40f527
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, edi
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.0046975d
mov esp, ebp
pop ebp
ret
call fcn.00421770
mov ecx, eax
call fcn.00425d20
test eax, eax
jne 0x40f562
call fcn.0040c2c0
test eax, eax
jne 0x40f4d1
call fcn.00413510
mov ecx, eax
test ecx, ecx
je 0x40fa7d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xc4], eax
push 0x56f6d4
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0xb
call fcn.0040bce0
test al, al
jne 0x40f5a9
push 0
push 0x56f6d4
lea ecx, [ebp - 0xc4]
call fcn.004185c0
mov byte [ebp - 4], 0xc
call fcn.00413510
mov ecx, eax
test ecx, ecx
je 0x40fa87
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xc8], eax
push 0x56f6d4
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0xd
call fcn.0040bce0
test al, al
jne 0x40f5f4
push 0
push 0x56f6d4
lea ecx, [ebp - 0xc8]
call fcn.004185c0
mov byte [ebp - 4], 0xe
call fcn.00413510
mov ecx, eax
test ecx, ecx
je 0x40fa91
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xd0], eax
push str.7z_noexist
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0xf
call fcn.0040bce0
test al, al
jne 0x40f63f
push 0xa
push str.7z_noexist
lea ecx, [ebp - 0xd0]
call fcn.004185c0
mov byte [ebp - 4], 0x10
call fcn.00456790
lea ecx, [ebp - 0xc4]
push ecx
lea ecx, [ebp - 0xc8]
mov edx, dword [eax]
push ecx
push 1
lea ecx, [ebp - 0xd0]
push ecx
mov ecx, eax
call dword [edx]
mov edx, dword [ebp - 0xd0]
mov eax, ebx
mov byte [ebp - 4], 0xe
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40f686
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xc8]
mov eax, ebx
mov byte [ebp - 4], 0xc
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40f6a7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xc4]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40f6c8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00477b70
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x40f942
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxinst_helper.cc
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], al
call fcn.0041a210
push 3
push 0x56f974
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
call fcn.0041a210
mov byte [ebp - 4], 0x12
call fcn.00477b70
push 1
push 2
lea ecx, [ebp - 0x174]
mov dword [ebp - 0xc4], eax
call fcn.004050f0
push 0xffffffffffffffff
push 0x56f958
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x13
call fcn.0041b4d0
push 0xffffffffffffffff
push 0x56f95c
lea ecx, [ebp - 0x8c]
mov edi, eax
call fcn.0041b4d0
push 0x64
mov esi, eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.00513860
add esp, 0xc
cmp esi, 0xffffffff
je 0x40f832
lea eax, [esi - 1]
cmp edi, eax
jae 0x40f832
mov eax, dword [ebp - 0x7c]
lea edx, [edi + 1]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0xf
mov byte [ebp - 0xbc], 0
cmp eax, edx
jb 0x40fa9b
sub esi, edi
sub eax, edx
lea ecx, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x78], 0x10
lea eax, [ebp - 0x8c]
cmovae eax, dword [ebp - 0x8c]
push ecx
add eax, edx
lea ecx, [ebp - 0xbc]
push eax
call fcn.0041a210
cmp dword [ebp - 0xa8], 0x10
lea eax, [ebp - 0xbc]
cmovae eax, dword [ebp - 0xbc]
push eax
push 0x4ad
lea eax, [ebp - 0x74]
push str.__4d___s_
push eax
call fcn.00404b90
add esp, 0x10
lea ecx, [ebp - 0xbc]
call fcn.00405e50
jmp 0x40f848
push 0x4ad
lea eax, [ebp - 0x74]
push str.__4d_
push eax
call fcn.00404b90
add esp, 0xc
cmp dword [ebp - 0x90], 0x10
lea eax, [ebp - 0xa4]
cmovae eax, dword [ebp - 0xa4]
push eax
lea eax, [ebp - 0x174]
push eax
call fcn.004067f0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x174]
push eax
call fcn.004067f0
lea eax, [ebp - 0x174]
mov byte [ebp - 4], 0x14
push str.InstallFiles__InstallHelper::Copy7zfromProduct_is_not_exist
push eax
call fcn.004067f0
mov ecx, dword [ebp - 0xc4]
lea edx, [ebp - 0x174]
add esp, 0x18
mov eax, dword [ecx]
push edx
call dword [eax + 0x1c]
lea ecx, [ebp - 0x174]
call fcn.004085e0
mov edx, dword [ebp - 0x90]
mov byte [ebp - 4], 0x11
cmp edx, 0x10
jb 0x40f8ec
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f8e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40faa0
push edx
push ecx
call fcn.004698bf
add esp, 8
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x40f942
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f938
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40faa5
push edx
push ecx
call fcn.004698bf
add esp, 8
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp - 0xd8]
test eax, eax
je 0x40f962
lock inc dword [eax + 4]
mov eax, dword [ebp - 0xdc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xd8]
mov dword [ecx + 4], eax
call fcn.0040c8e0
add esp, 8
test eax, eax
jne 0x40f4d1
call fcn.00477b70
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x40fa58
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxinst_helper.cc
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], al
call fcn.0041a210
push 3
push 0x56fc58
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
call fcn.0041a210
mov byte [ebp - 4], 0x16
call fcn.00477b70
mov edi, eax
lea ecx, [ebp - 0x174]
push 0x4b0
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.00405490
mov esi, eax
push str.InstallFiles__InstallHelper::download7z___failed
push esi
mov byte [ebp - 4], 0x17
call fcn.004067f0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x174]
call fcn.004085e0
lea ecx, [ebp - 0xa4]
call fcn.00405e50
lea ecx, [ebp - 0x8c]
call fcn.00405e50
xor edi, edi
jmp 0x40f4de
call fcn.00419cc0
call fcn.00517dfc
call fcn.00517dfc
call fcn.00517dfc
push 0x80004005
call fcn.0040bcc0
push 0x80004005
call fcn.0040bcc0
push 0x80004005
call fcn.0040bcc0
push 0x80004005
call fcn.0040bcc0
call fcn.00419cc0
call fcn.00517dfc
call fcn.00517dfc
int3