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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb0
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor ebx, ebx
mov byte [edi], bl
push esi
call fcn.004aed77
add esp, 4
lea eax, [esi + 0x98]
push 0xc0
push ebx
push eax
call fcn.006fba50
add esp, 0xc
pcmpeqd xmm0, xmm0
movdqu xmmword [esi + 0x88], xmm0
mov al, byte [esi + 0x68a]
mov byte [esi + 0x154], al
mov dword [esp + 0x24], ebx
mov byte [esp + 0x13], bl
mov byte [esp + 0x11], bl
push dword [esi + 0x7c]
call fcn.004b61c4
add esp, 4
mov dword [esp + 0x14], eax
push dword [esi + 0x7c]
call fcn.004b61d6
add esp, 4
mov byte [edi], bl
cmp dword [esi + 0xc64], ebx
je 0x4af791
mov dword [esp + 0x20], eax
push 0x298
push 1
call dword [0x7ec0ec]
add esp, 8
mov ebx, 0x1b
test eax, eax
je 0x4b0a82
mov edi, eax
xor eax, eax
dec eax
mov dword [edi + 0x128], eax
mov dword [edi + 0x12c], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x38], eax
mov dword [edi + 0x278], eax
mov dword [edi + 0x27c], eax
push 1
push edi
call fcn.004bbbc5
add esp, 8
lea ebx, [esp + 0x28]
push ebx
call fcn.004bd0ac
add esp, 4
movups xmm0, xmmword [ebx]
movups xmmword [edi + 0x108], xmm0
movdqu xmm0, xmmword [edi + 0x108]
movdqu xmmword [edi + 0x1f0], xmm0
mov cl, byte [esi + 0x49a]
mov byte [edi + 0xa4], cl
mov byte [edi + 0x84], 4
mov eax, dword [esi + 0x524]
test eax, eax
je 0x4af79d
cmp byte [eax], 0
lea eax, [edi + 0x1c8]
setne byte [edi + 0x1cd]
je 0x4af7aa
cmp cl, 4
setae cl
setb byte [eax]
jmp 0x4af7af
xor edi, edi
mov ebx, 3
jmp case.0x4afc7c.1
lea eax, [edi + 0x1c8]
mov byte [edi + 0x1cd], 0
mov byte [eax], 0
xor ecx, ecx
mov byte [edi + 0x1c9], cl
mov eax, dword [esi + 0x528]
test eax, eax
je 0x4af7d2
cmp byte [eax], 0
je 0x4af7d2
mov al, 1
mov byte [edi + 0x1cd], al
mov byte [edi + 0x1c9], al
cmp dword [esi + 0xd04], 0
setne byte [edi + 0x1ca]
mov al, byte [esi + 0x67e]
mov byte [edi + 0x1cb], al
mov al, byte [esi + 0x3ff]
mov byte [edi + 0x183], al
mov al, byte [esi + 0x3fd]
mov byte [edi + 0x181], al
mov al, byte [esi + 0x3fe]
mov byte [edi + 0x182], al
mov al, byte [esi + 0x3f4]
mov byte [edi + 0x178], al
mov al, byte [esi + 0x467]
mov byte [edi + 0x1c3], al
mov al, byte [esi + 0x465]
mov byte [edi + 0x1c1], al
mov al, byte [esi + 0x466]
mov byte [edi + 0x1c2], al
mov al, byte [esi + 0x45c]
mov byte [edi + 0x1b8], al
mov al, byte [esi + 0x4b8]
mov byte [edi + 0x290], al
mov al, byte [esi + 0x676]
mov byte [edi + 0x292], al
mov byte [edi + 0x28f], 3
lea eax, [edi + 0x208]
push 0
push eax
call fcn.004d6500
add esp, 8
mov eax, dword [esi + 0x4f0]
test eax, eax
je 0x4af89e
push eax
call dword [0x7ec0e8]
add esp, 4
mov dword [edi + 0x26c], eax
test eax, eax
je 0x4afa17
lea eax, [edi + 0x108]
movzx ecx, word [esi + 0x192]
mov word [edi + 0x270], cx
movzx ecx, word [esi + 0x190]
mov word [edi + 0x288], cx
movsd xmm0, qword [esi + 0x1c4]
movsd qword [edi + 0x30], xmm0
movdqu xmm0, xmmword [eax]
movdqu xmmword [edi + 0x118], xmm0
mov al, byte [esi + 0x640]
mov byte [edi + 0x293], al
cmp dword [esi + 0x668], 0
je 0x4af911
mov bl, byte [esi + 0xd11]
mov ecx, esi
call fcn.004aedda
test bl, bl
jne 0x4af918
mov bl, 1
push dword [esi + 0x668]
call fcn.004ce026
add esp, 4
jmp 0x4af91f
mov ecx, esi
call fcn.004aedda
xor ebx, ebx
call fcn.004cdf88
mov edx, eax
mov dword [esi + 0xc40], eax
test eax, eax
je case.0x4afe2e.3157
cmp dword [esi + 0x4ec], 0
mov dword [esp + 4], edx
je 0x4af9aa
xor eax, eax
push 1
push eax
push eax
push dword [esi + 0xc64]
call fcn.004cd9f4
mov edx, dword [esp + 0x14]
add esp, 0x10
test eax, eax
jne 0x4af9aa
push dword [esi + 0xc64]
push dword [esi + 0x4ec]
push str._s:___s
call fcn.004bff99
add esp, 0xc
test eax, eax
je case.0x4afe2e.3157
cmp byte [esi + 0xd1f], 0
je 0x4af999
push dword [esi + 0xc64]
mov dword [esp + 0xc], eax
call dword [0x7ec0e0]
mov eax, dword [esp + 0xc]
add esp, 4
mov dword [esi + 0xc64], eax
mov byte [esi + 0xd1f], 1
mov edx, dword [esp + 4]
test bl, bl
je 0x4afa38
lea ebx, [esi + 0xc44]
push 0
push ebx
push 1
push edx
call fcn.004ce169
add esp, 0x10
cmp eax, 8
ja case.0x4afe2e.3163
jmp dword [eax*4 + 0x7321b4]
mov dword [esp + 8], ebx
lea ebx, [esi + 0xc48]
push 0
push ebx
push 5
push dword [esp + 0x10]
call fcn.004ce169
add esp, 0x10
test eax, eax
je 0x4afafd
mov eax, dword [esp + 8]
push dword [eax]
push 0x795aa0
call fcn.004bdde8
add esp, 8
test eax, eax
je case.0x4afe2e.3157
mov ebx, dword [ebx]
jmp 0x4afb27
push 0
call dword [0x7ec0e0]
add esp, 4
push edi
call dword [0x7ec0e0]
add esp, 4
xor edi, edi
mov ebx, 0x1b
jmp case.0x4afc7c.1
movzx eax, byte [esi + 0x69f]
shl eax, 5
movzx ecx, byte [esi + 0x699]
shl ecx, 4
or ecx, eax
or ecx, 0x208
push ecx
push dword [esi + 0xc64]
push 0
push edx
call fcn.004ce935
add esp, 0x10
test eax, eax
je 0x4afaa1
mov ebx, eax
push eax
call fcn.004d665d
add esp, 4
push eax
push str.URL_rejected:__s
push esi
call fcn.004abf08
add esp, 0xc
mov eax, ebx
add eax, 0xfffffffb
mov ecx, 3
cmp eax, 4
jae case.0x4afac4.1
mov ecx, dword [ebx*4 + 0x7322f8]
mov ebx, ecx
jmp case.0x4afc7c.1
xor eax, eax
push eax
lea ecx, [esp + 0x2c]
push ecx
push eax
push dword [esp + 0x10]
call fcn.004ce169
add esp, 0x10
cmp eax, 8
ja case.default.0x4afac4
mov ecx, 3
jmp dword [eax*4 + 0x732190]
cmp byte [esi + 0xd1f], 0
je 0x4afae3
push dword [esi + 0xc64]
call dword [0x7ec0e0]
add esp, 4
mov eax, dword [esp + 0x28]
mov dword [esi + 0xc64], eax
mov byte [esi + 0xd1f], 1
mov edx, dword [esp + 4]
jmp 0x4af9b2
mov ebx, dword [ebx]
push ebx
call fcn.007149b0
add esp, 4
cmp eax, 0x10000
jb 0x4afb27
push 0xffff
push str.Too_long_host_name__maximum_is__d_
push esi
call fcn.004abf08
add esp, 0xc
jmp case.0x4afe2e.3163
test ebx, ebx
je 0x4afb7c
cmp byte [ebx], 0x5b
jne 0x4afb7e
mov byte [edi + 0x1d3], 1
lea eax, [ebx + 1]
mov dword [esp + 0xc], eax
push eax
call fcn.007149b0
add esp, 4
mov byte [ebx + eax], 0
mov ecx, dword [esp + 4]
mov edx, esi
push edi
call fcn.004b24c2
add esp, 4
mov ebx, dword [esp + 0xc]
jmp 0x4afb7e
mov ecx, 0x1b
jmp case.0x4afac4.1
xor ecx, ecx
inc ecx
jmp case.0x4afac4.1
mov ecx, 0x43
jmp case.0x4afac4.1
xor ebx, ebx
test ebx, ebx
mov eax, 0x79abcb
cmovne eax, ebx
push eax
call dword [0x7ec0e8]
add esp, 4
mov dword [edi + 0x48], eax
test eax, eax
je case.0x4afe2e.3157
lea ecx, [edi + 0x48]
mov dword [edi + 0x50], eax
push ecx
call fcn.004d6a5f
add esp, 4
test eax, eax
je 0x4afbc1
mov ebx, eax
jmp case.0x4afc7c.1
mov ecx, 3
jmp case.0x4afac4.1
cmp dword [esi + 0x6ac], 0
mov ebx, dword [esp + 8]
je 0x4afcf9
push dword [ebx]
push str.http
call fcn.004bdde8
add esp, 8
test eax, eax
je 0x4afcf9
push 1
push dword [edi + 0x50]
push dword [esi + 0x6ac]
call fcn.004b8021
add esp, 0xc
test eax, eax
je 0x4afcf9
push dword [ebx]
call dword [0x7ec0e0]
add esp, 4
xor eax, eax
mov dword [ebx], eax
mov ebx, 3
push eax
push str.https
push 1
push dword [esp + 0x10]
call fcn.004ce935
add esp, 0x10
cmp eax, 8
ja case.0x4afc7c.1
jmp dword [eax*4 + 0x7321d8]
cmp byte [esi + 0xd1f], 0
je 0x4afc5e
push dword [esi + 0xc64]
call dword [0x7ec0e0]
add esp, 4
mov dword [esi + 0xc64], 0
xor eax, eax
push eax
lea ecx, [esp + 0x2c]
push ecx
push eax
push dword [esp + 0x10]
call fcn.004ce169
add esp, 0x10
cmp eax, 8
ja case.0x4afc7c.1
jmp dword [eax*4 + 0x7321fc]
push 0
push dword [esp + 0xc]
push 1
push dword [esp + 0x10]
call fcn.004ce169
add esp, 0x10
mov ecx, eax
mov dword [esp + 0xc], eax
test eax, eax
je 0x4afcce
push dword [esp + 0x28]
call dword [0x7ec0e0]
add esp, 4
mov eax, dword [esp + 0xc]
add eax, 0xfffffffb
cmp eax, 4
jae case.0x4afc7c.1
mov eax, dword [esp + 0xc]
mov ebx, dword [eax*4 + 0x7322f8]
jmp case.0x4afc7c.1
mov eax, dword [esp + 0x28]
mov ecx, esi
mov dword [esi + 0xc64], eax
mov byte [esi + 0xd1f], 1
cmp byte [esi + 0x68b], 0
je 0x4afcf9
push eax
push str.Switched_from_HTTP_to_HTTPS_due_to_HSTS____s
push esi
call fcn.004abf96
add esp, 0xc
mov ecx, esi
mov edx, edi
push dword [esi + 0xc44]
call fcn.004b2574
add esp, 4
xor ebx, ebx
inc ebx
test eax, eax
jne case.0x4afc7c.1
cmp dword [esi + 0x57c], 0
je 0x4afd53
cmp dword [esi + 0x578], 0
mov ecx, dword [esp + 4]
je 0x4afd7d
lea ebx, [esi + 0xc58]
push 0x40
push ebx
push 4
push ecx
call fcn.004ce169
add esp, 0x10
lea ecx, [eax - 5]
cmp ecx, 8
ja case.default.0x4afd4c
jmp dword [ecx*4 + 0x732270]
lea ebx, [esi + 0xc54]
push 0
push ebx
push 3
push dword [esp + 0x10]
call fcn.004ce169
add esp, 0x10
lea ecx, [eax - 5]
cmp ecx, 7
ja case.default.0x4afd76
jmp dword [ecx*4 + 0x732220]
lea ebx, [esi + 0xc50]
push 0
push ebx
push 2
push ecx
call fcn.004ce169
add esp, 0x10
cmp eax, 0xb
ja case.0x4afe2e.3163
jmp dword [eax*4 + 0x732240]
mov eax, dword [edi + 0x1e4]
xor ecx, ecx
bt dword [eax + 0x4c], 0xd
mov eax, 0
adc eax, 3
lea edx, [esp + 0x28]
push eax
push ecx
push edx
push ecx
push dword [ebx]
call fcn.004bea8f
add esp, 0x14
test eax, eax
jne 0x4afbb0
mov eax, dword [esp + 0x28]
mov dword [edi + 0xe0], eax
mov ecx, dword [ebp + 8]
add ecx, 0xcfc
push eax
push ecx
jmp 0x4aff03
test eax, eax
jne case.0x4afe2e.3163
push dword [ebx]
call dword [0x7ec0e8]
add esp, 4
mov dword [edi + 0xe8], eax
test eax, eax
je case.0x4afe2e.3157
lea eax, [esi + 0xc5c]
push 0x80
push eax
push 7
push dword [esp + 0x10]
call fcn.004ce169
add esp, 0x10
cmp eax, 8
ja case.0x4afe2e.3163
jmp dword [eax*4 + 0x732294]
mov eax, dword [ebp + 8]
add eax, 0xc4c
push 1
push eax
push 6
push dword [esp + 0x10]
call fcn.004ce169
add esp, 0x10
test eax, eax
je 0x4aff1c
mov eax, dword [esp + 8]
push dword [eax]
push 0x795aa0
call fcn.004bdde8
add esp, 8
test eax, eax
jne 0x4aff60
jmp case.0x4afe2e.3157
mov ebx, 0x43
jmp case.0x4afc7c.1
xor ebx, ebx
inc ebx
jmp case.0x4afc7c.1
test eax, eax
jne case.0x4afe2e.3163
mov eax, dword [edi + 0x1e4]
xor ecx, ecx
bt dword [eax + 0x4c], 0xd
mov eax, 0
adc eax, 3
lea edx, [esp + 0x28]
push eax
push ecx
push edx
push ecx
push dword [ebx]
call fcn.004bea8f
add esp, 0x14
test eax, eax
jne 0x4afbb0
mov eax, dword [esp + 0x28]
mov dword [edi + 0xe4], eax
lea ecx, [esi + 0xd00]
push eax
push ecx
call fcn.0049aa50
add esp, 8
test eax, eax
jne 0x4afbb0
jmp case.0x4afd76.12
cmp dword [esi + 0xd00], 0
mov ecx, dword [esp + 4]
je 0x4afd2c
lea eax, [esi + 0xcfc]
push 0x79abcb
push eax
call fcn.0049aa50
add esp, 8
test eax, eax
mov ecx, dword [esp + 4]
jne 0x4afbb0
jmp 0x4afd2c
push 0xa
push 0
push dword [esi + 0xc4c]
call fcn.00715801
add esp, 0xc
mov ecx, eax
movzx eax, word [esi + 0x170]
test ax, ax
je 0x4aff48
mov edx, dword [ebp + 8]
cmp byte [edx + 0xd14], 0
jne 0x4aff51
push ecx
call fcn.004b6c30
add esp, 4
movzx eax, ax
mov dword [edi + 0x27c], eax
mov dword [edi + 0x278], eax
lea eax, [esi + 0xc60]
push 0
push eax
push 8
push dword [esp + 0x10]
call fcn.004ce169
add esp, 0x10
mov eax, dword [esi + 0x630]
test eax, eax
je 0x4aff87
mov dword [edi + 0x284], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x5e8]
test eax, eax
je 0x4affac
push eax
call dword [0x7ec0e8]
add esp, 4
mov dword [edi + 0xec], eax
test eax, eax
je case.0x4afe2e.3157
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x5d0]
test eax, eax
je 0x4affd1
push eax
call dword [0x7ec0e8]
add esp, 4
mov dword [edi + 0xf0], eax
test eax, eax
je case.0x4afe2e.3157
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x5d4]
test eax, eax
je 0x4b0005
push eax
call dword [0x7ec0e8]
add esp, 4
mov dword [edi + 0x268], eax
test eax, eax
je case.0x4afe2e.3157
mov eax, dword [ebp + 8]
mov al, byte [eax + 0x69e]
mov byte [edi + 0x1df], al
mov byte [esp + 0x12], 0
cmp byte [edi + 0x1ca], 0
je 0x4b00d9
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0xd04]
mov ebx, dword [ecx + 0xd08]
test eax, eax
mov ecx, 0x79abcb
cmove eax, ecx
test ebx, ebx
cmove ebx, ecx
lea edx, [edi + 0xa8]
xor ecx, ecx
push 4
push ecx
mov esi, edx
push edx
mov dword [esp + 0x14], 0
push ecx
push eax
call fcn.004bea8f
add esp, 0x14
mov dword [esp + 0xc], eax
test eax, eax
jne 0x4b042e
mov eax, dword [ebp + 8]
add eax, 0xd04
push dword [esi]
push eax
call fcn.0049aa50
add esp, 8
mov dword [esp + 4], 0
mov dword [esp + 0xc], eax
test eax, eax
jne 0x4b0436
lea esi, [edi + 0xac]
xor eax, eax
push 4
push eax
push esi
mov dword [esp + 0x14], 0
push eax
push ebx
call fcn.004bea8f
add esp, 0x14
mov dword [esp + 0xc], eax
test eax, eax
jne 0x4b042e
mov eax, dword [ebp + 8]
add eax, 0xd08
push dword [esi]
push eax
call fcn.0049aa50
add esp, 8
mov dword [esp + 4], 0
mov dword [esp + 0xc], eax
test eax, eax
jne 0x4b0436
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x524]
mov dword [esp + 4], 0
mov dword [esp + 8], 0
test eax, eax
je 0x4b0108
push eax
call dword [0x7ec0e8]
add esp, 4
mov dword [esp + 8], eax
test eax, eax
je 0x4b0157
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x528]
test eax, eax
je 0x4b0127
push eax
call dword [0x7ec0e8]
add esp, 4
mov dword [esp + 4], eax
test eax, eax
je 0x4b0174
mov dword [esp + 0xc], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x58c], 0
jne 0x4b01cc
push str.no_proxy
call fcn.004c6f24
add esp, 4
test eax, eax
je 0x4b0191
mov ecx, str.no_proxy
jmp 0x4b01a7
push str.memory_shortage
push dword [ebp + 8]
call fcn.004abf08
add esp, 8
mov dword [esp + 0xc], 0x1b
jmp 0x4b0426
push str.memory_shortage
push dword [ebp + 8]
call fcn.004abf08
add esp, 8
mov dword [esp + 0xc], 0x1b
jmp 0x4b042e
push str.NO_PROXY
call fcn.004c6f24
add esp, 4
test eax, eax
je 0x4b01cc
mov ecx, str.NO_PROXY
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
cmp byte [eax + 0x68b], 0
je 0x4b01cc
push dword [esp + 0xc]
push ecx
push str.Uses_proxy_env_variable__s___s
push dword [ebp + 8]
call fcn.004abf96
add esp, 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x58c]
test eax, eax
cmove eax, dword [esp + 0xc]
lea ecx, [esp + 0x12]
push ecx
push eax
push dword [edi + 0x50]
call fcn.004d6a6c
add esp, 0xc
test al, al
je 0x4b021d
push dword [esp + 8]
call dword [0x7ec0e0]
add esp, 4
push dword [esp + 4]
call dword [0x7ec0e0]
add esp, 4
mov dword [esp + 8], 0
mov dword [esp + 4], 0
jmp 0x4b022b
mov eax, dword [esp + 8]
or eax, dword [esp + 4]
je 0x4b0335
cmp dword [ebp + 8], 0
je 0x4b0254
cmp byte [esp + 0x12], 0
je 0x4b0254
mov eax, dword [ebp + 8]
cmp byte [eax + 0x68b], 0
je 0x4b0254
push str.space_separated_NOPROXY_patterns_are_deprecated
push dword [ebp + 8]
call fcn.004abf96
add esp, 8
push dword [esp + 0xc]
call dword [0x7ec0e0]
add esp, 4
xor ebx, ebx
cmp dword [esp + 8], 0
je 0x4b0284
cmp dword [edi + 0x268], 0
je 0x4b03c7
push dword [esp + 8]
call dword [0x7ec0e0]
add esp, 4
cmp dword [esp + 4], 0
je 0x4b02d1
mov eax, dword [esp + 4]
cmp byte [eax], 0
je 0x4b02c4
mov eax, dword [edi + 0x1e4]
test byte [eax + 0x4c], 0x10
jne 0x4b02c4
lea eax, [edi + 0x90]
mov dword [esp + 0x18], eax
movzx eax, byte [edi + 0xa4]
mov dword [esp + 8], eax
mov al, 1
mov dword [esp + 0x1c], eax
test ebx, ebx
jne 0x4b02fe
jmp 0x4b03f8
push dword [esp + 4]
call dword [0x7ec0e0]
add esp, 4
test ebx, ebx
je 0x4b098d
lea eax, [edi + 0x90]
mov dword [esp + 0x18], eax
movzx eax, byte [edi + 0xa4]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp + 0x1c], 0
mov ecx, dword [ebp + 8]
mov edx, edi
push dword [esp + 8]
push ebx
call fcn.004b25d0
add esp, 8
mov esi, eax
push ebx
call dword [0x7ec0e0]
add esp, 4
mov dword [esp + 0xc], esi
test esi, esi
je 0x4b03ed
mov dword [esp + 8], 0
jmp 0x4b0436
mov eax, dword [edi + 0x1e4]
mov esi, dword [eax]
mov al, byte [esi]
lea ebx, [esp + 0x28]
test al, al
je 0x4b0362
inc esi
lea ebx, [esp + 0x28]
movsx eax, al
push eax
call fcn.004bdddc
add esp, 4
mov byte [ebx], al
inc ebx
mov al, byte [esi]
inc esi
test al, al
jne 0x4b034c
mov dword [ebx + 3], 0x79786f
mov dword [ebx], 0x6f72705f
lea esi, [esp + 0x28]
push esi
call fcn.004c6f24
add esp, 4
mov ebx, esi
mov dword [esp + 8], eax
test eax, eax
jne 0x4b0947
lea ebx, [esp + 0x28]
push ebx
push str.http_proxy
call fcn.004bdde8
add esp, 8
test eax, eax
je 0x4b090c
push str.all_proxy
call fcn.004c6f24
add esp, 4
mov dword [esp + 8], eax
test eax, eax
je 0x4b0931
mov ebx, str.all_proxy
jmp 0x4b0947
mov eax, dword [esp + 8]
cmp byte [eax], 0
je 0x4b0277
mov eax, dword [edi + 0x1e4]
test byte [eax + 0x4c], 0x10
jne 0x4b0277
mov ebx, dword [esp + 8]
jmp 0x4b0284
cmp byte [esp + 0x1c], 0
je 0x4b0513
mov ecx, dword [ebp + 8]
mov edx, edi
push dword [esp + 8]
mov esi, dword [esp + 8]
push esi
call fcn.004b25d0
add esp, 8
mov ebx, eax
push esi
call dword [0x7ec0e0]
add esp, 4
mov dword [esp + 0xc], ebx
test ebx, ebx
je 0x4b0513
mov dword [esp + 8], 0
mov dword [esp + 4], 0
push dword [esp + 4]
call dword [0x7ec0e0]
add esp, 4
push dword [esp + 8]
call dword [0x7ec0e0]
add esp, 4
cmp dword [esp + 0xc], 0
je 0x4b0460
mov ebx, dword [esp + 0xc]
jmp 0x4b050b
mov eax, dword [edi + 0x1e8]
test byte [eax + 0x4c], 1
je 0x4b047c
cmp byte [edi + 0x1c8], 0
je 0x4b047c
mov byte [edi + 0x1cb], 1
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0x170]
test eax, eax
je 0x4b04d2
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0xd14], 0
je 0x4b04d2
mov dword [edi + 0x27c], eax
push eax
push 0x797388
push 0x10
lea esi, [esp + 0x34]
push esi
call fcn.004bfe80
add esp, 0x10
push 0
push esi
push 6
mov eax, dword [ebp + 8]
push dword [eax + 0xc40]
call fcn.004ce935
add esp, 0x10
test eax, eax
je 0x4b04d2
mov ebx, 0x1b
jmp 0x4b050b
mov ecx, dword [ebp + 8]
mov edx, edi
call fcn.004b0e02
test eax, eax
jne 0x4b0509
mov ecx, dword [ebp + 8]
mov edx, edi
call fcn.004b10a2
test eax, eax
jne 0x4b0509
mov ecx, dword [ebp + 8]
mov edx, edi
push dword [ecx + 0x3b4]
call fcn.004b111f
add esp, 4
test eax, eax
je 0x4b059d
mov ebx, eax
mov esi, dword [ebp + 8]
jmp case.0x4afc7c.1
mov eax, dword [esp + 0x18]
cmp dword [eax], 0
je 0x4b0568
mov eax, dword [edi + 0x1e4]
test byte [eax + 0x44], 3
jne 0x4b0542
test byte [eax + 0x4d], 8
je 0x4b053b
cmp byte [edi + 0x1cb], 0
je 0x4b0a20
mov byte [edi + 0x1cb], 1
mov byte [edi + 0x1c8], 1
cmp dword [edi + 0x70], 0
setne byte [edi + 0x1c9]
mov byte [edi + 0x1cd], 1
mov dword [esp + 8], 0
jmp 0x4b09ad
xor eax, eax
mov byte [edi + 0x1c8], al
mov byte [edi + 0x1cb], al
cmp dword [edi + 0x70], 0
je 0x4b0986
cmp dword [edi + 0x88], 0
je 0x4b09c2
mov al, 1
mov byte [edi + 0x1c9], al
mov byte [edi + 0x1cd], al
jmp 0x4b055b
cmp byte [edi + 0x1c8], 0
je 0x4b05bd
lea eax, [edi + 0x90]
push eax
call fcn.004d6a5f
add esp, 4
test eax, eax
jne 0x4b0509
cmp byte [edi + 0x1c9], 0
je 0x4b05da
lea eax, [edi + 0x70]
push eax
call fcn.004d6a5f
add esp, 4
test eax, eax
jne 0x4b0509
cmp byte [edi + 0x1d1], 0
je 0x4b0619
lea eax, [edi + 0x60]
push eax
call fcn.004d6a5f
add esp, 4
test eax, eax
jne 0x4b0509
cmp byte [edi + 0x1d1], 0
je 0x4b0619
push dword [edi + 0x50]
push dword [edi + 0x68]
call fcn.004bdde8
add esp, 8
test eax, eax
je 0x4b0619
mov byte [edi + 0x1d1], 0
cmp byte [edi + 0x1d2], 0
je 0x4b0637
mov eax, dword [edi + 0x280]
cmp eax, dword [edi + 0x27c]
jne 0x4b0640
mov byte [edi + 0x1d2], 0
cmp byte [edi + 0x1d1], 0
je 0x4b0650
cmp byte [edi + 0x1c8], 0
je 0x4b0650
mov byte [edi + 0x1cb], 1
mov eax, dword [edi + 0x1e4]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4b0674
push edi
push dword [ebp + 8]
call ecx
add esp, 8
test eax, eax
jne 0x4b0509
mov eax, dword [edi + 0x1e4]
cmp dword [edi + 0x278], 0
jns 0x4b0686
mov eax, dword [eax + 0x40]
mov dword [edi + 0x278], eax
mov eax, 0x4ba8a7
mov dword [edi + 0x130], eax
mov ecx, fcn.004ba905
mov dword [edi + 0x138], ecx
mov dword [edi + 0x134], eax
mov dword [edi + 0x13c], ecx
mov esi, dword [ebp + 8]
mov al, byte [esi + 0x697]
mov byte [edi + 0x1dc], al
lea eax, [esi + 0x3c4]
mov ecx, dword [esi + 0x538]
mov edx, dword [esi + 0x540]
mov dword [esi + 0x3c4], ecx
mov dword [esi + 0x3c8], edx
mov ecx, dword [esi + 0x56c]
mov dword [esi + 0x3cc], ecx
mov ecx, dword [esi + 0x620]
mov dword [esi + 0x3ec], ecx
mov ecx, dword [esi + 0x550]
mov dword [esi + 0x3d4], ecx
mov ecx, dword [esi + 0x558]
mov dword [esi + 0x3d8], ecx
mov ecx, dword [esi + 0x548]
mov dword [esi + 0x3dc], ecx
mov ecx, dword [esi + 0x610]
mov dword [esi + 0x3e4], ecx
mov ecx, dword [esi + 0x628]
mov dword [esi + 0x3e8], ecx
mov ecx, dword [esi + 0x5fc]
mov dword [esi + 0x3f0], ecx
mov ecx, dword [esi + 0x53c]
mov edx, dword [esi + 0x544]
mov dword [esi + 0x42c], ecx
mov dword [esi + 0x430], edx
mov ecx, dword [esi + 0x554]
mov dword [esi + 0x43c], ecx
mov ecx, dword [esi + 0x55c]
mov dword [esi + 0x440], ecx
mov ecx, dword [esi + 0x54c]
mov dword [esi + 0x444], ecx
mov ecx, dword [esi + 0x614]
mov dword [esi + 0x44c], ecx
mov ecx, dword [esi + 0x62c]
mov dword [esi + 0x450], ecx
mov ecx, dword [esi + 0x570]
mov dword [esi + 0x434], ecx
mov ecx, dword [esi + 0x624]
mov dword [esi + 0x454], ecx
mov ecx, dword [esi + 0x568]
mov dword [esi + 0x448], ecx
mov ecx, dword [esi + 0x4dc]
mov dword [esi + 0x478], ecx
mov ecx, dword [esi + 0x508]
mov dword [esi + 0x47c], ecx
mov ecx, dword [esi + 0x518]
mov dword [esi + 0x484], ecx
mov ecx, dword [esi + 0x510]
mov dword [esi + 0x488], ecx
mov ecx, dword [esi + 0x4d4]
mov edx, dword [esi + 0x4d8]
mov dword [esi + 0x438], ecx
mov ecx, dword [esi + 0x61c]
mov dword [esi + 0x480], ecx
mov ecx, dword [esi + 0x564]
mov dword [esi + 0x3e0], ecx
mov dword [esi + 0x410], edx
mov ecx, dword [esi + 0x504]
mov dword [esi + 0x414], ecx
mov ecx, dword [esi + 0x514]
mov dword [esi + 0x41c], ecx
mov ecx, dword [esi + 0x50c]
mov dword [esi + 0x420], ecx
mov ecx, dword [esi + 0x4d0]
mov dword [esi + 0x3d0], ecx
mov ecx, dword [esi + 0x618]
mov dword [esi + 0x418], ecx
lea ecx, [edi + 0x148]
push ecx
push eax
call fcn.004ac2bf
add esp, 8
test al, al
je case.0x4afe2e.3157
mov eax, dword [ebp + 8]
add eax, 0x42c
mov ecx, edi
add ecx, 0x188
push ecx
push eax
call fcn.004ac2bf
add esp, 8
test al, al
je case.0x4afe2e.3157
mov ecx, esi
call fcn.004b1618
cmp byte [esi + 0x68e], 0
je 0x4b08a3
mov eax, dword [ebp + 8]
cmp dword [eax + 0x8f4], 0
je 0x4b0a2f
mov eax, dword [ebp + 8]
cmp byte [eax + 0x676], 0
jne 0x4b0a2f
lea eax, [esp + 0x11]
lea ebx, [esp + 0x13]
lea esi, [esp + 0x24]
mov ecx, dword [ebp + 8]
mov edx, edi
push eax
push ebx
push esi
call fcn.004b1730
add esp, 0xc
test al, al
je 0x4b0a2f
mov eax, dword [esp + 0x24]
mov esi, dword [ebp + 8]
mov ecx, esi
mov edx, edi
mov edi, eax
push eax
call fcn.004b200f
add esp, 4
cmp byte [esi + 0x68b], 0
je 0x4b0cb0
cmp dword [edi + 0x78], 0
je 0x4b0c4c
lea eax, [edi + 0x7c]
jmp 0x4b0c89
push 0x80
push ebx
push ebx
call fcn.004bdec0
add esp, 0xc
push ebx
call fcn.004c6f24
add esp, 4
mov dword [esp + 8], eax
test eax, eax
jne 0x4b0947
jmp 0x4b03a4
mov ebx, str.ALL_PROXY
push str.ALL_PROXY
call fcn.004c6f24
add esp, 4
mov dword [esp + 8], eax
cmp dword [ebp + 8], 0
je 0x4b0213
cmp dword [esp + 8], 0
je 0x4b0213
mov eax, dword [ebp + 8]
cmp byte [eax + 0x68b], 0
je 0x4b0213
push dword [esp + 8]
push ebx
push str.Uses_proxy_env_variable__s___s
push dword [ebp + 8]
call fcn.004abf96
add esp, 0x10
jmp 0x4b0213
mov byte [edi + 0x1cd], 0
xor eax, eax
mov byte [edi + 0x1cd], al
mov dword [esp + 8], 0
mov byte [edi + 0xa4], al
mov dword [edi + 0x1c8], 0
mov dword [esp + 4], 0
mov dword [esp + 0xc], 0
jmp 0x4b0436
mov eax, dword [edi + 0x8c]
mov ecx, dword [edi + 0xa8]
mov dword [edi + 0x88], ecx
xor esi, esi
mov dword [edi + 0xa8], esi
push eax
call dword [0x7ec0e0]
add esp, 4
mov eax, dword [edi + 0xac]
mov dword [edi + 0x8c], eax
mov dword [esp + 0xc], 0
mov dword [edi + 0xac], esi
cmp byte [edi + 0x1c8], 0
mov byte [edi + 0x1c9], 1
jne 0x4b0554
mov byte [edi + 0x1cd], 1
jmp 0x4b0426
mov dword [edi + 0x1e4], 0x733468
jmp 0x4b0542
mov eax, dword [edi + 0x1e4]
test byte [eax + 0x4d], 1
je 0x4b0a4e
mov eax, dword [ebp + 8]
cmp byte [eax + 0x698], 0
je 0x4b0a4e
mov byte [edi + 0x1dd], 1
cmp byte [esp + 0x11], 0
je 0x4b0ac5
mov eax, dword [ebp + 8]
cmp byte [eax + 0x68b], 0
je 0x4b0a71
push str.No_connections_available.
push dword [ebp + 8]
call fcn.004abf96
add esp, 8
mov esi, dword [ebp + 8]
mov ecx, esi
mov edx, edi
call fcn.004af191
mov ebx, 0x59
xor edi, edi
mov eax, 0x59
cmp ebx, 0x59
je 0x4b0abd
test edi, edi
je 0x4b0abb
test ebx, ebx
je 0x4b0abb
push esi
call fcn.004b3b28
add esp, 4
xor eax, eax
inc eax
push eax
push edi
push esi
call fcn.004bd550
add esp, 0xc
xor eax, eax
inc eax
push eax
push edi
push esi
call fcn.004af0cf
add esp, 0xc
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 8]
push dword [eax + 0x840]
push edi
push eax
call fcn.004bd38e
add esp, 0xc
cmp dword [esp + 0x14], 0
je 0x4b0aec
test eax, eax
je 0x4b0aec
mov ecx, dword [esp + 0x14]
cmp dword [eax + 4], ecx
jae 0x4b0b07
mov eax, dword [ebp + 8]
cmp dword [eax + 0x84], 0
je 0x4b0b42
push 5
push dword [ebp + 8]
call fcn.004bdd94
add esp, 8
jmp 0x4b0b42
push eax
mov esi, dword [ebp + 8]
push esi
call fcn.004bd8c9
add esp, 8
mov ebx, eax
cmp dword [esi + 0x84], 0
je 0x4b0b2c
push 5
push dword [ebp + 8]
call fcn.004bdd94
add esp, 8
test ebx, ebx
je 0x4b0c5d
push 0
push ebx
push dword [ebp + 8]
call fcn.004af0cf
add esp, 0xc
cmp dword [esp + 0x20], 0
je 0x4b0b7b
push dword [ebp + 8]
call fcn.004bd345
add esp, 4
cmp eax, dword [esp + 0x20]
jb 0x4b0b7b
push dword [ebp + 8]
call fcn.004bd79a
add esp, 4
test eax, eax
je 0x4b0c27
push 0
push eax
push dword [ebp + 8]
call fcn.004af0cf
add esp, 0xc
push edi
mov esi, dword [ebp + 8]
push esi
call fcn.004b3c23
add esp, 8
push esi
call fcn.004bd455
add esp, 4
test eax, eax
jne 0x4afbb0
mov eax, dword [ebp + 8]
test byte [eax + 0x944], 0x28
je 0x4b0bdb
cmp byte [eax + 0x94c], 0
je 0x4b0bdb
cmp byte [eax + 0x68b], 0
je 0x4b0bc7
push str.NTLM_picked_AND_auth_done_set__clear_picked
push dword [ebp + 8]
call fcn.004abf96
add esp, 8
mov eax, dword [ebp + 8]
mov dword [eax + 0x944], 0
mov byte [eax + 0x94c], 0
test byte [eax + 0x954], 0x28
je 0x4b0cb0
cmp byte [eax + 0x95c], 0
je 0x4b0cb0
cmp byte [eax + 0x68b], 0
je 0x4b0c0e
push str.NTLM_proxy_picked_AND_auth_done_set__clear_picked
push dword [ebp + 8]
call fcn.004abf96
add esp, 8
mov eax, dword [ebp + 8]
mov dword [eax + 0x954], 0
mov byte [eax + 0x95c], 0
jmp 0x4b0cb0
mov eax, dword [ebp + 8]
cmp byte [eax + 0x68b], 0
je 0x4b0a55
push str.No_connections_available_in_cache
push dword [ebp + 8]
call fcn.004abf96
add esp, 8
jmp 0x4b0a55
cmp dword [edi + 0x98], 0
je 0x4b0c86
lea eax, [edi + 0x9c]
jmp 0x4b0c89
mov eax, dword [ebp + 8]
cmp byte [eax + 0x68b], 0
je 0x4b0a55
push dword [esp + 0x14]
push str.No_more_connections_allowed_to_host:__zu
push dword [ebp + 8]
call fcn.004abf96
add esp, 0xc
jmp 0x4b0a55
lea eax, [edi + 0x54]
cmp byte [edi + 0x1cd], 0
mov ecx, 0x791b64
mov edx, 0x79134d
cmove edx, ecx
push dword [eax]
push edx
push str.Re_using_existing_connection_with__s__s
push dword [ebp + 8]
call fcn.004abf96
add esp, 0x10
push edi
push esi
call fcn.004b0d3f
add esp, 8
mov ecx, esi
call fcn.004b2183
test eax, eax
jne 0x4afbb0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x184]
mov edx, edi
mov dword [edi + 0x218], eax
mov eax, dword [ecx + 0x1d4]
mov dword [edi + 0x21c], eax
push dword [ebp + 0xc]
call fcn.004b221d
add esp, 4
test eax, eax
jne 0x4afbb0
push dword [ebp + 8]
call fcn.004bafa7
add esp, 4
test eax, eax
jne 0x4afbb0
mov ecx, dword [ebp + 0x10]
cmp dword [edi + 0x214], 2
jb 0x4b0d22
mov byte [ecx], 1
xor eax, eax
jmp 0x4b0abd
xor eax, eax
mov edx, dword [ebp + 0xc]
cmp byte [edx], 0
jne 0x4b0abd
push ecx
push esi
call fcn.004af5e1
add esp, 8
jmp 0x4afbb0