Function at 0x410bd0
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506948
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
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]
mov dword [ebp - 4], 0
mov eax, dword [eax + 0x20]
sub eax, 0x10
push eax
call fcn.0040f630
add eax, 0x10
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
push eax
call fcn.004275d0
lea eax, [ebp - 0x48]
push eax
call fcn.00424d90
add esp, 0xc
push 0
push dword [ebp - 0x44]
mov byte [ebp - 4], 2
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push dword [ebp - 0x44]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x410de4
call fcn.00437e80
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
test al, al
je 0x410ddb
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], 4
call fcn.00437e80
mov edi, eax
lea ecx, [ebp - 0xe4]
push 0x2f4
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040d2d0
mov esi, eax
push str.InstallHelper::InstallFiles__copy_exe_file_failed__path:
push esi
mov byte [ebp - 4], 5
call fcn.00408ea0
mov ecx, dword [ebp - 0x44]
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 - 0xe4]
call fcn.00408fe0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x410d91
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410d87
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410e6d
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 0x410ddb
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410dd1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410e6d
push edx
push ecx
call fcn.004b592c
add esp, 8
mov dword [ebp - 0x4c], 0
jmp 0x410deb
mov dword [ebp - 0x4c], 1
mov edx, dword [ebp - 0x48]
or edi, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410e0c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x44]
mov eax, edi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410e2a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x410e4f
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x410e4f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x410e4f
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, dword [ebp - 0x4c]
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