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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5898a6
mov eax, dword fs:[0]
push eax
sub esp, 0x57c
mov eax, dword [0x61b000]
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.00418cb0
mov dword [ebp - 4], 0
push 0x5fdb04
lea ecx, [ebp - 0x560]
call fcn.00405ec0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x560]
push eax
lea ecx, [ebp - 0x134]
call fcn.00418db0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x560]
call fcn.0042ecc0
push str.cnnt_main.txt
lea ecx, [ebp - 0x564]
call fcn.00405ec0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x564]
push ecx
lea ecx, [ebp - 0x134]
call fcn.00418db0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x564]
call fcn.0042ecc0
push str.cnnt_tcp.txt
lea ecx, [ebp - 0x568]
call fcn.00405ec0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x568]
push edx
lea ecx, [ebp - 0x134]
call fcn.00418db0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x568]
call fcn.0042ecc0
push str.cnnt_udp.txt
lea ecx, [ebp - 0x56c]
call fcn.00405ec0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x56c]
push eax
lea ecx, [ebp - 0x134]
call fcn.00418db0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x56c]
call fcn.0042ecc0
push str.local_ports.txt
lea ecx, [ebp - 0x570]
call fcn.00405ec0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x570]
push ecx
lea ecx, [ebp - 0x134]
call fcn.00418db0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x570]
call fcn.0042ecc0
push str.file_mon.txt
lea ecx, [ebp - 0x574]
call fcn.00405ec0
mov byte [ebp - 4], 6
lea edx, [ebp - 0x574]
push edx
lea ecx, [ebp - 0x134]
call fcn.00418db0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x574]
call fcn.0042ecc0
push str.process.json
lea ecx, [ebp - 0x578]
call fcn.00405ec0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x578]
push eax
lea ecx, [ebp - 0x134]
call fcn.00418db0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x578]
call fcn.0042ecc0
push str._:ProgramDatazns1k....dbk_
lea ecx, [ebp - 0x10]
call fcn.00405ec0
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.00418a50
xor eax, eax
mov word [ebp - 0x544], ax
push 0x40e
push 0
lea ecx, [ebp - 0x542]
push ecx
call fcn.00568440
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.00405ec0
mov byte [ebp - 4], 9
push 1
lea edx, [ebp - 0x580]
push edx
lea ecx, [ebp - 0x18]
call fcn.0040b630
mov dword [ebp - 0x588], eax
push 0x5fdf1c
mov eax, dword [ebp - 0x588]
push eax
call fcn.00418a30
add esp, 8
mov byte [ebp - 0x579], al
lea ecx, [ebp - 0x580]
call fcn.0042ecc0
movzx ecx, byte [ebp - 0x579]
test ecx, ecx
je 0x41536c
push 0x5fdf20
lea ecx, [ebp - 0x18]
call fcn.00406a30
push 0x5fdf24
lea ecx, [ebp - 0x14]
call fcn.00405ec0
mov byte [ebp - 4], 0xa
cmp dword [ebp + 8], 0
jne 0x41544d
mov dword [ebp - 0x548], 0
jmp 0x4153a2
mov edx, dword [ebp - 0x548]
add edx, 1
mov dword [ebp - 0x548], edx
lea ecx, [ebp - 0x134]
call fcn.00418d40
cmp dword [ebp - 0x548], eax
jae 0x415448
mov eax, dword [ebp - 0x548]
push eax
lea ecx, [ebp - 0x134]
call fcn.00418d60
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x550]
push edx
call fcn.0040b740
add esp, 0xc
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x548]
push eax
lea ecx, [ebp - 0x134]
call fcn.00418d60
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x54c]
push edx
call fcn.0040b740
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.0042ecc0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x550]
call fcn.0042ecc0
jmp 0x415393
jmp 0x415518
cmp dword [ebp + 8], 1
jne 0x415518
mov dword [ebp - 0x554], 0
jmp 0x415472
mov eax, dword [ebp - 0x554]
add eax, 1
mov dword [ebp - 0x554], eax
lea ecx, [ebp - 0x134]
call fcn.00418d40
cmp dword [ebp - 0x554], eax
jae 0x415518
mov ecx, dword [ebp - 0x554]
push ecx
lea ecx, [ebp - 0x134]
call fcn.00418d60
push eax
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x55c]
push eax
call fcn.0040b740
add esp, 0xc
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x554]
push ecx
lea ecx, [ebp - 0x134]
call fcn.00418d60
push eax
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x558]
push eax
call fcn.0040b740
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.0042ecc0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x55c]
call fcn.0042ecc0
jmp 0x415463
mov dword [ebp - 0x584], 1
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x14]
call fcn.0042ecc0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x18]
call fcn.0042ecc0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0042ecc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x134]
call fcn.00418d20
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.00560c61
mov esp, ebp
pop ebp
ret