Function at 0x407e60
Capabilities:
Copy file
Set file attributes

Disassembly:
mov eax, 0x1f824
call fcn.0041f870
push ebx
mov ebx, dword [esp + 0x1f82c]
push ebp
push esi
mov eax, dword [ebx]
push edi
push 0x100
lea ecx, [esp + 0x30]
push eax
push ecx
mov dword [esp + 0x1c], 0
call fcn.004166c0
lea edx, [esp + 0x38]
add esp, 0xc
test edx, edx
je 0x408362
mov al, byte [esp + 0x2c]
test al, al
je 0x408362
mov ecx, dword [0x447c50]
lea eax, [esp + 0x2d]
push eax
add ecx, 0x104
push str.GuiXT_Cache
push ecx
push str._s_s_s
lea edx, [esp + 0x13c]
push 0x100
push edx
call fcn.0041f19c
lea eax, [esp + 0x144]
push eax
call fcn.00403660
mov edx, dword [0x446604]
lea ecx, [esp + 0x48]
push 0x100
push ecx
push edx
call fcn.004166c0
mov esi, dword [0x446604]
add esp, 0x28
mov al, byte [esi]
test al, al
je 0x407f1d
push eax
call fcn.004030d0
add esp, 4
mov byte [esi], al
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x407f0a
lea eax, [esp + 0x10]
mov ecx, 0x447930
push eax
call fcn.00416260
test al, al
je 0x407f50
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x12c]
push 0x100
add edx, 0x108
push ecx
push edx
call fcn.004166c0
add esp, 0xc
mov ebp, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea eax, [esp + 0x22c]
lea ecx, [esp + 0x2c]
push eax
push ecx
call ebp
mov edi, eax
cmp edi, 0xffffffff
je 0x408362
mov eax, dword [ebx + 0x14]
test eax, eax
jne 0x408362
mov eax, dword [ebx]
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.0041f950
add esp, 8
test eax, eax
jne 0x408362
mov edx, dword [0x446604]
lea ecx, [esp + 0x2c]
push 0x100
push ecx
push edx
call fcn.004166c0
mov esi, dword [0x446604]
add esp, 0xc
mov al, byte [esi]
test al, al
je 0x407fcb
push eax
call fcn.004030d0
add esp, 4
mov byte [esi], al
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x407fb8
lea eax, [esp + 0x10]
mov ecx, 0x447930
push eax
call fcn.00416260
test al, al
mov ebx, 1
je 0x407ffb
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x100], ebx
mov edx, dword [esp + 0x10]
mov dword [edx + 0x104], 0
mov eax, dword [esp + 0x240]
mov ecx, dword [esp + 0x244]
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
call esi
lea edx, [esp + 0x22c]
lea eax, [esp + 0x12c]
push edx
push eax
call ebp
cmp eax, 0xffffffff
je 0x408081
mov ecx, dword [esp + 0x240]
mov edx, dword [esp + 0x244]
push eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
call esi
mov ecx, 2
lea edi, [esp + 0x14]
lea esi, [esp + 0x1c]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x408081
lea ecx, [esp + 0x10]
push ecx
mov ecx, 0x447930
call fcn.00416260
mov edx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword [edx + 0x104], ebx
pop ebx
add esp, 0x1f824
ret
lea eax, [esp + 0x12c]
push eax
call fcn.00403fa0
mov edx, dword [0x446604]
lea ecx, [esp + 0x30]
push 0x100
push ecx
push edx
call fcn.004166c0
mov esi, dword [0x446604]
add esp, 0x10
mov al, byte [esi]
test al, al
je 0x4080c6
push eax
call fcn.004030d0
add esp, 4
mov byte [esi], al
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4080b3
lea eax, [esp + 0x10]
mov ecx, 0x447930
push eax
call fcn.00416260
test al, al
je 0x408362
mov ecx, dword [esp + 0x1f838]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x408279
lea edx, [esp + 0x12c]
push 0x440e30
push edx
mov edi, ebx
call fcn.0041f85a
mov esi, eax
lea eax, [esp + 0x34]
push 0x4409d8
push eax
call fcn.0041f85a
add esp, 0x10
mov ebp, eax
test esi, esi
mov dword [esp + 0x14], ebp
je 0x408129
test ebp, ebp
je 0x408129
mov eax, ebx
jmp 0x40812b
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x104], eax
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x104]
test eax, eax
je 0x40825d
push ebp
lea eax, [esp + 0x438]
push 0xfa00
push eax
call fcn.0041f7c7
add esp, 0xc
test eax, eax
je 0x40825d
mov ebp, dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov bl, 0x2f
test edi, edi
je 0x4081e6
lea ecx, [esp + 0x1c]
xor edi, edi
push ecx
call ebp
push esi
push str.___GuiXT_script
call fcn.0041f6fc
push esi
push 0x4344e0
call fcn.0041f6fc
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x2e]
mov ecx, dword [esp + 0x32]
add esp, 0x10
and edx, 0xffff
and eax, 0xffff
push edx
and ecx, 0xffff
push eax
push ecx
push str.____Encrypted__file_server_access__02i._02i._04i_
lea edx, [esp + 0x37c]
push 0xc8
push edx
call fcn.0041f19c
lea eax, [esp + 0x384]
push esi
push eax
call fcn.0041f6fc
push esi
push 0x4344e0
call fcn.0041f6fc
add esp, 0x28
mov al, byte [esp + 0x434]
test al, al
je 0x408237
cmp al, 0xa
je 0x408237
cmp al, 0xd
je 0x408237
cmp al, bl
jne 0x408206
cmp byte [esp + 0x435], bl
je 0x408237
lea ecx, [esp + 0x434]
lea edx, [esp + 0xfe34]
push ecx
push edx
call fcn.00403560
lea eax, [esp + 0xfe3c]
push esi
push eax
call fcn.0041f6fc
push esi
push 0x4344e0
call fcn.0041f6fc
add esp, 0x18
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x434]
push ecx
push 0xfa00
push edx
call fcn.0041f7c7
add esp, 0xc
test eax, eax
jne 0x40816d
mov ebp, dword [esp + 0x14]
test esi, esi
je 0x40826a
push esi
call fcn.0041f74a
add esp, 4
test ebp, ebp
je 0x408298
push ebp
call fcn.0041f74a
add esp, 4
jmp 0x408298
lea eax, [esp + 0x12c]
push 0
lea ecx, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov edx, dword [esp + 0x10]
mov dword [edx + 0x104], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x104]
test ecx, ecx
je 0x4082c4
lea ecx, [esp + 0x12c]
push 0x80
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1f824
ret
mov eax, dword [0x447e38]
test eax, eax
je 0x408362
mov edi, str.File_cache_full_or_invalid:
or ecx, 0xffffffff
xor eax, eax
mov byte [0x4463c4], 0x4e
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea eax, [esp + 0x12c]
mov edx, ecx
mov esi, edi
mov edi, 0x4463c5
push 0x4463c4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
xor eax, eax
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4463c4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, 0x4463c4
push ecx
call fcn.00414880
mov ecx, dword [0x447e38]
push 0x4463c5
mov edx, dword [ecx + 0x72b0]
push edx
call fcn.00408560
mov eax, dword [0x447e38]
add esp, 0x14
mov ecx, dword [eax + 0x5ebc]
test ecx, ecx
je 0x408362
mov eax, dword [eax + 0x72b4]
push 0x4463c4
push eax
call fcn.00408560
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1f824
ret