Function at 0x411710
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506aa8
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
push dword [0x556074]
mov eax, dword [ebp + 8]
add eax, 0x3c
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0040d650
add esp, 0xc
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x48]
test eax, eax
sete byte [ebp - 0x41]
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411788
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x41], 0
je 0x411904
call fcn.00437e80
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
test al, al
je 0x4118fb
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], 2
call fcn.00437e80
mov edi, eax
lea ecx, [ebp - 0xe0]
push 0x2bb
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040d2d0
mov esi, eax
push str.utils::MoveFile:_ui__failed
push esi
mov byte [ebp - 4], 3
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]
cmp edx, 0x10
jb 0x4118b6
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4118ac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41194e
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
cmp edx, 0x10
jb 0x4118f8
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4118ee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41194e
push edx
push ecx
call fcn.004b592c
add esp, 8
or edi, 0xffffffff
mov dword [ebp - 0x48], 0
jmp 0x41190b
mov dword [ebp - 0x48], 1
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x411930
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x411930
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x411930
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, dword [ebp - 0x48]
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