Function at 0x41a350
Capabilities:
Check if file exists
Copy file
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x48d45c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x474
push ebx
push ebp
push esi
xor ebx, ebx
push edi
lea eax, [esp + 0x24]
push ebx
push eax
call fcn.004020b0
add esp, 8
push str.360rp.exe
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x498], ebx
call sub.MFC42u.DLL_operator_2
lea ecx, [esp + 0x24]
mov byte [esp + 0x48c], 2
call sub.MFC42u.DLL_CString::CString
lea edx, [esp + 0x14]
push ebx
push edx
call fcn.004020b0
add esp, 8
mov eax, dword [esp + 0x10]
mov byte [esp + 0x48c], 3
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41a5d5
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004215b0
add esp, 4
test eax, eax
je 0x41a5d5
cmp dword [esp + 0x494], ebx
je 0x41a547
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x76]
mov word [esp + 0x74], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x27e]
mov word [esp + 0x27c], bx
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
xor esi, esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [esp + 0x1c], esi
push esi
push 0x4b0b90
lea edx, [esp + 0x284]
push 0x208
push edx
call fcn.0040c490
lea eax, [esp + 0x38]
push eax
call fcn.0040e4a0
mov eax, dword [eax]
add esp, 0x14
lea ecx, [esp + 0x74]
lea edx, [esp + 0x27c]
push eax
push 0x104
push ecx
push 0x4b99c0
push edx
push str.rname
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 0x28]
call sub.MFC42u.DLL_CString::CString
cmp word [esp + 0x74], bx
je 0x41a539
push 4
lea eax, [esp + 0x78]
push str..exe
push eax
call dword [sym.imp.MSVCRT.dll_wcsncat]
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x3c]
mov dword [esp + 0x38], ebx
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x1c]
mov ecx, 8
lea edi, [esp + 0x60]
mov dword [esp + 0x5c], ebx
rep stosd dword es:[edi], eax
add esp, 0xc
lea ecx, [esp + 0x2c]
push ecx
push ebx
push edx
call ebp
lea eax, [esp + 0x74]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
call sub.MFC42u.DLL_operator_2
mov eax, dword [eax]
lea ecx, [esp + 0x50]
push ecx
push ebx
push eax
call ebp
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CString::CString
lea edx, [esp + 0x74]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
call sub.MFC42u.DLL_operator_2
mov ecx, dword [esp + 0x4c]
mov edi, dword [esp + 0x70]
mov eax, dword [eax]
xor edx, edx
cmp ecx, edi
setne dl
push edx
mov edx, dword [esp + 0x14]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [esp + 0x18]
mov esi, eax
call sub.MFC42u.DLL_CString::CString
cmp esi, ebx
jne 0x41a58c
mov esi, dword [esp + 0x1c]
inc esi
cmp esi, 0x18
mov dword [esp + 0x1c], esi
jl 0x41a42c
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push ebx
push ebx
push edx
push str._run
push eax
push ebx
call fcn.0041e5a0
add esp, 0x18
mov esi, eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x48c], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x48c], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov eax, esi
jmp 0x41a5fc
lea eax, [esp + 0x74]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
call sub.MFC42u.DLL_operator_2
mov ecx, dword [esp + 0x14]
mov eax, dword [eax]
push ebx
push ebx
push ecx
push str._run
push eax
push ebx
mov byte [esp + 0x4a4], 4
call fcn.0041e5a0
add esp, 0x18
lea ecx, [esp + 0x18]
mov esi, eax
mov byte [esp + 0x48c], 3
call sub.MFC42u.DLL_CString::CString
jmp 0x41a563
lea ecx, [esp + 0x14]
mov byte [esp + 0x48c], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x48c], 0xffffffff
call sub.MFC42u.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x484]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x480
ret 4