Function at 0x412270
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506c93
mov eax, dword fs:[0]
push eax
sub esp, 0xec
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.cef
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0040d650
mov eax, dword [ebp + 8]
add eax, 0x34
mov byte [ebp - 4], 1
push 0x5169a0
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0040d650
add esp, 0x18
push dword [ebp - 0x4c]
mov byte [ebp - 4], 2
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or edi, 0xffffffff
test eax, eax
je 0x4122fc
push dword [ebp - 0x4c]
call fcn.0043ad80
add esp, 4
test eax, eax
jne 0x4124dd
push dword [0x556070]
mov eax, dword [ebp + 8]
add eax, 0x3c
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0040d650
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 3
push dword [ecx + 0x34]
push dword [eax]
call fcn.004b6f00
mov edx, dword [ebp - 0x44]
add esp, 0x14
test eax, eax
mov byte [ebp - 4], 2
mov eax, edi
sets byte [ebp - 0x45]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41234a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x45], 0
je 0x4124dd
call fcn.00437e80
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
test al, al
je 0x412785
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 [0x515c5c]
mov dword [ebp - 0x28], 0
mov word [ebp - 0x28], ax
mov al, byte [0x515c5e]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 3
mov byte [ebp - 0x26], al
mov byte [ebp - 0x25], 0
mov byte [ebp - 4], 5
call fcn.00437e80
mov edi, eax
lea ecx, [ebp - 0xf8]
push 0x303
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040d2d0
mov esi, eax
push str.InstallHelper::InstallFiles_unzip_cefhelper.dll_failed__path:
push esi
mov byte [ebp - 4], 6
call fcn.00408ea0
mov ecx, dword [ebp - 0x58]
mov edx, 0x515a88
test ecx, ecx
cmovne edx, ecx
push edx
push esi
call fcn.00406fa0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xf8]
call fcn.00408fe0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 4
cmp edx, 0x10
jb 0x412490
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412486
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41280b
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], 2
cmp edx, 0x10
jb 0x412782
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412778
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41280b
jmp 0x412778
push dword [0x556070]
mov eax, dword [ebp + 8]
add eax, 0x3c
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0040d650
push eax
mov byte [ebp - 4], 7
call fcn.004275d0
mov edx, dword [ebp - 0x50]
add esp, 0x10
mov byte [ebp - 4], 2
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41251e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
push eax
call fcn.0040f630
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x54], esi
xor eax, eax
mov byte [ebp - 4], 8
push esi
mov dword [ebp - 0x44], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4125cf
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x4125cf
push str.StartEx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x60], eax
test eax, eax
je 0x4125c6
push ecx
mov esi, esp
mov dword [ebp - 0x44], esi
mov ecx, dword [ebp - 0x54]
add ecx, 0xfffffff0
push ecx
call fcn.0040f630
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x50]
push eax
call fcn.00426a40
add esp, 8
push dword [0x556054]
mov byte [ebp - 4], 9
push dword [ebp - 0x50]
call dword [ebp - 0x60]
mov edx, dword [ebp - 0x50]
mov ecx, edi
mov dword [ebp - 0x44], eax
add edx, 0xfffffff0
mov byte [ebp - 4], 8
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4125c3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x54]
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 2
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4125ea
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x44]
cmp eax, 1
jne 0x4125f9
mov esi, str.cef_exist
jmp 0x41260d
test eax, eax
je 0x412631
cmp eax, 4
mov esi, str.res_copy_success
mov ecx, str.res_down_success
cmove esi, ecx
call fcn.00404d20
push str.http:__s.ludashi.com_wan_typetypeactionactionpidpidmidmidmid2mid2
push 0
push 1
push 0
push esi
mov ecx, eax
call fcn.004392a0
mov dword [ebp - 0x44], 1
jmp 0x41278c
push str.http:__s.ludashi.com_wan_typetypeactionactionpidpidmidmidmid2mid2
push 0
push 1
push 0
push str.wd_show_overtime
call fcn.00404d20
mov ecx, eax
call fcn.004392a0
call fcn.00437e80
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
test al, al
je 0x412785
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 [0x515c5c]
mov dword [ebp - 0x28], 0
mov word [ebp - 0x28], ax
mov al, byte [0x515c5e]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 3
mov byte [ebp - 0x26], al
mov byte [ebp - 0x25], 0
mov byte [ebp - 4], 0xb
call fcn.00437e80
mov edi, eax
lea ecx, [ebp - 0xf8]
push 0x314
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040d2d0
mov esi, eax
push str.InstallFiles__CInstallres::download___failed
push esi
mov byte [ebp - 4], 0xc
call fcn.00408ea0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xf8]
call fcn.00408fe0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0xa
cmp edx, 0x10
jb 0x412490
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412486
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41280b
jmp 0x412486
push edx
push ecx
call fcn.004b592c
add esp, 8
or edi, 0xffffffff
mov dword [ebp - 0x44], 0
mov edx, dword [ebp - 0x4c]
mov eax, edi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4127aa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x58]
mov eax, edi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4127c8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x4127ed
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4127ed
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4127ed
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
int3