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

Disassembly:
mov ecx, dword [0x80b088]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x24]
cmp eax, dword [ecx + 8]
jbe 0x57ca1a
sub esp, 0xa4
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], edx
call sym.vendor_golang.org_x_net_http_httpproxy.parseProxy
mov eax, dword [esp + 0xc]
test eax, eax
je 0x57c357
mov eax, dword [esp + 0xa8]
jmp 0x57c385
mov eax, dword [0x80b220]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x57c36e
mov eax, dword [esp + 0xa8]
jmp 0x57c382
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [esp + 0xa8]
mov edx, dword [eax + 0x20]
mov dword [edi + 4], edx
mov dword [eax + 0x20], ecx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], edx
call sym.vendor_golang.org_x_net_http_httpproxy.parseProxy
mov eax, dword [esp + 0xc]
test eax, eax
je 0x57c3a8
mov eax, dword [esp + 0xa8]
jmp 0x57c3d6
mov eax, dword [0x80b220]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x57c3bf
mov eax, dword [esp + 0xa8]
jmp 0x57c3d3
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [esp + 0xa8]
mov edx, dword [eax + 0x1c]
mov dword [edi + 4], edx
mov dword [eax + 0x1c], ecx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], edx
lea ecx, [0x68a658]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xffffffff
call sym.strings.genSplit
mov eax, dword [esp + 0x18]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x57c42d
mov ebx, dword [esp + 0x3c]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x28]
cmp edx, ecx
jge 0x57c9fd
mov dword [esp + 0x3c], edx
lea ecx, [eax + edx*8]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp], ebx
mov dword [esp + 4], ecx
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 + 0xc]
test eax, eax
jne 0x57c478
mov eax, dword [esp + 0xa8]
lea esi, [0x68c440]
jmp 0x57c41e
mov ecx, dword [esp + 8]
cmp eax, 1
jne 0x57c48a
cmp byte [ecx], 0x2a
je 0x57c952
mov dword [esp + 0x38], eax
mov dword [esp + 0x70], ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.net.ParseCIDR
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
test eax, eax
jne 0x57c553
mov eax, dword [esp + 0xa8]
mov edx, dword [eax + 0x2c]
mov ebx, dword [eax + 0x28]
inc ebx
mov ebp, dword [eax + 0x24]
cmp edx, ebx
jae 0x57c523
mov dword [esp + 0x68], ecx
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x6094e0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0xa8]
mov dword [ebx + 0x2c], eax
mov eax, dword [0x80b220]
test eax, eax
je 0x57c516
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [ebx + 0x24]
mov dword [edi + 4], eax
mov dword [ebx + 0x24], ecx
mov eax, ebx
mov ebx, edx
mov ebp, ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x28], ebx
lea edx, [ebp + ebx*8 - 8]
lea esi, [0x68c440]
mov dword [edx], esi
mov edx, dword [0x80b220]
lea ebx, [ebp + ebx*8 - 4]
test edx, edx
je 0x57c54c
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov edx, dword [ebx]
mov dword [edi + 4], edx
mov dword [ebx], ecx
jmp 0x57c41e
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
call sym.net.SplitHostPort
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x64], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x30], edx
test eax, eax
jne 0x57c5c9
mov ebx, dword [esp + 0xc]
test ebx, ebx
jne 0x57c599
mov eax, dword [esp + 0xa8]
lea esi, [0x68c440]
jmp 0x57c41e
mov ebp, dword [esp + 8]
cmp byte [ebp], 0x5b
jne 0x57c5d1
lea esi, [ebx + ebp - 1]
cmp byte [esi], 0x5d
jne 0x57c5d1
lea esi, [ebx - 1]
cmp esi, 1
jb 0x57ca0d
add ebx, 0xfffffffe
mov eax, ebx
neg eax
sar eax, 0x1f
and eax, 1
add ebp, eax
jmp 0x57c5d1
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x6c], ebp
lea eax, [0x5fe060]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 4], edx
call sym.net.parseIP
movzx eax, byte [esp + 0x18]
lea edi, [esp + 0x40]
lea esi, [esp + 8]
call fcn.004678c8
lea edi, [esp + 0x50]
lea esi, [esp + 0x40]
call fcn.004678c8
mov edi, dword [esp + 0x78]
lea esi, [esp + 0x50]
call fcn.004678c8
test al, al
je 0x57c63e
mov eax, dword [esp + 0x78]
mov ecx, 0x10
jmp 0x57c642
xor eax, eax
xor ecx, ecx
test eax, eax
jne 0x57c840
mov edx, dword [esp + 0x34]
test edx, edx
jne 0x57c664
mov eax, dword [esp + 0xa8]
lea esi, [0x68c440]
jmp 0x57c41e
cmp edx, 2
jge 0x57c66d
xor eax, eax
jmp 0x57c694
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
lea ecx, [0x63da02]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0x34]
test al, al
je 0x57c6ae
lea ebx, [edx - 1]
mov edx, ebx
neg edx
sar edx, 0x1f
and edx, 1
mov esi, dword [esp + 0x6c]
lea ebp, [esi + edx]
jmp 0x57c6b4
mov ebx, edx
mov ebp, dword [esp + 0x6c]
test ebx, ebx
jbe 0x57ca04
movzx eax, byte [ebp]
mov byte [esp + 0x27], al
cmp al, 0x2e
je 0x57c6f7
mov dword [esp], 0
lea eax, [0x68a624]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call sym.runtime.concatstring2
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x34], ebx
mov dword [esp], ebp
mov dword [esp + 4], ebx
call sym.vendor_golang.org_x_net_http_httpproxy.idnaASCII
mov eax, dword [esp + 0x10]
test eax, eax
je 0x57c725
movzx ecx, byte [esp + 0x27]
cmp cl, 0x2e
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x6c]
jmp 0x57c735
mov ebp, dword [esp + 8]
mov ebx, dword [esp + 0xc]
movzx ecx, byte [esp + 0x27]
cmp cl, 0x2e
setne cl
mov byte [esp + 0x26], cl
lea edi, [esp + 0x7c]
xor eax, eax
call fcn.004673db
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], ebx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x88], ecx
movzx ecx, byte [esp + 0x26]
mov byte [esp + 0x8c], cl
lea ecx, [0x622440]
mov dword [esp], ecx
lea edx, [esp + 0x7c]
mov dword [esp + 4], edx
call sym.runtime.convT
mov ecx, dword [esp + 0xa8]
mov edx, dword [ecx + 0x38]
mov ebx, dword [ecx + 0x34]
inc ebx
mov ebp, dword [ecx + 0x30]
mov esi, dword [esp + 8]
cmp edx, ebx
jae 0x57c808
mov dword [esp + 0x74], esi
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x6094e0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0xa8]
mov dword [ebx + 0x38], eax
mov eax, dword [0x80b220]
test eax, eax
je 0x57c7f6
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [ebx + 0x30]
mov dword [edi + 4], eax
mov dword [ebx + 0x30], ecx
mov esi, dword [esp + 0x74]
mov ebx, edx
mov ebp, ecx
mov ecx, dword [esp + 0xa8]
mov dword [ecx + 0x34], ebx
lea eax, [ebp + ebx*8 - 8]
lea edx, [0x68c468]
mov dword [eax], edx
mov eax, dword [0x80b220]
lea ebx, [ebp + ebx*8 - 4]
test eax, eax
je 0x57c831
call sym.runtime.gcWriteBarrier2
mov dword [edi], esi
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], esi
mov eax, ecx
lea esi, [0x68c440]
jmp 0x57c41e
mov dword [esp + 0x2c], ecx
lea edi, [esp + 0x90]
mov edx, eax
xor eax, eax
call fcn.004673db
mov dword [esp + 0x90], edx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xa0], ecx
lea ecx, [0x61e380]
mov dword [esp], ecx
lea edx, [esp + 0x90]
mov dword [esp + 4], edx
call sym.runtime.convT
mov ecx, dword [esp + 0xa8]
mov edx, dword [ecx + 0x2c]
mov ebx, dword [ecx + 0x28]
inc ebx
mov ebp, dword [ecx + 0x24]
mov esi, dword [esp + 8]
cmp edx, ebx
jae 0x57c91a
mov dword [esp + 0x74], esi
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x6094e0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0xa8]
mov dword [ebx + 0x2c], eax
mov eax, dword [0x80b220]
test eax, eax
je 0x57c908
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [ebx + 0x24]
mov dword [edi + 4], eax
mov dword [ebx + 0x24], ecx
mov esi, dword [esp + 0x74]
mov ebx, edx
mov ebp, ecx
mov ecx, dword [esp + 0xa8]
mov dword [ecx + 0x28], ebx
lea eax, [ebp + ebx*8 - 8]
lea edx, [0x68c454]
mov dword [eax], edx
mov eax, dword [0x80b220]
lea ebx, [ebp + ebx*8 - 4]
test eax, eax
je 0x57c943
call sym.runtime.gcWriteBarrier2
mov dword [edi], esi
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], esi
mov eax, ecx
lea esi, [0x68c440]
jmp 0x57c41e
lea eax, [0x600f00]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [0x68c42c]
mov dword [eax], ecx
lea edx, [0x80af20]
mov dword [eax + 4], edx
mov ebx, dword [esp + 0xa8]
mov dword [ebx + 0x28], 1
mov dword [ebx + 0x2c], 1
mov ebp, dword [0x80b220]
test ebp, ebp
je 0x57c9a1
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ebp, dword [ebx + 0x24]
mov dword [edi + 4], ebp
mov dword [ebx + 0x24], eax
lea eax, [0x600f00]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [0x68c42c]
mov dword [eax], ecx
lea ecx, [0x80af20]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0xa8]
mov dword [ecx + 0x34], 1
mov dword [ecx + 0x38], 1
mov edx, dword [0x80b220]
test edx, edx
je 0x57c9f3
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov edx, dword [ecx + 0x30]
mov dword [edi + 4], edx
mov dword [ecx + 0x30], eax
add esp, 0xa4
ret
add esp, 0xa4
ret
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
mov eax, 1
xor ecx, ecx
call sym.runtime.panicSliceB
nop
call sym.runtime.morestack_noctxt
jmp sym.vendor_golang.org_x_net_http_httpproxy._config_.init