Function at 0x415ac0
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5835d6
mov eax, dword fs:[0]
push eax
sub esp, 0x57c
mov eax, dword [0x615000]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x134]
call fcn.00419350
mov dword [ebp - 4], 0
push 0x5f7a8c
lea ecx, [ebp - 0x560]
call fcn.00405d60
mov byte [ebp - 4], 1
lea eax, [ebp - 0x560]
push eax
lea ecx, [ebp - 0x134]
call fcn.00419450
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x560]
call fcn.0042e5a0
push str.cnnt_main.txt
lea ecx, [ebp - 0x564]
call fcn.00405d60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x564]
push ecx
lea ecx, [ebp - 0x134]
call fcn.00419450
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x564]
call fcn.0042e5a0
push str.cnnt_tcp.txt
lea ecx, [ebp - 0x568]
call fcn.00405d60
mov byte [ebp - 4], 3
lea edx, [ebp - 0x568]
push edx
lea ecx, [ebp - 0x134]
call fcn.00419450
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x568]
call fcn.0042e5a0
push str.cnnt_udp.txt
lea ecx, [ebp - 0x56c]
call fcn.00405d60
mov byte [ebp - 4], 4
lea eax, [ebp - 0x56c]
push eax
lea ecx, [ebp - 0x134]
call fcn.00419450
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x56c]
call fcn.0042e5a0
push str.local_ports.txt
lea ecx, [ebp - 0x570]
call fcn.00405d60
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x570]
push ecx
lea ecx, [ebp - 0x134]
call fcn.00419450
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x570]
call fcn.0042e5a0
push str.file_mon.txt
lea ecx, [ebp - 0x574]
call fcn.00405d60
mov byte [ebp - 4], 6
lea edx, [ebp - 0x574]
push edx
lea ecx, [ebp - 0x134]
call fcn.00419450
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x574]
call fcn.0042e5a0
push str.process.json
lea ecx, [ebp - 0x578]
call fcn.00405d60
mov byte [ebp - 4], 7
lea eax, [ebp - 0x578]
push eax
lea ecx, [ebp - 0x134]
call fcn.00419450
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x578]
call fcn.0042e5a0
push str._:ProgramDatazns1k....dbk_
lea ecx, [ebp - 0x10]
call fcn.00405d60
mov byte [ebp - 4], 8
push 0x100
lea ecx, [ebp - 0x11c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
movzx edx, word [ebp - 0x11c]
push edx
push 0
lea ecx, [ebp - 0x10]
call fcn.00419150
xor eax, eax
mov word [ebp - 0x544], ax
push 0x40e
push 0
lea ecx, [ebp - 0x542]
push ecx
call fcn.00562540
add esp, 0xc
push 0x207
lea edx, [ebp - 0x544]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x544]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [ebp - 0x544]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00405d60
mov byte [ebp - 4], 9
push 1
lea edx, [ebp - 0x580]
push edx
lea ecx, [ebp - 0x18]
call fcn.0040b450
mov dword [ebp - 0x588], eax
push 0x5f7ea4
mov eax, dword [ebp - 0x588]
push eax
call fcn.00419130
add esp, 8
mov byte [ebp - 0x579], al
lea ecx, [ebp - 0x580]
call fcn.0042e5a0
movzx ecx, byte [ebp - 0x579]
test ecx, ecx
je 0x415d4c
push 0x5f7ea8
lea ecx, [ebp - 0x18]
call fcn.004068d0
push 0x5f7eac
lea ecx, [ebp - 0x14]
call fcn.00405d60
mov byte [ebp - 4], 0xa
cmp dword [ebp + 8], 0
jne 0x415e2d
mov dword [ebp - 0x548], 0
jmp 0x415d82
mov edx, dword [ebp - 0x548]
add edx, 1
mov dword [ebp - 0x548], edx
lea ecx, [ebp - 0x134]
call fcn.004193e0
cmp dword [ebp - 0x548], eax
jae 0x415e28
mov eax, dword [ebp - 0x548]
push eax
lea ecx, [ebp - 0x134]
call fcn.00419400
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x550]
push edx
call fcn.0040b560
add esp, 0xc
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x548]
push eax
lea ecx, [ebp - 0x134]
call fcn.00419400
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x54c]
push edx
call fcn.0040b560
add esp, 0xc
push 0
lea ecx, [ebp - 0x54c]
call fcn.004027c0
push eax
lea ecx, [ebp - 0x550]
call fcn.004027c0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x54c]
call fcn.0042e5a0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x550]
call fcn.0042e5a0
jmp 0x415d73
jmp 0x415ef8
cmp dword [ebp + 8], 1
jne 0x415ef8
mov dword [ebp - 0x554], 0
jmp 0x415e52
mov eax, dword [ebp - 0x554]
add eax, 1
mov dword [ebp - 0x554], eax
lea ecx, [ebp - 0x134]
call fcn.004193e0
cmp dword [ebp - 0x554], eax
jae 0x415ef8
mov ecx, dword [ebp - 0x554]
push ecx
lea ecx, [ebp - 0x134]
call fcn.00419400
push eax
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x55c]
push eax
call fcn.0040b560
add esp, 0xc
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x554]
push ecx
lea ecx, [ebp - 0x134]
call fcn.00419400
push eax
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x558]
push eax
call fcn.0040b560
add esp, 0xc
push 0
lea ecx, [ebp - 0x558]
call fcn.004027c0
push eax
lea ecx, [ebp - 0x55c]
call fcn.004027c0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x558]
call fcn.0042e5a0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x55c]
call fcn.0042e5a0
jmp 0x415e43
mov dword [ebp - 0x584], 1
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x14]
call fcn.0042e5a0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x18]
call fcn.0042e5a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0042e5a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x134]
call fcn.004193c0
mov eax, dword [ebp - 0x584]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0055abea
mov esp, ebp
pop ebp
ret