Function at 0x574860
Capabilities:
Resolve dns
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x7c
mov eax, dword [0x81f390]
xor eax, esp
mov dword [esp + 0x78], eax
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x88]
push 0x3a
lea eax, [esi + 0x1c]
mov dword [esi + 4], 0
push 0
push eax
mov dword [esi + 0x18], 0
call fcn.006f87a0
add esp, 0xc
test edi, edi
jne 0x5748b7
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
call eax
pop edi
pop esi
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.006f7ca4
add esp, 0x7c
ret 4
push ebx
push 0x78045c
push edi
call fcn.006f8b20
add esp, 8
test eax, eax
je 0x57497e
push 0x40
lea eax, [esp + 0x48]
push 0
push eax
call fcn.006f87a0
push edi
push 0x7801e4
lea eax, [esp + 0x58]
push 0x40
push eax
call fcn.006c46b0
lea eax, [esp + 0x60]
mov byte [esp + 0x9f], 0
push 0x7834cc
push eax
call fcn.006f8b20
add esp, 0x24
test eax, eax
je 0x57490f
mov byte [eax], 0
lea eax, [esp + 0x2c]
mov dword [esp + 0x3c], 0
push eax
lea eax, [esp + 0x48]
xorps xmm0, xmm0
push eax
push 0x17
movdqu xmmword [esp + 0x30], xmm0
movq qword [esp + 0x40], xmm0
call fcn.005753d0
add esp, 0xc
cmp eax, 1
jne 0x574ac0
mov eax, 0x17
push 0x7834cc
push edi
mov word [esp + 0x2c], ax
call fcn.006f8b20
add esp, 8
test eax, eax
je 0x57496d
inc eax
push eax
call fcn.00574fc0
add esp, 4
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x24]
mov ecx, esi
push eax
call fcn.00574bf0
jmp 0x574ac0
lea eax, [esp + 0x20]
mov dword [esp + 0x18], 0
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x20], 0
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x20], 0
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x30], 0
push eax
push str._u._u._u._u._u
push edi
call fcn.00701275
add esp, 0x1c
cmp eax, 4
jne 0x574a34
mov eax, dword [esp + 0x18]
cmp eax, 0x100
jae 0x574ac0
mov ecx, dword [esp + 0x1c]
cmp ecx, 0x100
jae 0x574ac0
mov edx, dword [esp + 0x10]
cmp edx, 0x100
jae 0x574ac0
mov ebx, dword [esp + 0x14]
cmp ebx, 0x100
jae 0x574ac0
mov byte [esp + 0xc], al
lea eax, [esp + 0xc]
push 4
mov byte [esp + 0x11], cl
mov ecx, esi
push eax
mov byte [esp + 0x16], dl
mov byte [esp + 0x17], bl
call fcn.00574d30
jmp 0x574ac0
cmp byte [edi], 0
je 0x574adb
lea eax, [esp + 0xc]
mov dword [esp + 0x24], 0
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x44], 0
push eax
xorps xmm0, xmm0
mov dword [esp + 0x14], 0
push 0
movdqu xmmword [esp + 0x34], xmm0
push edi
movq qword [esp + 0x48], xmm0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 1
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x574ac0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x18]
movzx eax, word [ecx]
sub eax, 2
je 0x574aa9
sub eax, 0x15
jne 0x574ab6
push ecx
mov ecx, esi
call fcn.00574bf0
jmp 0x574ab6
lea eax, [ecx + 4]
mov ecx, esi
push 4
push eax
call fcn.00574d30
push dword [esp + 0xc]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp byte [edi], 0
je 0x574adb
mov ecx, edi
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x574ad0
sub ecx, edx
jmp 0x574add
xor ecx, ecx
push ecx
push edi
lea ecx, [esi + 0x58]
call fcn.00409620
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
call eax
mov ecx, dword [esp + 0x84]
pop ebx
pop edi
pop esi
xor ecx, esp
call fcn.006f7ca4
add esp, 0x7c
ret 4