Function at 0x414400
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Encode data using xor
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
push 0x419b0b
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x4219cc]
xor eax, esp
mov dword [esp + 0xdc], eax
push ebp
push esi
push edi
mov eax, dword [0x4219cc]
xor eax, esp
push eax
lea eax, [esp + 0xf0]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x108]
mov dword [esp + 0xf8], 0
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
push ebp
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x20]
push edx
push ecx
lea eax, [esp + 0x114]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x110], 3
call dword [sym.imp.MFC80.DLL_Ordinal_297]
call fcn.00402f90
add esp, 0x14
test al, al
je 0x4144f2
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
lea ecx, [esp + 0x14]
mov edi, eax
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, dword [esp + 0x30]
push ecx
mov dword [esp + 0x60], eax
mov word [esp + 0x5c], 2
call dword [sym.imp.WS2_32.dll_htons]
push 0x10
lea edx, [esp + 0x5c]
push edx
push edi
mov word [esp + 0x66], ax
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x414527
push 0x41c834
mov ecx, ebp
call dword [sym.imp.MFC80.DLL_Ordinal_784]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x100]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x104]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
xor al, al
jmp 0x414a8a
push str.tjqzservice_ldl______________hnadmin
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80.DLL_Ordinal_304]
push 0
lea ecx, [esp + 0x24]
mov byte [esp + 0xfc], 4
call dword [sym.imp.MFC80.DLL_Ordinal_2902]
push eax
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
push edi
call dword [sym.imp.WS2_32.dll_send]
push 0
push 0x1e
lea eax, [esp + 0xd4]
push eax
push edi
call dword [sym.imp.WS2_32.dll_recv]
lea ecx, [esp + 0xcc]
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + eax + 0xd0], 0
call dword [sym.imp.MFC80.DLL_Ordinal_304]
push 0x41bc28
lea ecx, [esp + 0x28]
mov byte [esp + 0xfc], 5
call dword [sym.imp.MFC80.DLL_Ordinal_1482]
test eax, eax
je 0x4145d2
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
push 0x41c7fc
mov ecx, ebp
call dword [sym.imp.MFC80.DLL_Ordinal_784]
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
jmp 0x4144f2
lea ecx, [esp + 0x34]
call fcn.0040afa0
mov ecx, dword [0x41d034]
mov edx, dword [str.queryuserinfo:]
mov eax, dword [0x41d030]
mov dword [esp + 0x70], ecx
lea ecx, [esp + 0x100]
mov dword [esp + 0x68], edx
mov dx, word [0x41d038]
mov dword [esp + 0x6c], eax
mov al, byte [0x41d03a]
push ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0xfc], 6
mov word [esp + 0x78], dx
mov byte [esp + 0x7a], al
call dword [sym.imp.MFC80.DLL_Ordinal_297]
mov byte [esp + 0xf8], 7
mov esi, 0x32
jmp 0x414640
push 0x41bed8
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80.DLL_Ordinal_911]
sub esi, 1
jne 0x414640
push 0x32
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80.DLL_Ordinal_3997]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xfc], 8
call dword [sym.imp.MFC80.DLL_Ordinal_781]
lea ecx, [esp + 0x2c]
mov byte [esp + 0xf8], 7
call dword [sym.imp.MFC80.DLL_Ordinal_578]
xor esi, esi
lea esp, [esp]
push esi
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80.DLL_Ordinal_865]
xor al, 0x31
mov byte [esp + esi + 0x76], al
add esi, 1
cmp esi, 0x32
jl 0x414690
lea eax, [esp + 0x34]
push eax
push 0x40
lea ecx, [esp + 0x70]
push ecx
push edi
mov byte [esp + 0xb8], 0
call fcn.004161e0
add esp, 0x10
test al, al
jne 0x41473b
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
lea edx, [esp + 0x18]
push edx
call fcn.00415dc0
push eax
lea eax, [esp + 0x34]
push 0x41d020
push eax
mov byte [esp + 0x108], 9
call fcn.00407a20
add esp, 0x10
push eax
mov ecx, ebp
mov byte [esp + 0xfc], 0xa
call dword [sym.imp.MFC80.DLL_Ordinal_781]
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x34]
mov byte [esp + 0xf8], 5
call fcn.0040b000
jmp 0x4145b9
lea ecx, [esp + 0x4c]
call fcn.00415de0
test eax, eax
jne 0x41475e
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
push 0x41d000
mov ecx, ebp
call dword [sym.imp.MFC80.DLL_Ordinal_784]
jmp 0x41471b
push ecx
lea edx, [esp + 0x108]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call dword [sym.imp.MFC80.DLL_Ordinal_297]
lea eax, [esp + 0x2c]
push eax
call fcn.00402e30
add esp, 8
lea ecx, [esp + 0x28]
mov byte [esp + 0xf8], 0xb
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.PASSWORD
call dword [sym.imp.MFC80.DLL_Ordinal_304]
push 0
lea ecx, [esp + 0x58]
call fcn.00407fd0
mov ecx, eax
call fcn.00416080
mov ecx, eax
call dword [sym.imp.MFC80.DLL_Ordinal_1482]
test eax, eax
je 0x4147e0
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
push 0x41d000
mov ecx, ebp
call dword [sym.imp.MFC80.DLL_Ordinal_784]
lea ecx, [esp + 0x28]
jmp 0x414715
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x421d14
call dword [sym.imp.MFC80.DLL_Ordinal_781]
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x1c]
push eax
mov ecx, 0x421d18
mov dword [0x421508], edx
call dword [sym.imp.MFC80.DLL_Ordinal_781]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.USERNAME
call dword [sym.imp.MFC80.DLL_Ordinal_304]
push 0
lea ecx, [esp + 0x54]
call fcn.00407fd0
mov ecx, eax
call fcn.00416080
push eax
mov ecx, 0x421d20
call dword [sym.imp.MFC80.DLL_Ordinal_781]
lea ecx, [esp + 0x100]
push ecx
mov ecx, 0x421d1c
call dword [sym.imp.MFC80.DLL_Ordinal_781]
lea edx, [esp + 0x104]
push edx
mov ecx, 0x421d24
call dword [sym.imp.MFC80.DLL_Ordinal_781]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.ORGCODE
call dword [sym.imp.MFC80.DLL_Ordinal_304]
push 0
lea ecx, [esp + 0x54]
call fcn.00407fd0
mov ecx, eax
call fcn.00416080
push eax
mov ecx, 0x421d28
call dword [sym.imp.MFC80.DLL_Ordinal_781]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.TEXT
call dword [sym.imp.MFC80.DLL_Ordinal_304]
push 0
lea ecx, [esp + 0x54]
call fcn.00407fd0
mov ecx, eax
call fcn.00416080
push eax
mov ecx, 0x421d2c
call dword [sym.imp.MFC80.DLL_Ordinal_781]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.TYPE
call dword [sym.imp.MFC80.DLL_Ordinal_304]
push 0
lea ecx, [esp + 0x54]
call fcn.00407fd0
mov ecx, eax
call fcn.00416080
push eax
mov ecx, 0x421d30
call dword [sym.imp.MFC80.DLL_Ordinal_781]
mov eax, dword [str.addloginlog:01:]
mov ecx, dword [0x41c7f0]
mov edx, dword [0x41c7f4]
mov dword [esp + 0x68], eax
mov eax, dword [0x41c7f8]
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x100]
mov dword [0x421cac], edi
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], eax
push ecx
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80.DLL_Ordinal_781]
mov esi, 0x32
jmp 0x414940
push 0x41bed8
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80.DLL_Ordinal_911]
sub esi, 1
jne 0x414940
push 0x32
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80.DLL_Ordinal_3997]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xfc], 0xc
call dword [sym.imp.MFC80.DLL_Ordinal_781]
lea ecx, [esp + 0x18]
mov byte [esp + 0xf8], 0xb
call dword [sym.imp.MFC80.DLL_Ordinal_578]
xor esi, esi
lea esp, [esp]
push esi
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80.DLL_Ordinal_865]
xor al, 0x31
mov byte [esp + esi + 0x77], al
add esi, 1
cmp esi, 0x32
jl 0x414990
push 0
push 0x41
lea eax, [esp + 0x70]
push eax
push edi
mov byte [esp + 0xb9], 0
call dword [sym.imp.WS2_32.dll_send]
push 0
push 0x64
lea ecx, [esp + 0x70]
push ecx
push edi
call dword [sym.imp.WS2_32.dll_recv]
push 4
lea edx, [esp + 0x6c]
push str.Yes:
push edx
mov byte [esp + eax + 0x74], 0
call dword [sym.imp.MSVCR80.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x4149ff
lea eax, [esp + 0x6c]
push eax
mov ecx, 0x421d34
call dword [sym.imp.MFC80.DLL_Ordinal_784]
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x4c]
mov byte [esp + 0xf8], 0xe
call fcn.0040aef0
lea ecx, [esp + 0x40]
mov byte [esp + 0xf8], 0xd
call fcn.00408d70
lea ecx, [esp + 0x34]
mov byte [esp + 0xf8], 5
call fcn.00407bd0
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x100]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x104]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
mov al, 1
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xdc]
xor ecx, esp
call fcn.00417312
add esp, 0xec
ret