Function at 0x45ed00
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51ae95
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4d4
push ebx
push esi
push edi
push 0x400
lea eax, [ebp - 0x4dc]
xor ebx, ebx
push eax
mov dword [ebp - 0x14], ebx
call dword [sym.imp.WS2_32.dll_gethostname]
cmp eax, 0xffffffff
jne 0x45ed77
mov esi, dword [ebp + 8]
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
push ebx
mov eax, 0x528928
mov word [esi], cx
call fcn.00412b10
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x4dc]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, ebx
jne 0x45effb
xor eax, eax
mov word [ebp - 0x68], ax
mov edi, 7
push ebx
mov eax, 0x528928
lea esi, [ebp - 0x68]
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x58], ebx
call fcn.00412b10
mov dword [ebp - 4], 1
xor ecx, ecx
push ebx
mov eax, 0x528928
lea esi, [ebp - 0x4c]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], cx
call fcn.00412b10
mov byte [ebp - 4], 2
xor edx, edx
push ebx
mov eax, 0x528928
lea esi, [ebp - 0x84]
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x74], ebx
mov word [ebp - 0x84], dx
call fcn.00412b10
mov byte [ebp - 4], 3
xor eax, eax
mov word [ebp - 0xa0], ax
push ebx
mov eax, 0x528928
lea esi, [ebp - 0xa0]
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x90], ebx
call fcn.00412b10
mov byte [ebp - 4], 4
xor ecx, ecx
push 0xd
mov eax, str.gethostbyname
lea esi, [ebp - 0xbc]
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0xac], ebx
mov word [ebp - 0xbc], cx
call fcn.00412b10
mov byte [ebp - 4], 5
lea edx, [ebp - 0x4dc]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.004efe70
mov esi, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xd8]
push str.NetUtil::GetLocalTCPAdress
push ecx
mov ecx, 0x169
call fcn.00451470
mov byte [ebp - 4], 7
lea edx, [ebp - 0x68]
push edx
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x84]
push edx
lea ecx, [ebp - 0xa0]
push ecx
push eax
mov edx, esi
lea ecx, [ebp - 0xbc]
call fcn.0044fca0
add esp, 0x24
mov byte [ebp - 4], 6
mov esi, 8
cmp dword [ebp - 0xc4], esi
jb 0x45eec1
mov edx, dword [ebp - 0xd8]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0xc8], ebx
mov word [ebp - 0xd8], ax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x1c], esi
jb 0x45eeec
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edx, edx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], dx
mov byte [ebp - 4], 4
cmp dword [ebp - 0xa8], esi
jb 0x45ef14
mov eax, dword [ebp - 0xbc]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0xac], ebx
mov word [ebp - 0xbc], cx
mov byte [ebp - 4], 3
cmp dword [ebp - 0x8c], esi
jb 0x45ef45
mov edx, dword [ebp - 0xa0]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x90], ebx
mov word [ebp - 0xa0], ax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x70], esi
jb 0x45ef73
mov ecx, dword [ebp - 0x84]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edx, edx
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x74], ebx
mov word [ebp - 0x84], dx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x38], esi
jb 0x45ef98
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], cx
mov byte [ebp - 4], bl
cmp dword [ebp - 0x54], esi
jb 0x45efb9
mov edx, dword [ebp - 0x68]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, dword [ebp + 8]
xor eax, eax
mov word [ebp - 0x68], ax
xor ecx, ecx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
push ebx
mov eax, 0x528928
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x58], ebx
mov word [esi], cx
call fcn.00412b10
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x4dc]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.004efe70
mov esi, 8
mov dword [ebp - 4], esi
mov edi, dword [ebp + 8]
push 1
push eax
push edi
call fcn.0045f600
add esp, 0x14
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], bl
cmp dword [ebp - 0x1c], esi
jb 0x45f03e
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
xor edx, edx
mov dword [ebp - 0x20], ebx
pop esi
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], dx
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret