Function at 0x4171a0
Capabilities:
Check if file exists
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x535e7c
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x59024c]
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 - 0x5c]
mov dword [ebp - 0x60], 0
push eax
call fcn.004232c0
mov ecx, eax
call fcn.00423290
mov eax, dword [ebp - 0x5c]
add eax, 0x3c
mov dword [ebp - 4], 0
push str.uninst.exe
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0040e8c0
add esp, 8
mov byte [ebp - 4], 1
mov esi, esp
mov dword [ebp - 0x48], esi
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
push eax
call fcn.004035b0
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x54]
push eax
call fcn.0043ba30
mov eax, dword [ebp - 0x5c]
add esp, 4
mov ecx, esp
mov byte [ebp - 4], 2
add eax, 0x44
push dword [0x5900b4]
push eax
push ecx
call fcn.0040e8c0
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
call fcn.0043ba30
push dword [ebp - 0x54]
mov byte [ebp - 4], 3
push dword [ebp - 0x50]
call fcn.00439c80
add esp, 0x10
mov esi, eax
push dword [ebp - 0x4c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or ebx, 0xffffffff
test eax, eax
je 0x41728d
push dword [ebp - 0x4c]
call fcn.00456080
add esp, 4
test eax, eax
je 0x41728d
test esi, esi
je 0x4174e7
lea eax, [ebp - 0x4c]
push eax
call fcn.0043ebd0
mov esi, dword [str.uninst.exe]
add esp, 4
mov edi, dword [ebp - 0x5c]
mov eax, dword [edi + 0x44]
mov byte [ebp - 4], 4
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x4172bb
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x4172d1
call fcn.004037c0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x4174f1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x60], 1
mov dword [ebp - 0x48], eax
test esi, esi
jne 0x4172eb
xor ecx, ecx
jmp 0x4172ff
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4172f0
sub ecx, edx
sar ecx, 1
mov eax, dword [edi + 0x44]
push ecx
push esi
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00411dd0
mov esi, dword [ebp - 0x48]
add esp, 0x14
push dword [ebp - 0x4c]
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
mov byte [ebp - 4], 3
mov eax, ebx
sete byte [ebp - 0x41]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x417342
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x41], 0
je 0x4174e7
call fcn.00454720
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x417407
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.0040c7b0
push 3
push 0x54909c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040c7b0
mov byte [ebp - 4], 6
call fcn.00454720
mov edi, eax
lea ecx, [ebp - 0xf8]
push 0x475
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040e020
mov esi, eax
push str.InstallHelper::InstallFiles_uninst.exe_failed
push esi
mov byte [ebp - 4], 7
call fcn.004095f0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xf8]
call fcn.00409720
lea ecx, [ebp - 0x28]
call fcn.00408ca0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.00408ca0
xor edi, edi
push dword [0x5900b4]
mov eax, dword [ebp - 0x5c]
add eax, 0x44
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0040e8c0
push eax
mov byte [ebp - 4], 8
call fcn.0043ebd0
mov edx, dword [ebp - 0x48]
add esp, 0x10
mov byte [ebp - 4], 3
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41744a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x50]
mov eax, ebx
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x417468
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x54]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x417486
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x4c]
mov eax, ebx
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4174a4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x58]
test esi, esi
je 0x4174c9
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x4174c9
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x4174c9
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 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.00448d5d
mov esp, ebp
pop ebp
ret
mov edi, 1
jmp 0x417409
push 0x80004005
call fcn.00403450
int3