Function at 0x41a1d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56619b
mov eax, dword fs:[0]
push eax
sub esp, 0x108
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 - 0x6c]
push eax
call fcn.00425690
mov ecx, eax
call fcn.004247f0
lea eax, [ebp - 0x7c]
mov dword [ebp - 4], 0
push eax
call fcn.00425690
mov ecx, eax
call fcn.00425660
mov eax, dword [ebp - 0x7c]
mov byte [ebp - 4], 1
mov eax, dword [eax + 0x3c]
sub eax, 0x10
push eax
call fcn.0040e8f0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x64], eax
push 0xb
push str.Uninst.exe
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.0040e1b0
mov edi, dword [ebp - 0x64]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or ebx, 0xffffffff
test eax, eax
jne 0x41a26d
mov dword [ebp - 0x5c], eax
jmp 0x41a574
call fcn.00415c50
mov ecx, eax
test ecx, ecx
je 0x41a5f9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x5c], eax
push 9
push str.__silence
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 3
call fcn.0040e1b0
push 8
push str.__no_pop
lea ecx, [ebp - 0x5c]
call fcn.0040e1b0
mov edx, dword [0x5c5060]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a2d0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0041cb00
mov ecx, dword [ebp - 0x6c]
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 4
call fcn.0050f0b0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
mov esi, eax
call fcn.00407920
test esi, esi
je 0x41a37d
push 0x57a2fc
lea ecx, [ebp - 0x74]
call fcn.00406a80
push dword [0x5c5060]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004085a0
add esp, 0xc
mov eax, dword [eax]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 6
push dword [eax - 0xc]
push eax
call fcn.0040e1b0
mov edx, dword [ebp - 0x70]
mov eax, ebx
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41a35f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x74]
mov eax, ebx
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41a37d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [0x5cca88]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a3a0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.0041cb00
mov ecx, dword [ebp - 0x6c]
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 7
call fcn.0050f0b0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
mov esi, eax
call fcn.00407920
test esi, esi
je 0x41a47b
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov edx, dword [0x5cca88]
mov ecx, edx
mov byte [ebp - 4], 8
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a410
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0041cb00
mov ecx, dword [ebp - 0x6c]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 9
push eax
call fcn.0050ef70
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.00407920
lea eax, [ebp - 0x58]
push 0x57a300
push eax
call fcn.004056f0
add esp, 8
test al, al
je 0x41a46f
lea ecx, [ebp - 0x5d]
call fcn.00408ca0
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040e170
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.00407920
call fcn.00481d20
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x41a539
push 0x5a
push str.d:jenkins.jenkinsworkspacemg_boxgame_boxmicrogamebox_srcmicrogameboxinst_helper.cc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.0041ca10
push 3
push 0x579ac8
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.0041ca10
mov byte [ebp - 4], 0xb
call fcn.00481d20
mov ebx, eax
lea ecx, [ebp - 0x114]
push 0x3c1
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00406ec0
mov esi, eax
push str.RunTotalUninstall
push esi
mov byte [ebp - 4], 0xc
call fcn.004081f0
mov edx, dword [ebx]
add esp, 8
mov ecx, ebx
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x114]
call fcn.0040ad10
lea ecx, [ebp - 0x58]
call fcn.004078d0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.004078d0
or ebx, 0xffffffff
mov esi, dword [ebp - 0x5c]
push 0
push 0
push esi
push edi
push 0x579d08
push 0
call fcn.00405990
xor ecx, ecx
mov byte [ebp - 4], 2
cmp eax, 0x20
mov eax, ebx
setg cl
add esi, 0xfffffff0
mov dword [ebp - 0x5c], ecx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41a574
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x41a58f
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x78]
test esi, esi
je 0x41a5b5
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x41a5b5
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x41a5b5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x68]
test esi, esi
je 0x41a5da
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x41a5da
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x41a5da
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, dword [ebp - 0x5c]
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.0047285d
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040e3e0
int3