Function at 0x4102e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506866
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x556754]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
add eax, 0x34
mov dword [ebp - 4], 0
push str.7z.dll
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0040d650
add esp, 0xc
push dword [ebp - 0x48]
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4107ff
call fcn.00437e80
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
test al, al
je 0x4104b3
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x40]
push 0x50
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0040bc80
movups xmm0, xmmword [str.D:workWeiDuanGameMicroGameBox_srcmicrogameboxinst_helper.cc]
mov dword [ebp - 0x30], 0x40
mov dword [ebp - 0x2c], 0x4f
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x515dd0]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [0x515de0]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [0x515df0]
movups xmmword [eax + 0x30], xmm0
mov byte [eax + 0x40], 0
mov dword [ebp - 0x40], eax
mov ax, word [0x515dac]
mov dword [ebp - 0x28], 0
mov word [ebp - 0x28], ax
mov al, byte [str._install]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 3
mov byte [ebp - 0x26], al
mov byte [ebp - 0x25], 0
mov byte [ebp - 4], 3
call fcn.00437e80
mov edi, eax
lea ecx, [ebp - 0xe0]
push 0x2e0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040d2d0
mov esi, eax
push str.InstallFiles__InstallHelper::path_7z_is_not_exist
push esi
mov byte [ebp - 4], 4
call fcn.00408ea0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xe0]
call fcn.00408fe0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x410469
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41045f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41086a
push edx
push ecx
call fcn.004b592c
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x4104b3
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4104a9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41086a
push edx
push ecx
call fcn.004b592c
add esp, 8
call fcn.0040f7b0
test eax, eax
jne 0x4107ff
push str.http:__s.ludashi.com_wan_typetypeactionactionpidpidmidmidmid2mid2
push eax
push 1
push eax
push str.7z_noexist
call fcn.00404d20
mov ecx, eax
call fcn.004392a0
call fcn.00437e80
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
test al, al
je 0x41064c
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x40]
push 0x50
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0040bc80
movups xmm0, xmmword [str.D:workWeiDuanGameMicroGameBox_srcmicrogameboxinst_helper.cc]
mov dword [ebp - 0x30], 0x40
mov dword [ebp - 0x2c], 0x4f
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x515dd0]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [0x515de0]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [0x515df0]
movups xmmword [eax + 0x30], xmm0
mov byte [eax + 0x40], 0
mov dword [ebp - 0x40], eax
mov ax, word [0x515dac]
mov dword [ebp - 0x28], 0
mov word [ebp - 0x28], ax
mov al, byte [str._install]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 3
mov byte [ebp - 0x26], al
mov byte [ebp - 0x25], 0
mov byte [ebp - 4], 6
call fcn.00437e80
mov edi, eax
lea ecx, [ebp - 0xe0]
push 0x2e4
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040d2d0
mov esi, eax
push str.InstallFiles__InstallHelper::Copy7zfromProduct_is_not_exist
push esi
mov byte [ebp - 4], 7
call fcn.00408ea0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xe0]
call fcn.00408fe0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x410602
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4105f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41086f
push edx
push ecx
call fcn.004b592c
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x41064c
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410642
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41086f
push edx
push ecx
call fcn.004b592c
add esp, 8
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x410669
lock inc dword [eax + 4]
mov eax, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx + 4], eax
call fcn.0040fdb0
add esp, 8
test eax, eax
jne 0x4107ff
call fcn.00437e80
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
test al, al
je 0x4107f6
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x40]
push 0x50
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0040bc80
movups xmm0, xmmword [str.D:workWeiDuanGameMicroGameBox_srcmicrogameboxinst_helper.cc]
mov dword [ebp - 0x30], 0x40
mov dword [ebp - 0x2c], 0x4f
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x515dd0]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [0x515de0]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [0x515df0]
movups xmmword [eax + 0x30], xmm0
mov byte [eax + 0x40], 0
mov dword [ebp - 0x40], eax
mov ax, word [0x515fd4]
mov dword [ebp - 0x28], 0
mov word [ebp - 0x28], ax
mov al, byte [0x515fd6]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 3
mov byte [ebp - 0x26], al
mov byte [ebp - 0x25], 0
mov byte [ebp - 4], 9
call fcn.00437e80
mov edi, eax
lea ecx, [ebp - 0xe0]
push 0x2e6
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040d2d0
mov esi, eax
push str.InstallFiles__InstallHelper::download7z___failed
push esi
mov byte [ebp - 4], 0xa
call fcn.00408ea0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xe0]
call fcn.00408fe0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 8
cmp edx, 0x10
jb 0x4107ac
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4107a2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410874
push edx
push ecx
call fcn.004b592c
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x4107f6
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4107ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410874
push edx
push ecx
call fcn.004b592c
add esp, 8
mov dword [ebp - 0x44], 0
jmp 0x410806
mov dword [ebp - 0x44], 1
mov edx, dword [ebp - 0x48]
or edi, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410827
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x41084c
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x41084c
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x41084c
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b5d96
mov esp, ebp
pop ebp
ret
call fcn.004d899e
call fcn.004d899e
call fcn.004d899e
int3