Function at 0x40d920
Capabilities:
Create directory
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x551fe6
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
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 - 0x5c]
mov dword [ebp - 0x54], 0
push eax
call fcn.0041de10
mov ecx, eax
call fcn.0041dde0
mov dword [ebp - 4], 0
mov dword [ebp - 0x68], 0
call fcn.004106d0
mov ecx, eax
test ecx, ecx
je 0x40de85
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.0042ea60
mov esi, dword [ebp - 0x5c]
test al, al
je 0x40da76
mov eax, dword [esi + 0x3c]
mov byte [ebp - 4], 2
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x40d9bd
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x40d9d3
call fcn.004106d0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x40de8f
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.00409930
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 0x40da5d
cmp dword [edx + 0xc], 0
lea edi, [edx + 0xc]
jl 0x40da4e
mov ecx, dword [esi]
cmp ecx, dword [edx]
jne 0x40da4e
push esi
call fcn.004098c0
add esp, 4
mov dword [ebp - 0x4c], eax
mov ecx, ebx
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x40da46
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 0x40da5d
push dword [eax - 0xc]
lea ecx, [ebp - 0x50]
push eax
call fcn.004157e0
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 0x40db4e
jmp 0x40db46
mov eax, dword [esi + 0x3c]
mov byte [ebp - 4], 3
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x40da8f
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x40daa5
call fcn.004106d0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x40de99
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.00409930
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 0x40db2f
cmp dword [edx + 0xc], 0
lea edi, [edx + 0xc]
jl 0x40db20
mov ecx, dword [esi]
cmp ecx, dword [edx]
jne 0x40db20
push esi
call fcn.004098c0
add esp, 4
mov dword [ebp - 0x64], eax
mov ecx, ebx
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x40db18
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 0x40db2f
push dword [eax - 0xc]
lea ecx, [ebp - 0x50]
push eax
call fcn.004157e0
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 0x40db55
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x54], 0
push dword [0x5b208c]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00405ba0
add esp, 0xc
mov esi, dword [str.CefView.exe]
mov byte [ebp - 4], 4
call fcn.004106d0
mov ecx, eax
test ecx, ecx
je 0x40dea3
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.004093d0
test al, al
jne 0x40dbc9
test esi, esi
jne 0x40dba8
xor ecx, ecx
jmp 0x40dbbf
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40dbb0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x48]
call fcn.004157e0
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 0x40dbee
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.00412b80
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 0x40dc25
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x41], 0
je 0x40ddc0
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 0x40dc5f
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x40dc75
call fcn.004106d0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x40dead
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 0x40dc8f
xor ecx, ecx
jmp 0x40dca3
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40dc94
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.00409930
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 0x40dce9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x41], 0
je 0x40ddc0
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 0x40ddc7
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.004174a0
push 3
push 0x566bbc
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.004174a0
mov byte [ebp - 4], 9
call fcn.0046f390
mov ebx, eax
lea ecx, [ebp - 0x100]
push 0x516
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.00405960
test edi, edi
mov ecx, 0x566aa0
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.00405d60
lea ecx, [ebp - 0x28]
call fcn.00404f30
lea ecx, [ebp - 0x40]
call fcn.00404f30
or ebx, 0xffffffff
jmp 0x40ddc7
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 0x40dde5
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 0x40de00
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [0x5b208c]
mov eax, dword [ebp - 0x5c]
add eax, 0x44
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00405ba0
push eax
mov byte [ebp - 4], 0xb
call fcn.00456100
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 0x40de41
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x58]
test esi, esi
je 0x40de66
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x40de66
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x40de66
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.00460f8d
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004093b0
push 0x80004005
call fcn.004093b0
push 0x80004005
call fcn.004093b0
push 0x80004005
call fcn.004093b0
push 0x80004005
call fcn.004093b0
int3