Function at 0x412720
Capabilities:
Create directory
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563bf6
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x5c324c]
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 - 0x54], 0
push eax
call fcn.00425500
mov ecx, eax
call fcn.004254d0
mov dword [ebp - 4], 0
mov dword [ebp - 0x68], 0
call fcn.00415b90
mov ecx, eax
test ecx, ecx
je 0x412c85
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x50], edi
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.00439210
mov esi, dword [ebp - 0x5c]
test al, al
je 0x412876
mov eax, dword [esi + 0x3c]
mov byte [ebp - 4], 2
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x4127bd
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x4127d3
call fcn.00415b90
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x412c8f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x48], eax
mov eax, dword [esi + 0x3c]
push 6
push str.cef69
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0040e880
mov eax, dword [ebp - 0x48]
lea edx, [edi - 0x10]
add esp, 0x14
mov dword [ebp - 0x64], edx
or ebx, 0xffffffff
lea esi, [eax - 0x10]
cmp esi, edx
je 0x41285d
cmp dword [edx + 0xc], 0
lea edi, [edx + 0xc]
jl 0x41284e
mov ecx, dword [esi]
cmp ecx, dword [edx]
jne 0x41284e
push esi
call fcn.0040e810
add esp, 4
mov dword [ebp - 0x4c], eax
mov ecx, ebx
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x412846
mov edi, dword [ebp - 0x64]
push edi
mov ecx, dword [edi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x4c]
lea edi, [eax + 0x10]
mov dword [ebp - 0x50], edi
jmp 0x41285d
push dword [eax - 0xc]
lea ecx, [ebp - 0x50]
push eax
call fcn.0041af00
mov edi, dword [ebp - 0x50]
mov byte [ebp - 4], 1
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41294e
jmp 0x412946
mov eax, dword [esi + 0x3c]
mov byte [ebp - 4], 3
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x41288f
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x4128a5
call fcn.00415b90
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x412c99
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x54], 2
mov dword [ebp - 0x48], eax
mov eax, dword [esi + 0x3c]
push 4
push str.cef
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0040e880
mov eax, dword [ebp - 0x48]
lea edx, [edi - 0x10]
add esp, 0x14
mov dword [ebp - 0x4c], edx
or ebx, 0xffffffff
lea esi, [eax - 0x10]
cmp esi, edx
je 0x41292f
cmp dword [edx + 0xc], 0
lea edi, [edx + 0xc]
jl 0x412920
mov ecx, dword [esi]
cmp ecx, dword [edx]
jne 0x412920
push esi
call fcn.0040e810
add esp, 4
mov dword [ebp - 0x64], eax
mov ecx, ebx
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x412918
mov edi, dword [ebp - 0x4c]
push edi
mov ecx, dword [edi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x64]
lea edi, [eax + 0x10]
mov dword [ebp - 0x50], edi
jmp 0x41292f
push dword [eax - 0xc]
lea ecx, [ebp - 0x50]
push eax
call fcn.0041af00
mov edi, dword [ebp - 0x50]
mov byte [ebp - 4], 1
mov eax, ebx
mov dword [ebp - 0x54], 0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x412955
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x54], 0
push dword [0x5c3074]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.004084c0
add esp, 0xc
mov esi, dword [str.CefView.exe]
mov byte [ebp - 4], 4
call fcn.00415b90
mov ecx, eax
test ecx, ecx
je 0x412ca3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x48], eax
push esi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 5
call fcn.0040e320
test al, al
jne 0x4129c9
test esi, esi
jne 0x4129a8
xor ecx, ecx
jmp 0x4129bf
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4129b0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x48]
call fcn.0041af00
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 6
push eax
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x4129ee
lock inc dword [eax + 4]
mov eax, dword [ebp - 0x5c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x58]
mov dword [ecx + 4], eax
call fcn.00418210
mov edx, dword [ebp - 0x48]
add esp, 0xc
test eax, eax
mov byte [ebp - 4], 4
mov eax, ebx
sete byte [ebp - 0x41]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412a25
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x41], 0
je 0x412bc0
push 0
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, dword [ebp - 0x5c]
mov esi, dword [str.CefView.exe]
mov dword [ebp - 0x4c], eax
mov eax, dword [eax + 0x44]
mov byte [ebp - 4], 7
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x412a5f
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x412a75
call fcn.00415b90
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x412cad
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x54], 8
mov dword [ebp - 0x48], eax
test esi, esi
jne 0x412a8f
xor ecx, ecx
jmp 0x412aa3
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412a94
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 - 0x48]
push eax
call fcn.0040e880
mov esi, dword [ebp - 0x48]
add esp, 0x14
push dword [ebp - 0x60]
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
mov byte [ebp - 4], 4
mov eax, ebx
sete byte [ebp - 0x41]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x412ae9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x41], 0
je 0x412bc0
call fcn.00480fd0
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x412bc7
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.0041cb60
push 3
push 0x577c8c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0041cb60
mov byte [ebp - 4], 9
call fcn.00480fd0
mov ebx, eax
lea ecx, [ebp - 0x100]
push 0x537
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00406db0
mov esi, eax
push str.MicroInstaller::InstallFiles_unzip_cefview.exe_failed__path:
push esi
mov byte [ebp - 4], 0xa
call fcn.00408110
test edi, edi
mov ecx, 0x577b6c
cmovne ecx, edi
push ecx
push esi
call fcn.00405440
mov eax, dword [ebx]
add esp, 0x10
mov ecx, ebx
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x100]
call fcn.0040ac30
lea ecx, [ebp - 0x28]
call fcn.00407770
lea ecx, [ebp - 0x40]
call fcn.00407770
or ebx, 0xffffffff
jmp 0x412bc7
mov dword [ebp - 0x68], 1
mov edx, dword [ebp - 0x60]
mov eax, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412be5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
mov byte [ebp - 4], 0
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x412c00
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [0x5c3074]
mov eax, dword [ebp - 0x5c]
add eax, 0x44
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004084c0
push eax
mov byte [ebp - 4], 0xb
call fcn.00466640
mov edx, dword [ebp - 0x4c]
add esp, 0x10
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412c41
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x58]
test esi, esi
je 0x412c66
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x412c66
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x412c66
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, dword [ebp - 0x68]
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.00472b5d
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040e300
push 0x80004005
call fcn.0040e300
push 0x80004005
call fcn.0040e300
push 0x80004005
call fcn.0040e300
push 0x80004005
call fcn.0040e300
int3