Function at 0x40ec30
Capabilities:
Create directory
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x553646
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x5b327c]
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.0041f790
mov ecx, eax
call fcn.0041f760
mov dword [ebp - 4], 0
mov dword [ebp - 0x68], 0
call fcn.00412080
mov ecx, eax
test ecx, ecx
je 0x40f195
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.004303f0
mov esi, dword [ebp - 0x5c]
test al, al
je 0x40ed86
mov eax, dword [esi + 0x3c]
mov byte [ebp - 4], 2
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x40eccd
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x40ece3
call fcn.00412080
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x40f19f
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.0040adb0
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 0x40ed6d
cmp dword [edx + 0xc], 0
lea edi, [edx + 0xc]
jl 0x40ed5e
mov ecx, dword [esi]
cmp ecx, dword [edx]
jne 0x40ed5e
push esi
call fcn.0040ad40
add esp, 4
mov dword [ebp - 0x4c], eax
mov ecx, ebx
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x40ed56
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 0x40ed6d
push dword [eax - 0xc]
lea ecx, [ebp - 0x50]
push eax
call fcn.004171c0
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 0x40ee5e
jmp 0x40ee56
mov eax, dword [esi + 0x3c]
mov byte [ebp - 4], 3
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x40ed9f
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x40edb5
call fcn.00412080
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x40f1a9
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.0040adb0
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 0x40ee3f
cmp dword [edx + 0xc], 0
lea edi, [edx + 0xc]
jl 0x40ee30
mov ecx, dword [esi]
cmp ecx, dword [edx]
jne 0x40ee30
push esi
call fcn.0040ad40
add esp, 4
mov dword [ebp - 0x64], eax
mov ecx, ebx
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x40ee28
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 0x40ee3f
push dword [eax - 0xc]
lea ecx, [ebp - 0x50]
push eax
call fcn.004171c0
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 0x40ee65
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x54], 0
push dword [0x5b308c]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00405c80
add esp, 0xc
mov esi, dword [str.CefView.exe]
mov byte [ebp - 4], 4
call fcn.00412080
mov ecx, eax
test ecx, ecx
je 0x40f1b3
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.0040a850
test al, al
jne 0x40eed9
test esi, esi
jne 0x40eeb8
xor ecx, ecx
jmp 0x40eecf
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40eec0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x48]
call fcn.004171c0
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 0x40eefe
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.004145b0
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 0x40ef35
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x41], 0
je 0x40f0d0
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 0x40ef6f
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x40ef85
call fcn.00412080
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x40f1bd
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 0x40ef9f
xor ecx, ecx
jmp 0x40efb3
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40efa4
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.0040adb0
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 0x40eff9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x41], 0
je 0x40f0d0
call fcn.00470ad0
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x40f0d7
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.00418e10
push 3
push 0x568bb4
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.00418e10
mov byte [ebp - 4], 9
call fcn.00470ad0
mov ebx, eax
lea ecx, [ebp - 0x100]
push 0x52b
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00404570
mov esi, eax
push str.InstallHelper::InstallFiles_unzip_cefview.exe_failed__path:
push esi
mov byte [ebp - 4], 0xa
call fcn.004058d0
test edi, edi
mov ecx, 0x568a98
cmovne ecx, edi
push ecx
push esi
call fcn.00403250
mov eax, dword [ebx]
add esp, 0x10
mov ecx, ebx
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x100]
call fcn.00407160
lea ecx, [ebp - 0x28]
call fcn.00404f30
lea ecx, [ebp - 0x40]
call fcn.00404f30
or ebx, 0xffffffff
jmp 0x40f0d7
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 0x40f0f5
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 0x40f110
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [0x5b308c]
mov eax, dword [ebp - 0x5c]
add eax, 0x44
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00405c80
push eax
mov byte [ebp - 4], 0xb
call fcn.00457c50
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 0x40f151
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x58]
test esi, esi
je 0x40f176
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x40f176
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x40f176
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.004626cb
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040a830
push 0x80004005
call fcn.0040a830
push 0x80004005
call fcn.0040a830
push 0x80004005
call fcn.0040a830
push 0x80004005
call fcn.0040a830
int3