Function at 0x4135f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56582b
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x5c524c]
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 - 0x4c]
push eax
call fcn.004254d0
mov ecx, eax
call fcn.004254a0
push dword [0x5c508c]
mov eax, dword [ebp - 0x4c]
add eax, 0x44
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004084c0
add esp, 0xc
push dword [ebp - 0x44]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [ebp - 4], 1
call esi
or ebx, 0xffffffff
test eax, eax
jne 0x41377d
call fcn.00482a90
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x413729
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxinst_helper.cc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.0041cb30
push 3
push 0x579b98
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0041cb30
mov byte [ebp - 4], 3
call fcn.00482a90
mov edi, eax
lea ecx, [ebp - 0xec]
push 0x472
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00406db0
mov esi, eax
push str.InstallFiles__MicroInstaller::path_netbridge_is_not_exist
push esi
mov byte [ebp - 4], 4
call fcn.00408110
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xec]
call fcn.0040ac30
lea ecx, [ebp - 0x28]
call fcn.00407770
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00407770
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [0x5c5090]
mov eax, dword [ebp - 0x4c]
add eax, 0x44
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.004084c0
mov edx, dword [ebp - 0x4c]
mov byte [ebp - 4], 5
lea ecx, [edx + 0xa4]
push ecx
lea ecx, [edx + 0x44]
push ecx
push eax
push 0xcc
call fcn.00469260
mov edx, dword [ebp - 0x50]
add esp, 0x1c
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41377d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [0x5c5090]
mov eax, dword [ebp - 0x4c]
add eax, 0x44
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004084c0
push eax
mov byte [ebp - 4], 6
call fcn.00468170
mov edx, dword [ebp - 0x54]
add esp, 0x10
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4137be
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x44]
call esi
mov edx, dword [ebp - 0x44]
mov edi, eax
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov ecx, ebx
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4137e3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x413808
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x413808
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x413808
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.0047467d
mov esp, ebp
pop ebp
ret