Function at 0x4259a0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5b95
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x55a3d0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
xor eax, eax
mov edi, edx
mov dword [ebp - 0x50], eax
push edi
lea esi, [ebp - 0x4c]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x58], eax
call fcn.00425c60
mov ebx, eax
push edi
lea esi, [ebp - 0x30]
mov dword [ebp - 4], 1
call fcn.00425c30
mov ecx, 0x10
mov byte [ebp - 4], 2
cmp dword [ebx + 0x14], ecx
jb 0x425a09
mov ebx, dword [ebx]
cmp dword [eax + 0x14], ecx
jb 0x425a12
mov esi, dword [eax]
jmp 0x425a14
mov esi, eax
test esi, esi
je 0x425a1d
cmp byte [esi], 0
jne 0x425a1f
xor esi, esi
test ebx, ebx
je 0x425a28
cmp byte [ebx], 0
jne 0x425a2a
xor ebx, ebx
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
lea edx, [ebp - 0x58]
push edx
push edi
push ebx
push esi
call dword [sym.imp.WS2_32.dll_getaddrinfo]
lea esi, [ebp - 0x64]
call fcn.00428b00
cmp dword [ebp - 0x1c], 0x10
mov ecx, dword [eax]
mov ebx, dword [ebp - 0x54]
mov dword [ebx], ecx
mov edx, dword [eax + 4]
mov dword [ebx + 4], edx
jb 0x425a66
mov eax, dword [ebp - 0x30]
push eax
call fcn.004b5907
add esp, 4
xor esi, esi
cmp dword [ebp - 0x38], 0x10
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x30], 0
jb 0x425a88
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004b5907
add esp, 4
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x54], edx
mov dword [ebp - 4], 3
cmp dword [ebx], esi
je 0x425ab0
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], esi
lea edi, [ebp - 0x68]
mov byte [ebp - 4], 4
mov ebx, 1
jmp 0x425afd
push edi
lea esi, [ebp - 0x4c]
call fcn.00425c60
mov ebx, eax
mov dword [ebp - 4], 5
push edi
lea esi, [ebp - 0x30]
mov dword [ebp - 0x50], 2
call fcn.00425c30
mov ecx, 6
mov dword [ebp - 4], ecx
push eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x50], ecx
push eax
mov ecx, ebx
lea edx, [ebp - 0x74]
call fcn.00425c90
add esp, 8
mov edi, eax
mov dword [ebp - 4], 7
mov ebx, 0xe
mov esi, dword [ebp - 0x5c]
mov dword [esi], 0
mov dword [esi + 4], 0
mov ecx, dword [edi]
mov eax, dword [edi + 4]
push ecx
push esi
mov dword [ebp - 0x50], ebx
call fcn.004264f0
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
or ebx, 0x10
mov dword [ebp - 4], 6
test bl, 8
je 0x425b67
mov edi, dword [ebp - 0x70]
and ebx, 0xfffffff7
mov dword [ebp - 0x50], ebx
test edi, edi
je 0x425b67
lea eax, [edi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x425b67
mov edx, dword [edi]
mov eax, dword [edx]
mov ecx, edi
call eax
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x425b67
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
test bl, 4
je 0x425b93
and ebx, 0xfffffffb
cmp dword [ebp - 0x1c], 0x10
jb 0x425b81
mov eax, dword [ebp - 0x30]
push eax
call fcn.004b5907
add esp, 4
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
test bl, 2
je 0x425bbf
and ebx, 0xfffffffd
cmp dword [ebp - 0x38], 0x10
jb 0x425bad
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004b5907
add esp, 4
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x4c], 0
mov dword [ebp - 4], 3
test bl, 1
je 0x425c01
mov edi, dword [ebp - 0x64]
and ebx, 0xfffffffe
mov dword [ebp - 0x50], ebx
test edi, edi
je 0x425c01
lea edx, [edi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x425c01
mov edx, dword [edi]
mov eax, dword [edx]
mov ecx, edi
call eax
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x425c01
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x425c0f
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b58f8
mov esp, ebp
pop ebp
ret 4