Function at 0x4134a4
Capabilities:
Get hostname
Resolve dns

Disassembly:
mov eax, 0x602436
call fcn.00474a88
sub esp, 0x158
push ebx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [0x796d58]
push esi
push edi
xor ebx, ebx
push 1
cmp ecx, ebx
pop esi
je 0x4134dd
call fcn.0040f876
mov ecx, dword [0x796d58]
cmp ecx, ebx
je 0x4134dd
mov eax, dword [ecx]
push esi
call dword [eax]
push 0x98
call fcn.005dec8c
pop ecx
mov ecx, eax
mov dword [ebp - 0x20], ecx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x4134fb
call fcn.0040e764
jmp 0x4134fd
xor eax, eax
or dword [ebp - 4], 0xffffffff
push ebx
push ecx
mov dword [0x796d58], eax
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Xintiao
call fcn.005e37be
push ecx
mov dword [ebp - 4], esi
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.Settings
call fcn.005e37be
or dword [ebp - 4], 0xffffffff
call fcn.00402f06
mov ecx, eax
add ecx, 0xc0
call fcn.0040e01c
mov ecx, dword [0x796d58]
mov dword [ecx + 8], eax
mov eax, dword [0x7815b4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 3
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
push 0xf
mov esi, 0x738f10
pop ecx
lea edi, [ebp - 0x64]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [ebp - 0x64]
push 0x51
push eax
mov byte [ebp - 4], 5
movsb byte es:[edi], byte [esi]
call fcn.00474f30
pop ecx
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00413305
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.005dbdfb
mov ecx, dword [0x796d0c]
add esp, 0x14
push ebx
push ebx
push dword [ebp - 0x18]
call fcn.0041201b
push dword [ebp + 8]
mov ecx, dword [0x796d58]
push dword [ebp + 0xc]
push 0x41373d
call fcn.0040e8d1
test al, al
je 0x4136ab
mov esi, 0x100
lea eax, [ebp - 0x164]
push esi
push ebx
push eax
call fcn.00473f70
add esp, 0xc
lea eax, [ebp - 0x164]
push esi
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
lea eax, [ebp - 0x164]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
cmp esi, ebx
je 0x41365d
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [ebp - 0x10]
call fcn.005e3b2c
mov eax, dword [esi + 0xc]
movsx ecx, word [esi + 0xa]
mov eax, dword [eax]
add eax, ecx
cmp eax, dword [esi]
jae 0x41366a
xor edi, edi
push 0x738f0c
lea ecx, [ebp - 0x10]
call fcn.005e3b2c
mov eax, dword [esi + 0xc]
add edi, 4
mov eax, dword [edi + eax]
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [ebp - 0x10]
call fcn.005e3b2c
mov eax, dword [esi + 0xc]
movsx ecx, word [esi + 0xa]
mov eax, dword [edi + eax]
add eax, ecx
cmp eax, dword [esi]
jb 0x413624
jmp 0x41366a
push 0x69ccd8
lea ecx, [ebp - 0x10]
call fcn.005e38d9
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push 0x738f04
push eax
call fcn.005dbdfb
mov eax, dword [ebp - 0x1c]
add esp, 0xc
push dword [ebp - 0x18]
lea esi, [eax + 0x114]
mov ecx, esi
push 2
call fcn.00496880
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push 0x738eec
push eax
call fcn.005dbdfb
add esp, 0xc
push 4
jmp 0x4136ec
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push 0x738ed8
push eax
call fcn.005dbdfb
mov eax, dword [ebp - 0x1c]
add esp, 0xc
lea esi, [eax + 0x114]
push 0x738ed0
push 2
mov ecx, esi
call fcn.00496880
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push 0x738eb8
push eax
call fcn.005dbdfb
add esp, 0xc
push 5
mov ecx, dword [0x796d0c]
push ebx
push dword [ebp - 0x14]
call fcn.0041201b
push 0x738eb0
push ebx
mov ecx, esi
call fcn.00496880
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.005e3750
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.005e3750
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.005e3750
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8