Function at 0x42b5f0
Capabilities:
Resolve dns

Disassembly:
mov eax, 0x301c
call fcn.00457d20
mov eax, dword [esp + 0x3034]
push ebx
push ebp
push esi
test eax, eax
push edi
mov esi, ecx
je 0x42b6be
mov eax, dword [esi + 4]
mov word [esp + 0x10], 2
mov ecx, dword [eax + 0x410c]
test ecx, ecx
je 0x42b62b
mov eax, dword [eax + 0x4910]
jmp 0x42b631
mov eax, dword [eax + 0x792c]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x12], ax
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x410c]
test ecx, ecx
je 0x42b651
add eax, 0x4110
jmp 0x42b656
add eax, 0x512c
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
jne 0x42b699
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x410c]
test ecx, ecx
je 0x42b67a
add eax, 0x4110
jmp 0x42b67f
add eax, 0x512c
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x42b952
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x3030]
lea eax, [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.0041c910
test eax, eax
jne 0x42b6be
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x301c
ret 0x18
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x410c]
test eax, eax
je 0x42b6d3
mov eax, dword [edx + 0x4914]
jmp 0x42b6d9
mov eax, dword [edx + 0x7940]
test eax, eax
je 0x42b8de
mov bl, byte [0x493b50]
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x2029]
mov byte [esp + 0x2028], bl
mov byte [esp + 0x1024], bl
rep stosd dword es:[edi], eax
mov ecx, 0x400
lea edi, [esp + 0x1025]
rep stosd dword es:[edi], eax
mov eax, dword [edx + 0x410c]
lea ecx, [edx + 0x4d18]
test eax, eax
jne 0x42b729
lea ecx, [edx + 0x8d54]
test eax, eax
lea eax, [edx + 0x4918]
jne 0x42b739
lea eax, [edx + 0x7954]
push ecx
push eax
lea edx, [esp + 0x102c]
push str._s:_s
push edx
call fcn.00457c43
lea edi, [esp + 0x1034]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x1034]
push ecx
lea ecx, [esp + 0x203c]
push eax
push ecx
call fcn.00412b10
lea edx, [esp + 0x2044]
lea eax, [esp + 0x1040]
push edx
push str.Proxy_Authorization:_Basic__s_r_n
push eax
call fcn.00457c43
mov cl, byte [0x493b50]
xor eax, eax
mov byte [esp + 0x48], cl
mov ecx, 0x400
lea edi, [esp + 0x49]
add esp, 0x28
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x3038]
cmp eax, 0x50
jne 0x42b7d0
mov edx, dword [esp + 0x3034]
lea eax, [esp + 0x20]
push edx
push str.http:___s
push eax
call fcn.00457c43
add esp, 0xc
jmp 0x42b7eb
mov ecx, dword [esp + 0x3034]
push eax
push ecx
lea edx, [esp + 0x28]
push str.http:___s:_d
push edx
call fcn.00457c43
add esp, 0x10
mov ebp, dword [esp + 0x303c]
push 0x48d240
push ebp
call fcn.00457ca0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x42b952
add ebx, 2
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
lea edi, [esp + 0x24]
or ecx, 0xffffffff
push ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x102c]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
mov eax, ebx
dec ecx
add eax, edx
add ecx, eax
push ecx
call fcn.00457d50
lea edi, [esp + 0x1030]
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x1030]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x2c]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0x48d1cc
mov edi, ecx
mov ecx, edx
mov eax, ecx
add edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00457ca0
mov ebp, eax
add esp, 0x14
test ebp, ebp
jne 0x42b89e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x301c
ret 0x18
inc ebp
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
sub ebx, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ebx
add ecx, ebp
push ebp
push ecx
call fcn.00457d50
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea esi, [esp + 0x20]
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
jmp 0x42b9a3
mov al, byte [0x493b50]
mov ecx, 0x400
mov byte [esp + 0x20], al
xor eax, eax
lea edi, [esp + 0x21]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x3038]
cmp eax, 0x50
jne 0x42b91c
mov ecx, dword [esp + 0x3034]
lea edx, [esp + 0x20]
push ecx
push str.http:___s
push edx
call fcn.00457c43
add esp, 0xc
jmp 0x42b937
push eax
mov eax, dword [esp + 0x3038]
push eax
lea ecx, [esp + 0x28]
push str.http:___s:_d
push ecx
call fcn.00457c43
add esp, 0x10
mov edx, dword [esp + 0x303c]
push 0x48d1cc
push edx
call fcn.00457ca0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x42b961
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x301c
ret 0x18
inc ebx
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
lea edi, [esp + 0x24]
or ecx, 0xffffffff
push ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, ebx
push ecx
call fcn.00457d50
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea esi, [esp + 0x20]
mov eax, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
xor eax, eax
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x303c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x3040]
pop edi
not ecx
dec ecx
pop esi
pop ebp
mov dword [edx], ecx
mov eax, 1
pop ebx
add esp, 0x301c
ret 0x18