Function at 0x410870
Capabilities:
Create directory
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x556d56
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x5b627c]
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.00422620
mov ecx, eax
call fcn.004225f0
mov dword [ebp - 4], 0
mov dword [ebp - 0x68], 0
call fcn.00414250
mov ecx, eax
test ecx, ecx
je 0x410dd5
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.00433910
mov esi, dword [ebp - 0x5c]
test al, al
je 0x4109c6
mov eax, dword [esi + 0x3c]
mov byte [ebp - 4], 2
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x41090d
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x410923
call fcn.00414250
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x410ddf
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.0040c6c0
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 0x4109ad
cmp dword [edx + 0xc], 0
lea edi, [edx + 0xc]
jl 0x41099e
mov ecx, dword [esi]
cmp ecx, dword [edx]
jne 0x41099e
push esi
call fcn.0040c650
add esp, 4
mov dword [ebp - 0x4c], eax
mov ecx, ebx
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x410996
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 0x4109ad
push dword [eax - 0xc]
lea ecx, [ebp - 0x50]
push eax
call fcn.0041a8f0
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 0x410a9e
jmp 0x410a96
mov eax, dword [esi + 0x3c]
mov byte [ebp - 4], 3
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x4109df
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x4109f5
call fcn.00414250
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x410de9
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.0040c6c0
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 0x410a7f
cmp dword [edx + 0xc], 0
lea edi, [edx + 0xc]
jl 0x410a70
mov ecx, dword [esi]
cmp ecx, dword [edx]
jne 0x410a70
push esi
call fcn.0040c650
add esp, 4
mov dword [ebp - 0x64], eax
mov ecx, ebx
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x410a68
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 0x410a7f
push dword [eax - 0xc]
lea ecx, [ebp - 0x50]
push eax
call fcn.0041a8f0
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 0x410aa5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x54], 0
push dword [0x5b608c]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00407e40
add esp, 0xc
mov esi, dword [str.CefView.exe]
mov byte [ebp - 4], 4
call fcn.00414250
mov ecx, eax
test ecx, ecx
je 0x410df3
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.0040c160
test al, al
jne 0x410b19
test esi, esi
jne 0x410af8
xor ecx, ecx
jmp 0x410b0f
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410b00
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x48]
call fcn.0041a8f0
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 0x410b3e
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.00417120
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 0x410b75
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x41], 0
je 0x410d10
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 0x410baf
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x410bc5
call fcn.00414250
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x410dfd
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 0x410bdf
xor ecx, ecx
jmp 0x410bf3
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410be4
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.0040c6c0
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 0x410c39
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x41], 0
je 0x410d10
call fcn.00474150
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x410d17
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.0041c540
push 3
push 0x56bba4
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.0041c540
mov byte [ebp - 4], 9
call fcn.00474150
mov ebx, eax
lea ecx, [ebp - 0x100]
push 0x52b
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004066e0
mov esi, eax
push str.InstallHelper::InstallFiles_unzip_cefview.exe_failed__path:
push esi
mov byte [ebp - 4], 0xa
call fcn.00407a90
test edi, edi
mov ecx, 0x56ba88
cmovne ecx, edi
push ecx
push esi
call fcn.00405390
mov eax, dword [ebx]
add esp, 0x10
mov ecx, ebx
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x100]
call fcn.00407f30
lea ecx, [ebp - 0x28]
call fcn.004070a0
lea ecx, [ebp - 0x40]
call fcn.004070a0
or ebx, 0xffffffff
jmp 0x410d17
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 0x410d35
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 0x410d50
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [0x5b608c]
mov eax, dword [ebp - 0x5c]
add eax, 0x44
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00407e40
push eax
mov byte [ebp - 4], 0xb
call fcn.0045b430
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 0x410d91
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x58]
test esi, esi
je 0x410db6
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x410db6
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x410db6
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.00465d1b
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040c140
push 0x80004005
call fcn.0040c140
push 0x80004005
call fcn.0040c140
push 0x80004005
call fcn.0040c140
push 0x80004005
call fcn.0040c140
int3