Function at 0xe9b480
Capabilities:
Get hostname
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0xf10b8c
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0xf387a0]
xor eax, esp
mov dword [esp + 0x188], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0xf387a0]
xor eax, esp
push eax
lea eax, [esp + 0x1a4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1b4]
mov edi, ecx
mov esi, dword [edi + 0x10]
cmp dword [edi + 0xc], esi
jbe 0xe9b4d1
call fcn.00ebb554
mov ebx, dword [edi + 0xc]
mov eax, dword [edi]
mov dword [esp + 0x38], eax
cmp ebx, dword [edi + 0x10]
jbe 0xe9b4e4
call fcn.00ebb554
mov ecx, dword [esp + 0x38]
mov eax, dword [edi]
push esi
push ecx
push ebx
push eax
lea edx, [esp + 0x48]
push edx
call fcn.00e995b0
push ebp
lea eax, [esp + 0x80]
push eax
call fcn.00ea28c0
xor ebx, ebx
mov dword [esp + 0x1ac], ebx
cmp dword [esp + 0x94], ebx
jne 0xe9b5dd
push 0xff
lea ecx, [esp + 0xa1]
push ebx
push ecx
mov byte [esp + 0xa8], bl
call fcn.00ec1460
add esp, 0xc
push 0x100
lea edx, [esp + 0xa0]
push edx
call dword [sym.imp.WS2_32.dll_gethostname]
cmp eax, ebx
je 0xe9b580
dec dword [0xf3bc40]
cmp dword [esp + 0x98], 8
mov dword [esp + 0x7c], vtable.LString.0
jb 0xe9b578
mov eax, dword [esp + 0x84]
push eax
call fcn.00eb98f8
add esp, 4
or eax, 0xffffffff
jmp 0xe9b71f
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0xa0]
call fcn.00ea2270
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x8c]
mov byte [esp + 0x1b8], 1
call fcn.00e51940
mov byte [esp + 0x1ac], bl
mov esi, 1
sub dword [0xf3bc40], esi
cmp dword [esp + 0x5c], 8
mov dword [esp + 0x40], vtable.LString.0
jb 0xe9b5e2
mov eax, dword [esp + 0x48]
push eax
call fcn.00eb98f8
add esp, 4
jmp 0xe9b5e2
mov esi, 1
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x7c]
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
mov ebp, 2
push ecx
lea esi, [esp + 0x64]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], ebx
call fcn.00ea4950
cmp dword [esp + 0x78], 0x10
mov eax, dword [esp + 0x64]
jae 0xe9b63a
lea eax, [esp + 0x64]
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x1c]
push ecx
push ebx
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [esp + 0x1ac], ebp
cmp eax, ebx
jne 0xe9b6d1
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0xe9b6d1
mov ebp, dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edx, dword [esi + 0x18]
mov eax, dword [edx + 4]
push eax
call ebp
cmp eax, ebx
je 0xe9b6bb
lea ecx, [esp + 0x40]
push ecx
mov ecx, eax
call fcn.00ea2270
lea ebx, [esp + 0x40]
mov byte [esp + 0x1ac], 5
call fcn.00e99450
mov byte [esp + 0x1ac], 2
dec dword [0xf3bc40]
cmp dword [esp + 0x5c], 8
mov dword [esp + 0x40], vtable.LString.0
jb 0xe9b6b9
mov edx, dword [esp + 0x48]
push edx
call fcn.00eb98f8
add esp, 4
xor ebx, ebx
mov esi, dword [esi + 0x1c]
cmp esi, ebx
jne 0xe9b665
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0xe9b6d1
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp dword [esp + 0x78], 0x10
jb 0xe9b6e5
mov eax, dword [esp + 0x64]
push eax
call fcn.00eb98f8
add esp, 4
dec dword [0xf3bc40]
cmp dword [esp + 0x98], 8
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
mov dword [esp + 0x7c], vtable.LString.0
jb 0xe9b71d
mov ecx, dword [esp + 0x84]
push ecx
call fcn.00eb98f8
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x1a4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x188]
xor ecx, esp
call fcn.00eb9637
add esp, 0x19c
ret