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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x551f1c
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x5b228c]
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 - 0x58]
mov dword [ebp - 0x5c], 0
push eax
call fcn.0041de10
mov ecx, eax
call fcn.0041dde0
push dword [0x5b2090]
mov eax, dword [ebp - 0x58]
add eax, 0x3c
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00405ba0
add esp, 0xc
push dword [ebp - 0x48]
mov byte [ebp - 4], 1
xor edi, edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or ebx, 0xffffffff
test eax, eax
je 0x40d6ae
push dword [ebp - 0x48]
call fcn.0046b130
add esp, 4
test eax, eax
jne 0x40d865
mov eax, dword [ebp - 0x58]
mov esi, dword [str.CefHelper.dll]
mov dword [ebp - 0x4c], eax
mov eax, dword [eax + 0x44]
mov byte [ebp - 4], 2
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x40d6d3
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x40d6e9
call fcn.004106d0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x40d90c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x50], eax
test esi, esi
jne 0x40d703
xor ecx, ecx
jmp 0x40d71f
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40d710
sub ecx, edx
sar ecx, 1
mov eax, dword [ebp - 0x4c]
push ecx
push esi
mov eax, dword [eax + 0x44]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00409930
mov esi, dword [ebp - 0x50]
add esp, 0x14
push dword [ebp - 0x48]
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
mov byte [ebp - 4], 1
mov eax, ebx
sete byte [ebp - 0x41]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40d765
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x41], 0
je 0x40d865
call fcn.0046f390
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x40d86a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxinst_helper.cc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov ebx, eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.004174a0
push 3
push 0x566bbc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.004174a0
mov byte [ebp - 4], 4
call fcn.0046f390
mov edi, eax
lea ecx, [ebp - 0xf4]
push 0x4bb
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00404570
mov esi, eax
push str.InstallHelper::InstallFiles_move_cefhelper.dll_failed__path:
push esi
mov byte [ebp - 4], 5
call fcn.00405960
mov eax, dword [ebp - 0x48]
mov ecx, 0x566aa0
test eax, eax
cmovne ecx, eax
push ecx
push esi
call fcn.00403250
push str._Error
push esi
call fcn.00405960
add esp, 0x18
mov ecx, esi
push ebx
call fcn.004057b0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xf4]
call fcn.00405d60
lea ecx, [ebp - 0x28]
call fcn.00404f30
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00404f30
or ebx, 0xffffffff
xor edi, edi
jmp 0x40d86a
mov edi, 1
push dword [0x5b2090]
mov eax, dword [ebp - 0x58]
add eax, 0x44
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00405ba0
push eax
mov byte [ebp - 4], 6
call fcn.00456100
mov edx, dword [ebp - 0x4c]
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 0x40d8ab
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x48]
mov eax, ebx
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40d8c9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x54]
test esi, esi
je 0x40d8ee
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x40d8ee
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x40d8ee
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.00460f8d
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004093b0
int3