Function at 0x403da0
Capabilities:
Create tcp socket
Create thread
Create udp socket
Delete file
Resolve dns
Terminate thread

Disassembly:
sub esp, 0x114
push ebx
mov ebx, dword [esp + 0x124]
push ebp
push esi
push edi
push ebx
push str.Setting_up__s...
push 0x42d900
call fcn.00410876
mov eax, dword [0x42fd24]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0xc
push 0x42d900
push 0
push 0x402
push eax
call esi
push ebx
lea ecx, [esp + 0x24]
push str._sADMIN_System32Dbgvsvc.exe
push ecx
call fcn.00410876
lea edx, [esp + 0x2c]
push edx
push str.RCDBGSVC
call fcn.00409fc0
mov ebp, dword [esp + 0x140]
add esp, 0x14
test al, al
jne 0x403e96
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [0x42fd24]
push 0
push 0
push 0x406
push eax
call esi
cmp edi, 5
je 0x403e39
cmp edi, 0x3e7
jne 0x403ed6
mov ecx, dword [esp + 0x128]
mov edx, dword [0x433270]
push ebx
push 0x403720
push ecx
push str.LOGIN
push edx
call dword [sym.imp.USER32.dll_DialogBoxParamA]
test eax, eax
je 0x403ed6
lea eax, [esp + 0x20]
push eax
push str.RCDBGSVC
call fcn.00409fc0
add esp, 8
test al, al
je 0x403ed6
mov eax, dword [0x42fd24]
lea ecx, [ebp + ebp*4]
push 0
push 0
lea edx, [ebp + ecx*2]
push 0x405
shl edx, 5
push eax
mov byte [edx + 0x431734], 1
call esi
push ebx
lea eax, [esp + 0x24]
push str._sADMIN_System32Dbgv.sys
push eax
call fcn.00410876
lea ecx, [esp + 0x2c]
push ecx
push str.RCDBGSYS
call fcn.00409fc0
add esp, 0x14
test al, al
jne 0x403f25
mov edx, dword [esp + 0x134]
push edx
call fcn.00401900
add esp, 4
mov esi, 3
jmp 0x404103
mov ecx, dword [0x42fd24]
push 0
push 0
push 0x405
push ecx
call esi
mov edx, dword [esp + 0x134]
push edx
call fcn.00401900
mov eax, dword [esp + 0x130]
push eax
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*2]
shl edx, 5
mov byte [edx + 0x431734], 1
call fcn.004036d0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret
push ebx
push str.Starting_DebugView_on__s...
push 0x42d900
call fcn.00410876
mov eax, dword [0x42fd24]
add esp, 0xc
push 0x42d900
push 0
push 0x402
push eax
call esi
push ebx
push 0
push 0x403c50
call fcn.00410f58
mov ecx, dword [0x4313a4]
add esp, 0xc
mov dword [0x432628], eax
push 0xafc8
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov cl, byte [0x4357f4]
test cl, cl
jne 0x403fc0
cmp eax, 0x102
jne 0x403f9a
mov edx, dword [0x432628]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0x41d
jmp 0x403fa0
mov eax, dword [0x430d8c]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [esp + 0x134]
push ecx
call fcn.00401900
add esp, 4
mov esi, 5
jmp 0x404103
push ebx
push str.Connecting_with__s...
push 0x42d900
call fcn.00410876
mov edx, dword [0x42fd24]
add esp, 0xc
push 0x42d900
push 0
push 0x402
push edx
call esi
push ebx
call sub.WS2_32.dll_gethostbyname
xor ecx, ecx
lea edi, [esp + 0x14]
mov dword [esp + 0x10], ecx
push ebx
mov dword [esp + 0x18], ecx
push str._sADMIN_System32dbgview.ini
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 0xc]
movsx ecx, word [eax + 0xa]
mov esi, dword [edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ax, word [eax + 8]
lea ecx, [esp + 0x28]
push ecx
mov word [esp + 0x1c], ax
call fcn.00410876
lea edx, [esp + 0x2c]
push 0x41d950
push edx
call fcn.00410f45
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x404056
mov esi, 4
jmp 0x4040e4
push esi
push 1
lea eax, [esp + 0x1a]
push 2
push eax
call fcn.00410dfd
push esi
call fcn.00410d80
push ebx
lea ecx, [esp + 0x38]
push str._sADMIN_System32dbgview.ini
push ecx
call fcn.00410876
add esp, 0x20
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp + ebp*4]
push 0
push 1
push 2
lea ecx, [ebp + eax*2]
shl ecx, 5
lea edi, [ecx + 0x431730]
call sub.WS2_32.dll_socket
lea edx, [esp + 0x10]
mov dword [edi], eax
mov eax, dword [esp + 0x128]
push edx
push ebp
push eax
call fcn.00403cb0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x40416d
mov ecx, dword [edi]
push ecx
call sub.WS2_32.dll_closesocket
cmp esi, 2
je 0x4040e4
mov edx, dword [esp + 0x134]
push edx
call fcn.00401900
add esp, 4
lea eax, [ebp + ebp*4]
push str.DBGVSVC
lea ecx, [ebp + eax*2]
shl ecx, 5
add ecx, 0x431628
push ecx
call fcn.0040bdc0
add esp, 8
push ebx
lea edx, [esp + 0x24]
push str._sADMIN_System32Dbgvsvc.exe
push edx
call fcn.00410876
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0xc
lea eax, [esp + 0x20]
push eax
call edi
push ebx
lea ecx, [esp + 0x24]
push str._sADMIN_System32Dbgv.sys
push ecx
call fcn.00410876
add esp, 0xc
lea edx, [esp + 0x20]
push edx
call edi
push ebx
lea eax, [esp + 0x24]
push str._sADMIN_System32dbgview.ini
push eax
call fcn.00410876
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
call edi
push ebp
call fcn.004036d0
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x114
ret