Function at 0x4100c0
Capabilities:
Create directory
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a9d6
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x5ba278]
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.00421770
mov ecx, eax
call fcn.00421740
mov dword [ebp - 4], 0
mov dword [ebp - 0x68], 0
call fcn.00413510
mov ecx, eax
test ecx, ecx
je 0x410625
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.00433aa0
mov esi, dword [ebp - 0x5c]
test al, al
je 0x410216
mov eax, dword [esi + 0x3c]
mov byte [ebp - 4], 2
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x41015d
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x410173
call fcn.00413510
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x41062f
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.0040c240
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 0x4101fd
cmp dword [edx + 0xc], 0
lea edi, [edx + 0xc]
jl 0x4101ee
mov ecx, dword [esi]
cmp ecx, dword [edx]
jne 0x4101ee
push esi
call fcn.0040c1d0
add esp, 4
mov dword [ebp - 0x4c], eax
mov ecx, ebx
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x4101e6
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 0x4101fd
push dword [eax - 0xc]
lea ecx, [ebp - 0x50]
push eax
call fcn.004185c0
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 0x4102ee
jmp 0x4102e6
mov eax, dword [esi + 0x3c]
mov byte [ebp - 4], 3
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x41022f
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x410245
call fcn.00413510
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x410639
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.0040c240
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 0x4102cf
cmp dword [edx + 0xc], 0
lea edi, [edx + 0xc]
jl 0x4102c0
mov ecx, dword [esi]
cmp ecx, dword [edx]
jne 0x4102c0
push esi
call fcn.0040c1d0
add esp, 4
mov dword [ebp - 0x64], eax
mov ecx, ebx
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x4102b8
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 0x4102cf
push dword [eax - 0xc]
lea ecx, [ebp - 0x50]
push eax
call fcn.004185c0
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 0x4102f5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x54], 0
push dword [0x5ba088]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00406ba0
add esp, 0xc
mov esi, dword [str.CefView.exe]
mov byte [ebp - 4], 4
call fcn.00413510
mov ecx, eax
test ecx, ecx
je 0x410643
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.0040bce0
test al, al
jne 0x410369
test esi, esi
jne 0x410348
xor ecx, ecx
jmp 0x41035f
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410350
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x48]
call fcn.004185c0
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 0x41038e
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.00415a30
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 0x4103c5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x41], 0
je 0x410560
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 0x4103ff
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x410415
call fcn.00413510
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x41064d
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 0x41042f
xor ecx, ecx
jmp 0x410443
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410434
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.0040c240
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 0x410489
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x41], 0
je 0x410560
call fcn.00477e30
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x410567
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.0041a210
push 3
push 0x56ea64
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.0041a210
mov byte [ebp - 4], 9
call fcn.00477e30
mov ebx, eax
lea ecx, [ebp - 0x100]
push 0x52b
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00405490
mov esi, eax
push str.InstallHelper::InstallFiles_unzip_cefview.exe_failed__path:
push esi
mov byte [ebp - 4], 0xa
call fcn.004067f0
test edi, edi
mov ecx, 0x56e944
cmovne ecx, edi
push ecx
push esi
call fcn.00403b20
mov eax, dword [ebx]
add esp, 0x10
mov ecx, ebx
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x100]
call fcn.004085e0
lea ecx, [ebp - 0x28]
call fcn.00405e50
lea ecx, [ebp - 0x40]
call fcn.00405e50
or ebx, 0xffffffff
jmp 0x410567
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 0x410585
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 0x4105a0
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [0x5ba088]
mov eax, dword [ebp - 0x5c]
add eax, 0x44
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00406ba0
push eax
mov byte [ebp - 4], 0xb
call fcn.0045e2d0
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 0x4105e1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x58]
test esi, esi
je 0x410606
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x410606
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x410606
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.00469a1d
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040bcc0
push 0x80004005
call fcn.0040bcc0
push 0x80004005
call fcn.0040bcc0
push 0x80004005
call fcn.0040bcc0
push 0x80004005
call fcn.0040bcc0
int3