Function at 0x4673f0
Capabilities:
Print debug messages
Resolve dns
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x525fa4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x184
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov edi, 1
mov eax, dword [ebp + 0x4c]
mov dword [esp + 0x14], 0
cmp eax, edi
jne 0x46742f
mov eax, 5
jmp 0x468015
mov esi, dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
push str._nCONFIG
call esi
mov ebx, dword [esp + 0x1a4]
lea eax, [esp + 0x1c]
push edi
push eax
mov ecx, ebx
call fcn.004c7f00
mov eax, dword [eax + 4]
test eax, eax
jne 0x46745c
mov eax, 0x53487c
push eax
call esi
push edi
lea ecx, [esp + 0x20]
call fcn.00402fc0
lea ecx, [esp + 0xc0]
push ecx
mov ecx, ebx
call fcn.004c7e80
lea esi, [ebp + 0x1594]
push eax
mov ecx, esi
mov dword [esp + 0x1a0], 0
call fcn.004c7d90
or ebx, 0xffffffff
lea ecx, [esp + 0xc0]
mov dword [esp + 0x19c], ebx
call fcn.004c6970
push esi
lea ecx, [esp + 0xb0]
call fcn.004c58e0
lea ecx, [esp + 0xac]
mov dword [esp + 0x19c], edi
call fcn.004c4ae0
test al, al
je 0x4674e5
lea ecx, [esp + 0xac]
mov dword [esp + 0x19c], ebx
call fcn.004c4610
mov eax, edi
jmp 0x468015
lea edx, [esp + 0x16c]
push 0x5674e0
push edx
lea ecx, [esp + 0xb4]
call fcn.004c51a0
lea ecx, [esp + 0x54]
mov byte [esp + 0x19c], 2
push ecx
mov ecx, eax
call fcn.004c5400
mov dl, byte [esp + 0x54]
push 0
lea ecx, [esp + 0x30]
mov byte [esp + 0x1a0], 3
mov byte [esp + 0x30], dl
call fcn.00402fc0
mov eax, dword [0x5347a8]
lea ecx, [esp + 0x54]
push eax
push 0
push ecx
lea ecx, [esp + 0x38]
call fcn.0040ed00
push edi
lea ecx, [esp + 0x58]
mov byte [esp + 0x1a0], 6
call fcn.00402fc0
lea ecx, [esp + 0x16c]
mov byte [esp + 0x19c], 5
call fcn.004c4610
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x4675a0
push edi
lea ecx, [esp + 0x30]
mov byte [esp + 0x1a0], 1
call fcn.00402fc0
lea ecx, [esp + 0xac]
mov dword [esp + 0x19c], ebx
call fcn.004c4610
mov eax, 3
jmp 0x468015
lea edx, [esp + 0x2c]
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.00499960
add esp, 8
mov ecx, dword [0x5347a8]
lea ebx, [ebp + 0x14fc]
push ecx
push 0
push eax
mov ecx, ebx
mov byte [esp + 0x1a8], 7
call fcn.0040ed00
push edi
lea ecx, [esp + 0x20]
mov byte [esp + 0x1a0], 5
call fcn.00402fc0
lea edx, [esp + 0x2c]
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.00499a10
add esp, 8
mov ecx, dword [0x5347a8]
lea esi, [ebp + 0x152c]
push ecx
push 0
push eax
mov ecx, esi
mov byte [esp + 0x1a8], 8
call fcn.0040ed00
push edi
lea ecx, [esp + 0x20]
mov byte [esp + 0x1a0], 5
call fcn.00402fc0
mov eax, dword [ebp + 0x1534]
test eax, eax
jne 0x46767b
mov edi, str.hxqq
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
mov ecx, esi
push edi
mov dword [esp + 0x1c], edi
call fcn.004030d0
test al, al
je 0x46767b
mov eax, dword [esi + 4]
mov ecx, edi
mov edx, ecx
mov esi, str.hxqq
mov edi, eax
mov eax, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp + 0x152c]
call fcn.004030b0
lea ecx, [esp + 0x1c]
push ebx
push ecx
call fcn.00499b00
add esp, 8
mov edx, dword [0x5347a8]
xor esi, esi
lea edi, [ebp + 0x151c]
push edx
push esi
push eax
mov ecx, edi
mov byte [esp + 0x1a8], 9
call fcn.0040ed00
push 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x1a0], 5
call fcn.00402fc0
lea eax, [esp + 0x1c]
push ebx
push eax
call fcn.00499850
add esp, 8
mov ecx, dword [0x5347a8]
mov ebx, 0xa
push ecx
push esi
push eax
lea ecx, [ebp + 0x150c]
mov byte [esp + 0x1a8], bl
call fcn.0040ed00
push 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x1a0], 5
call fcn.00402fc0
lea edx, [esp + 0x180]
push str.IPServer
push edx
lea ecx, [esp + 0xb4]
call fcn.004c51a0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x19c], 0xb
push ecx
mov ecx, eax
call fcn.004c5400
mov dl, byte [esp + 0x1c]
push esi
lea ecx, [esp + 0x48]
mov byte [esp + 0x1a0], 0xc
mov byte [esp + 0x48], dl
call fcn.00402fc0
mov eax, dword [0x5347a8]
lea ecx, [esp + 0x1c]
push eax
push esi
push ecx
lea ecx, [esp + 0x50]
call fcn.0040ed00
push 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x1a0], 0xf
call fcn.00402fc0
lea ecx, [esp + 0x180]
mov byte [esp + 0x19c], 0xe
call fcn.004c4610
lea edx, [esp + 0x158]
push str.net_config
push edx
lea ecx, [esp + 0xb4]
call fcn.004c51a0
mov al, byte [esp + 0x13]
mov byte [esp + 0x19c], 0x10
mov byte [esp + 0x68], al
push esi
lea ecx, [esp + 0x6c]
call fcn.00402fc0
lea ecx, [esp + 0x13]
mov byte [esp + 0x19c], 0x11
push ecx
lea ecx, [esp + 0x80]
call fcn.004937a0
lea edx, [esp + 0x1b]
lea ecx, [esp + 0x8c]
push edx
mov byte [esp + 0x1a0], 0x12
call fcn.004937a0
lea eax, [esp + 0x1a]
lea ecx, [esp + 0x9c]
push eax
mov byte [esp + 0x1a0], 0x13
call fcn.004937a0
lea ecx, [esp + 0x158]
mov byte [esp + 0x19c], 0x14
mov byte [esp + 0x64], 0
call fcn.004c4ba0
test al, al
je 0x4678f3
lea ecx, [esp + 0x158]
lea edx, [esp + 0xc8]
push ecx
push edx
call fcn.0049c5d0
add esp, 8
mov esi, eax
mov ecx, dword [0x5347a8]
mov al, byte [esi]
push ecx
lea edx, [esi + 4]
push 0
push edx
lea ecx, [esp + 0x74]
mov byte [esp + 0x1a8], 0x15
mov byte [esp + 0x70], al
call fcn.0040ed00
mov ecx, dword [0x5347a8]
mov eax, dword [esi + 0x14]
push ecx
lea edx, [esi + 0x18]
push 0
push edx
lea ecx, [esp + 0x88]
mov dword [esp + 0x84], eax
call fcn.0040ed00
mov eax, dword [0x5347a8]
lea ecx, [esi + 0x28]
push eax
push 0
push ecx
lea ecx, [esp + 0x98]
call fcn.0040ed00
mov edx, dword [0x5347a8]
add esi, 0x38
push edx
push 0
push esi
lea ecx, [esp + 0xa8]
call fcn.0040ed00
push 1
lea ecx, [esp + 0x104]
mov byte [esp + 0x1a0], 0x14
call fcn.00402fc0
push 1
lea ecx, [esp + 0xf4]
call fcn.00402fc0
push 1
lea ecx, [esp + 0xe4]
call fcn.00402fc0
push 1
lea ecx, [esp + 0xd0]
call fcn.00402fc0
xor esi, esi
mov al, byte [esp + 0x64]
lea edx, [esp + 0x68]
mov byte [ebp + 0x154c], al
mov ecx, dword [0x5347a8]
push ecx
push esi
push edx
lea ecx, [ebp + 0x1550]
call fcn.0040ed00
mov eax, dword [esp + 0x78]
lea edx, [esp + 0x7c]
mov dword [ebp + 0x1560], eax
mov ecx, dword [0x5347a8]
push ecx
push esi
push edx
lea ecx, [ebp + 0x1564]
call fcn.0040ed00
mov eax, dword [0x5347a8]
lea ecx, [esp + 0x8c]
push eax
push esi
push ecx
lea ecx, [ebp + 0x1574]
call fcn.0040ed00
mov edx, dword [0x5347a8]
lea eax, [esp + 0x9c]
push edx
push esi
push eax
lea ecx, [ebp + 0x1584]
call fcn.0040ed00
mov al, byte [esp + 0x64]
test al, al
je 0x46799f
lea ecx, [esp + 0x9c]
lea edx, [esp + 0x8c]
push ecx
mov ecx, dword [esp + 0x7c]
lea eax, [esp + 0x6c]
push edx
push eax
lea edx, [esp + 0x88]
push ecx
push edx
mov ecx, ebp
call fcn.004ca290
jmp 0x4679a6
mov ecx, ebp
call fcn.004ca280
cmp dword [esp + 0x4c], esi
jne 0x467da8
cmp dword [ebp + 0x4c], esi
je 0x4679bd
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x50]
push esi
push 0x3f
push 1
push esi
mov ecx, ebp
call fcn.0051bba1
mov edx, dword [ebp + 4]
lea ecx, [esp + 0x3c]
push 4
push ecx
push 0x1006
push 0xffff
push edx
mov dword [esp + 0x50], ebx
call sub.WSOCK32.dll_setsockopt
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x3c]
push 4
push eax
push 0x1005
push 0xffff
push ecx
call sub.WSOCK32.dll_setsockopt
lea ecx, [esp + 0x124]
mov dword [esp + 0xc8], 0x53b5ec
call fcn.00453a70
mov dword [esp + method.std::basic_ios_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [esp + 0x14], 1
push esi
lea edx, [esp + 0xd4]
push esi
push edx
lea ecx, [esp + 0xd4]
mov byte [esp + 0x1a8], 0x16
call fcn.00459780
push esi
lea ecx, [esp + 0xd4]
mov dword [esp + 0x1a0], 0x17
call fcn.0046a980
mov eax, dword [esp + 0xc8]
mov ebx, 0x53b5e8
push 1
push str.port.cfg
mov ecx, dword [eax + 4]
mov byte [esp + 0x1a4], 0x18
mov dword [esp + ecx + 0xd0], ebx
lea ecx, [esp + 0xd8]
call fcn.0046ab80
test eax, eax
jne 0x467ab0
mov edx, dword [esp + 0xc8]
push esi
push 2
mov eax, dword [edx + 4]
lea ecx, [esp + eax + 0xd0]
call fcn.00459d40
lea ecx, [esp + 0xc8]
mov byte [esp + 0x19c], 0x19
test ecx, ecx
jne 0x467ac7
xor eax, eax
jmp 0x467ad8
mov edx, dword [esp + 0xc8]
mov eax, dword [edx + 4]
lea eax, [esp + eax + 0xc8]
mov ecx, dword [eax + 4]
and cl, 6
neg cl
sbb ecx, ecx
not ecx
test eax, ecx
je 0x467c60
lea edx, [esp + 0x14]
lea ecx, [esp + 0xc8]
push edx
call fcn.004699b0
mov eax, dword [esp + 0x14]
cmp ax, si
jbe 0x467c60
cmp ax, 0xc350
jae 0x467c60
mov eax, dword [esp + 0x120]
cmp eax, esi
je 0x467b46
push eax
call fcn.004a6555
add esp, 4
test eax, eax
jne 0x467b46
push 2
push esi
lea ecx, [esp + 0xd8]
call fcn.0046ad80
lea eax, [esp + 0xd0]
test eax, eax
jne 0x467b5f
mov ecx, dword [esp + 0xc8]
push esi
push 2
mov edx, dword [ecx + 4]
lea ecx, [esp + edx + 0xd0]
call fcn.00459d40
mov edi, dword [edi + 4]
mov eax, 0x53487c
cmp edi, esi
je 0x467b6d
mov eax, edi
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp]
and ecx, 0xffff
push ecx
push eax
mov ecx, ebp
call dword [edx + 0x44]
mov eax, dword [esp + 0xc8]
mov dword [ebp + 0x4c], 1
lea edx, [esp + 0x124]
mov ecx, dword [eax + 4]
mov dword [esp + 0xc0], edx
mov dword [esp + ecx + 0xc8], ebx
lea ecx, [esp + 0xd0]
mov byte [esp + 0x19c], 0x1a
call fcn.00469e00
mov edx, dword [esp + 0xc8]
lea ecx, [esp + 0x124]
mov byte [esp + 0x19c], 0x14
mov eax, dword [edx + 4]
mov dword [esp + eax + 0xc8], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
call fcn.004584a0
push 1
lea ecx, [esp + 0xa0]
mov byte [esp + 0x1a0], 0x10
call fcn.00402fc0
push 1
lea ecx, [esp + 0x90]
call fcn.00402fc0
push 1
lea ecx, [esp + 0x80]
call fcn.00402fc0
push 1
lea ecx, [esp + 0x6c]
call fcn.00402fc0
lea ecx, [esp + 0x158]
mov byte [esp + 0x19c], 0xe
call fcn.004c4610
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x1a0], 5
call fcn.00402fc0
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x1a0], 1
call fcn.00402fc0
jmp 0x467ffc
mov eax, dword [esp + 0x120]
cmp eax, esi
je 0x467c92
push eax
call fcn.004a6555
add esp, 4
test eax, eax
jne 0x467c92
push 2
push esi
lea ecx, [esp + 0xd8]
call fcn.0046ad80
lea ecx, [esp + 0xd0]
test ecx, ecx
jne 0x467cab
mov edx, dword [esp + 0xc8]
push esi
push 2
mov eax, dword [edx + 4]
lea ecx, [esp + eax + 0xd0]
call fcn.00459d40
mov edi, dword [edi + 4]
mov eax, 0x53487c
cmp edi, esi
je 0x467cb9
mov eax, edi
mov ecx, dword [ebp + 0x15e4]
mov edx, dword [ebp]
push ecx
push eax
mov ecx, ebp
call dword [edx + 0x44]
mov eax, dword [esp + 0xc8]
mov dword [ebp + 0x4c], 1
lea edx, [esp + 0x124]
mov ecx, dword [eax + 4]
mov dword [esp + 0xc0], edx
mov dword [esp + ecx + 0xc8], ebx
lea ecx, [esp + 0xd0]
mov byte [esp + 0x19c], 0x1b
call fcn.00469e00
mov edx, dword [esp + 0xc8]
lea ecx, [esp + 0x124]
mov byte [esp + 0x19c], 0x14
mov eax, dword [edx + 4]
mov dword [esp + eax + 0xc8], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
call fcn.004584a0
push 1
lea ecx, [esp + 0xa0]
mov byte [esp + 0x1a0], 0x10
call fcn.00402fc0
push 1
lea ecx, [esp + 0x90]
call fcn.00402fc0
push 1
lea ecx, [esp + 0x80]
call fcn.00402fc0
push 1
lea ecx, [esp + 0x6c]
call fcn.00402fc0
lea ecx, [esp + 0x158]
mov byte [esp + 0x19c], 0xe
call fcn.004c4610
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x1a0], 5
call fcn.00402fc0
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x1a0], 1
call fcn.00402fc0
jmp 0x467ffc
push str..myhexin.com
lea ecx, [esp + 0x58]
push edi
push ecx
call fcn.00425540
mov eax, dword [eax + 4]
add esp, 0xc
cmp eax, esi
jne 0x467dc7
mov eax, 0x53487c
push eax
call sub.WSOCK32.dll_gethostbyname
mov edi, eax
mov eax, dword [esp + 0x58]
cmp eax, esi
je 0x467df4
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x467deb
cmp al, 0xff
je 0x467deb
dec al
mov byte [ecx], al
jmp 0x467df4
push ecx
call fcn.005096eb
add esp, 4
cmp edi, esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
je 0x467e35
lea esi, [ebp + 0x153c]
xor edx, edx
mov eax, esi
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx]
mov cx, word [ebp + 0x15e4]
push ecx
mov eax, dword [edx]
mov word [esi], 2
mov dword [ebp + 0x1540], eax
jmp 0x467e72
call fcn.004a8f8a
and eax, reloc.WSOCK32.dll_accept
jns 0x467e46
dec eax
or eax, 0xfffffffe
inc eax
je 0x467e4f
push str.210.51.244.168
jmp 0x467e54
push str.220.189.211.8
call sub.WSOCK32.dll_inet_addr
mov dx, word [ebp + 0x15e4]
lea esi, [ebp + 0x153c]
mov dword [ebp + 0x1540], eax
push edx
mov word [esi], 2
call sub.WSOCK32.dll_htons
mov word [ebp + 0x153e], ax
mov eax, dword [ebp + 0x4c]
xor edi, edi
cmp eax, edi
je 0x467e8f
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x50]
push edi
push 0x3f
push 1
push edi
mov ecx, ebp
call fcn.0051bba1
mov al, byte [ebp + 0x154c]
test al, al
je 0x467ed2
lea ecx, [ebp + 0x1584]
lea edx, [ebp + 0x1574]
push ecx
mov ecx, dword [ebp + 0x1560]
lea eax, [ebp + 0x1550]
push edx
push eax
lea edx, [ebp + 0x1564]
push ecx
push edx
mov ecx, ebp
call fcn.004ca290
jmp 0x467ed9
mov ecx, ebp
call fcn.004ca280
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x40]
push 4
push eax
push 0x1006
push 0xffff
push ecx
mov dword [esp + 0x54], ebx
call sub.WSOCK32.dll_setsockopt
mov eax, dword [ebp + 4]
lea edx, [esp + 0x40]
push 4
push edx
push 0x1005
push 0xffff
push eax
call sub.WSOCK32.dll_setsockopt
mov edx, dword [ebp]
push 0x10
push esi
mov ecx, ebp
call dword [edx + 0x40]
push 1
lea ecx, [esp + 0xa0]
mov dword [ebp + 0x4c], 1
mov byte [esp + 0x1a0], 0x10
call fcn.00402fc0
push 1
lea ecx, [esp + 0x90]
call fcn.00402fc0
push 1
lea ecx, [esp + 0x80]
call fcn.00402fc0
mov eax, dword [esp + 0x6c]
cmp eax, edi
je 0x467f7a
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x467f71
cmp al, 0xff
je 0x467f71
dec al
mov byte [ecx], al
jmp 0x467f7a
push ecx
call fcn.005096eb
add esp, 4
lea ecx, [esp + 0x158]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov byte [esp + 0x19c], 0xe
call fcn.004c4610
mov eax, dword [esp + 0x48]
cmp eax, edi
je 0x467fbf
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x467fb6
cmp al, 0xff
je 0x467fb6
dec al
mov byte [ecx], al
jmp 0x467fbf
push ecx
call fcn.005096eb
add esp, 4
mov eax, dword [esp + 0x30]
mov dword [esp + 0x48], edi
cmp eax, edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
je 0x467ff0
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x467fe7
cmp al, 0xff
je 0x467fe7
dec al
mov byte [ecx], al
jmp 0x467ff0
push ecx
call fcn.005096eb
add esp, 4
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
lea ecx, [esp + 0xac]
mov dword [esp + 0x19c], 0xffffffff
call fcn.004c4610
xor eax, eax
mov ecx, dword [esp + 0x194]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x190
ret 4