Function at 0x57c050
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x80b088]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x57c301
sub esp, 0x74
mov eax, dword [esp + 0x80]
test eax, eax
je 0x57c1e9
mov ecx, dword [esp + 0x7c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.net.SplitHostPort
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x57c1dd
mov dword [esp + 0x60], ecx
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], eax
mov ebx, dword [esp + 8]
mov dword [esp + 0x64], ebx
cmp eax, 9
jne 0x57c0de
mov dword [esp], ebx
lea eax, [0x63f304]
mov dword [esp + 4], eax
mov dword [esp + 8], 9
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
jne 0x57c1d1
lea eax, [0x5fe060]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 4], edx
call sym.net.parseIP
movzx eax, byte [esp + 0x18]
lea edi, [esp + 0x4c]
lea esi, [esp + 8]
call fcn.004678c8
lea edi, [esp + 0x3c]
lea esi, [esp + 0x4c]
call fcn.004678c8
mov edi, dword [esp + 0x70]
lea esi, [esp + 0x3c]
call fcn.004678c8
test al, al
je 0x57c143
mov eax, dword [esp + 0x70]
mov ecx, 0x10
jmp 0x57c147
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x5c], eax
test eax, eax
je 0x57c16c
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call sym.net.IP.IsLoopback
movzx eax, byte [esp + 0xc]
test al, al
jne 0x57c1c5
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call sym.strings.TrimSpace
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.strings.ToLower
mov eax, dword [esp + 8]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x5c]
test edx, edx
je 0x57c1f5
mov ebx, dword [esp + 0x78]
mov ebp, dword [ebx + 0x24]
mov dword [esp + 0x68], ebp
mov esi, dword [ebx + 0x28]
mov dword [esp + 0x34], esi
xor edi, edi
jmp 0x57c2a7
mov byte [esp + 0x84], 0
add esp, 0x74
ret
mov byte [esp + 0x84], 0
add esp, 0x74
ret
mov byte [esp + 0x84], 0
add esp, 0x74
ret
mov byte [esp + 0x84], 1
add esp, 0x74
ret
mov ebx, dword [esp + 0x78]
mov ebp, dword [ebx + 0x30]
mov dword [esp + 0x68], ebp
mov ebx, dword [ebx + 0x34]
mov dword [esp + 0x34], ebx
xor esi, esi
jmp 0x57c226
mov edi, dword [esp + 0x30]
lea esi, [edi + 1]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x68]
cmp esi, ebx
jge 0x57c27c
mov dword [esp + 0x30], esi
lea ebx, [ebp + esi*8]
mov edi, dword [ebx]
mov ebx, dword [ebx + 4]
mov edi, dword [edi + 0x10]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
call edi
movzx eax, byte [esp + 0x20]
test al, al
je 0x57c20b
mov byte [esp + 0x84], 0
add esp, 0x74
ret
mov byte [esp + 0x84], 1
add esp, 0x74
ret
mov eax, dword [esp + 0x30]
lea edi, [eax + 1]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0x34]
cmp edi, esi
jge 0x57c1f5
mov dword [esp + 0x30], edi
lea ebx, [ebp + edi*8]
mov esi, dword [ebx]
mov ebx, dword [ebx + 4]
mov esi, dword [esi + 0x10]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
call esi
movzx eax, byte [esp + 0x20]
test al, al
je 0x57c288
mov byte [esp + 0x84], 0
add esp, 0x74
ret
call sym.runtime.morestack_noctxt
jmp sym.vendor_golang.org_x_net_http_httpproxy._config_.useProxy