Function at 0x42bd30
Capabilities:
Resolve dns

Disassembly:
mov eax, 0x301c
call fcn.00458680
mov eax, dword [esp + 0x3034]
push ebx
push ebp
push esi
test eax, eax
push edi
mov esi, ecx
je 0x42bdfe
mov eax, dword [esi + 4]
mov word [esp + 0x10], 2
mov ecx, dword [eax + 0x410c]
test ecx, ecx
je 0x42bd6b
mov eax, dword [eax + 0x4910]
jmp 0x42bd71
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 0x42bd91
add eax, 0x4110
jmp 0x42bd96
add eax, 0x512c
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
jne 0x42bdd9
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x410c]
test ecx, ecx
je 0x42bdba
add eax, 0x4110
jmp 0x42bdbf
add eax, 0x512c
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x42c092
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.0041cde0
test eax, eax
jne 0x42bdfe
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 0x42be13
mov eax, dword [edx + 0x4914]
jmp 0x42be19
mov eax, dword [edx + 0x7940]
test eax, eax
je 0x42c01e
mov bl, byte [0x494b70]
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 0x42be69
lea ecx, [edx + 0x8d54]
test eax, eax
lea eax, [edx + 0x4918]
jne 0x42be79
lea eax, [edx + 0x7954]
push ecx
push eax
lea edx, [esp + 0x102c]
push str._s:_s
push edx
call fcn.004585a3
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.00412f30
lea edx, [esp + 0x2044]
lea eax, [esp + 0x1040]
push edx
push str.Proxy_Authorization:_Basic__s_r_n
push eax
call fcn.004585a3
mov cl, byte [0x494b70]
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 0x42bf10
mov edx, dword [esp + 0x3034]
lea eax, [esp + 0x20]
push edx
push str.http:___s
push eax
call fcn.004585a3
add esp, 0xc
jmp 0x42bf2b
mov ecx, dword [esp + 0x3034]
push eax
push ecx
lea edx, [esp + 0x28]
push str.http:___s:_d
push edx
call fcn.004585a3
add esp, 0x10
mov ebp, dword [esp + 0x303c]
push 0x48e240
push ebp
call fcn.00458600
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x42c092
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.004586b0
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 0x48e1cc
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.00458600
mov ebp, eax
add esp, 0x14
test ebp, ebp
jne 0x42bfde
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.004586b0
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 0x42c0e3
mov al, byte [0x494b70]
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 0x42c05c
mov ecx, dword [esp + 0x3034]
lea edx, [esp + 0x20]
push ecx
push str.http:___s
push edx
call fcn.004585a3
add esp, 0xc
jmp 0x42c077
push eax
mov eax, dword [esp + 0x3038]
push eax
lea ecx, [esp + 0x28]
push str.http:___s:_d
push ecx
call fcn.004585a3
add esp, 0x10
mov edx, dword [esp + 0x303c]
push 0x48e1cc
push edx
call fcn.00458600
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x42c0a1
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.004586b0
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