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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x1f8
mov esi, esp
mov dword [esi + 0x1e0], ebp
lea eax, [esi + 0x1e8]
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x60], edx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x503da0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov ecx, dword [ebp + 0xc]
mov dword fs:[0], eax
mov ebx, dword [ecx + 8]
mov edi, dword [ecx + 4]
mov ecx, edi
mov edx, ebx
call fcn.004c91ea
test edx, edx
je 0x4bed32
and dword [esi + 0x1f0], 0
lea ecx, [esi + 0x64]
mov dword [esi + 0x28], edi
mov edx, edi
mov dword [esi + 0x5c], ebx
push ebx
call fcn.004bceca
pop eax
mov edi, dword [esi + 0x64]
cmp edi, 2
jne 0x4bed45
mov ecx, dword [esi + 0x68]
mov dword [esi + 0x30], ecx
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x4bf007
mov ecx, dword [ecx + 0x50]
mov dword [esi + 4], ecx
jmp 0x4bf007
mov eax, dword [ebp + 0xc]
mov edx, edi
mov ecx, dword [eax]
call fcn.00466c68
xor ebx, ebx
jmp 0x4bf546
lea eax, [esi + 0x6c]
lea ecx, [esi + 0x1a0]
mov ebx, dword [eax - 4]
push 0x40
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [esi + 0x160]
lea ecx, [esi + 0x1a0]
mov dword [eax - 8], edi
mov dword [eax - 4], ebx
push 0x40
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea ecx, [esi + 0x158]
mov dword [esi + 0x1f0], 4
call fcn.0046d6b0
mov edi, eax
mov ebx, edx
mov ecx, eax
push 4
push 0x5a7b4f
call fcn.00457208
pop ecx
pop edx
test al, al
je 0x4bee1d
lea ecx, [esi + 0x158]
mov edx, 0x57c12c
call fcn.004fe5e5
mov edi, edx
mov byte [esi + 0x74], 2
mov dword [esi + 0x1f0], 0xe
lea ecx, [esi + 0x34]
mov edx, eax
push edi
call fcn.0044d214
pop eax
lea ecx, [esi + 0x18]
lea edx, [esi + 0x34]
call fcn.004bf88a
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x1c]
test eax, eax
je 0x4bf22d
movsd xmm0, qword [esi + 0x64]
movsd xmm1, qword [esi + 0x6c]
mov edi, dword [esi + 0x74]
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
mov dword [esi + 0x11c], edi
movsd qword [esi + 0x10c], xmm0
movsd qword [esi + 0x114], xmm1
xor edi, edi
jmp 0x4beea8
mov ecx, edi
mov edx, ebx
push 5
push 0x5a7b53
call fcn.00457208
pop ecx
pop edx
test al, al
je 0x4bf1c2
lea ecx, [esi + 0x158]
mov edx, 0x57c11c
call fcn.004fe5e5
mov edi, edx
mov byte [esi + 0x74], 2
mov dword [esi + 0x1f0], 0xf
lea ecx, [esi + 0x34]
mov edx, eax
push edi
call fcn.0044d214
pop eax
lea ecx, [esi + 0x18]
lea edx, [esi + 0x34]
call fcn.004bf88a
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x1c]
test eax, eax
je 0x4bf332
mov edi, dword [esi + 0x74]
movsd xmm0, qword [esi + 0x64]
movsd xmm1, qword [esi + 0x6c]
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
mov dword [esi + 0x11c], edi
xor edi, edi
movsd qword [esi + 0x10c], xmm0
movsd qword [esi + 0x114], xmm1
inc edi
mov dword [esi + 0xf8], edi
mov dword [esi + 0xfc], eax
mov dword [esi + 0x100], ebx
mov dword [esi + 0x104], ecx
lea ecx, [esi + 0x158]
mov dword [esi + 0x108], edx
mov byte [esi + 0xc], 1
mov dword [esi + 0x1f0], 5
call fcn.004fe952
mov dword [esi + 4], edx
test eax, eax
je 0x4bf312
lea ecx, [esi + 0x158]
mov byte [esi + 0xc], 1
mov dword [esi + 0x10], eax
call fcn.004fe91d
mov edi, edx
mov edx, eax
mov byte [esi + 0xc], 1
lea ecx, [esi + 0xb8]
add edi, eax
push edi
call fcn.0046a9d5
mov edx, dword [esi + 0x10]
add esp, 4
mov eax, dword [esi + 4]
mov byte [esi + 0xe], 0
mov byte [esi + 0xf], 1
mov dword [esi + 0x1f0], 6
lea ecx, [esi + 0xc4]
add eax, edx
push eax
call fcn.0046a9d5
pop eax
lea eax, [esi + 0xf8]
push 0x28
push eax
lea eax, [esi + 0x64]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp dword [esi + 0x64], 0
je 0x4bf247
lea ecx, [esi + 0x18]
lea edx, [esi + 0xb8]
mov byte [esi + 0xb], 1
mov dword [esi + 0x1f0], 7
call fcn.00420c60
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
lea edx, [esi + 0xc4]
mov dword [esi + 0x1f0], 0xa
mov dword [esi + 0x10], ecx
lea ecx, [esi + 0x34]
mov dword [esi + 4], eax
call fcn.00420c60
mov eax, dword [esi + 0x3c]
mov edi, dword [esi + 0x38]
mov edx, dword [esi + 4]
mov dword [esi + 0x1f0], 0xb
lea ecx, [esi + 0xe4]
push eax
mov dword [esi + 0x14], edi
push edi
push dword [esi + 0x10]
call fcn.004bf942
add esp, 0xc
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x14]
call fcn.00466c68
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 4]
call fcn.00466c68
lea ecx, [esi + 0x78]
mov dword [esi + 0x1f0], 8
call fcn.00484f46
mov eax, dword [esi + 0xf4]
movsd xmm0, qword [esi + 0xe4]
movsd xmm1, qword [esi + 0xec]
jmp 0x4bf2ee
test eax, eax
mov dword [esi + 0x1f0], 1
je 0x4bf0d7
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0x1c]
mov byte [esi + 3], 1
push eax
lea ecx, [esi + 0x148]
push ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
call edx
mov edx, dword [esi + 0x10]
add esp, 8
mov eax, dword [esi + 0x148]
mov ecx, dword [esi + 0x14c]
xor eax, 0x4d9ee8b7
xor ecx, 0xf16341fa
or ecx, eax
jne 0x4bf076
mov eax, dword [esi + 0x154]
mov ecx, dword [esi + 0x150]
xor ecx, 0x147d355
xor eax, 0xac9d2098
or eax, ecx
jne 0x4bf076
cmp byte [edx], 6
jne 0x4bf0c1
jmp 0x4bf0e8
mov byte [esi + 3], 1
push edx
lea eax, [esi + 0x138]
push eax
call dword [esi + 0x14]
mov edx, dword [esi + 0x10]
add esp, 8
mov eax, dword [esi + 0x138]
mov ecx, dword [esi + 0x13c]
xor eax, 0x258a2b6a
xor ecx, 0x428f3421
or ecx, eax
jne 0x4bf0c1
mov eax, dword [esi + 0x144]
mov ecx, dword [esi + 0x140]
xor ecx, 0x8ac3af7
xor eax, 0xebaa3a39
or eax, ecx
je 0x4bf0e8
mov byte [esi + 3], 1
push edx
mov eax, dword [esi + 4]
call dword [eax + 0x18]
add esp, 4
mov dword [esi + 4], edx
jmp 0x4bf007
mov ecx, dword [esi + 0x30]
mov byte [esi + 3], 0
call fcn.004bcde4
jmp 0x4bf1ab
mov eax, dword [esi + 0x28]
mov ebx, dword [esi + 0x5c]
lea ecx, [esi + 0xf8]
lea edx, [esi + 0x158]
lea edi, [esi + 0x34]
mov byte [esi + 3], 1
mov dword [edx], str.http:__
mov dword [edi], ecx
mov dword [edi + 4], fcn.004f672b
mov dword [ecx], eax
mov dword [ecx + 4], ebx
xor ebx, ebx
lea ecx, [esi + 0xac]
inc ebx
mov dword [edx + 4], ebx
and dword [edx + 0x10], 0
mov dword [edx + 8], edi
mov dword [edx + 0xc], ebx
call fcn.004071d2
mov edx, dword [esi + 0xb0]
mov eax, dword [esi + 0xb4]
mov dword [esi + 0x1f0], 3
lea ecx, [esi + 0x158]
mov dword [esi + 4], edx
push eax
call fcn.004bceca
pop eax
mov ecx, dword [esi + 0xac]
mov edx, dword [esi + 4]
call fcn.00466c68
mov eax, dword [esi + 0x158]
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x15c]
cmp eax, 2
mov dword [esi + 0x18], ecx
jne 0x4bf1d4
mov dword [esi + 0x34], edx
mov dword [esi + 0x1f0], 2
call fcn.004bcde4
mov dword [esi + 4], eax
lea eax, [esi + 0x34]
mov byte [esi + 3], 0
mov dword [esi + 0x1f0], 1
push eax
call fcn.0046d0f5
pop eax
mov eax, dword [esi + 4]
mov edx, dword [esi + 0x28]
mov ebx, dword [ebp + 0xc]
mov dword [esi + 0x38], eax
mov dword [esi + 0x34], 2
xor edi, edi
jmp 0x4bf375
push 0x14
pop edx
mov ecx, str.unknown_proxy_scheme
call fcn.004bcd59
jmp 0x4bf34a
mov dword [esi + 4], eax
mov dword [esi + 0x10], edx
lea eax, [esi + 0x160]
push 0x40
push eax
lea eax, [esi + 0xf8]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [esi + 0x18]
mov byte [esi + 3], 0
mov dword [esi + 0x1f0], 1
push eax
call fcn.0046d0f5
pop eax
lea eax, [esi + 0x1a0]
push 0x40
lea ecx, [esi + 0xf8]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edi, dword [esi + 4]
mov ebx, dword [esi + 0x10]
jmp 0x4bed5d
lea ecx, [esi + 0x64]
mov dword [esi + 4], ebx
mov dword [esi + 0x1f0], 4
call fcn.00484f46
jmp 0x4bf347
lea ecx, [esi + 0x18]
lea edx, [esi + 0xb8]
mov byte [esi + 0xb], 1
mov dword [esi + 0x1f0], 7
call fcn.00420c60
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
lea edx, [esi + 0xc4]
mov dword [esi + 0x1f0], 0xc
mov dword [esi + 0x10], ecx
lea ecx, [esi + 0x34]
mov dword [esi + 4], eax
call fcn.00420c60
mov eax, dword [esi + 0x3c]
mov edi, dword [esi + 0x38]
mov edx, dword [esi + 4]
mov dword [esi + 0x1f0], 0xd
lea ecx, [esi + 0xd0]
push eax
mov dword [esi + 0x14], edi
push edi
push dword [esi + 0x10]
call fcn.004bf942
add esp, 0xc
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x14]
call fcn.00466c68
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 4]
call fcn.00466c68
lea ecx, [esi + 0x78]
mov dword [esi + 0x1f0], 9
call fcn.00484f46
mov eax, dword [esi + 0xe0]
movsd xmm0, qword [esi + 0xd0]
movsd xmm1, qword [esi + 0xd8]
lea ecx, [esi + 0x78]
mov dword [ecx + 0x10], eax
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm0
push 0x28
lea eax, [esi + 0x64]
push eax
lea eax, [esi + 0xf8]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [esi + 0xf8]
lea edi, [esi + 0x34]
push 0x28
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp dword [edi], 2
setne al
mov dword [esi + 4], eax
jmp 0x4bf35b
lea ecx, [esi + 0x64]
mov dword [esi + 4], ebx
mov dword [esi + 0x1f0], 4
call fcn.00484f46
mov eax, dword [esi + 4]
mov dword [esi + 0x38], eax
mov dword [esi + 0x34], 2
mov dword [esi + 4], 0
mov ecx, dword [esi + 0x168]
mov edx, dword [esi + 0x16c]
mov ebx, dword [ebp + 0xc]
call fcn.00466c68
mov edi, dword [esi + 4]
mov edx, dword [esi + 0x28]
mov ecx, dword [ebx]
call fcn.00466c68
mov ebx, edi
test bl, bl
je 0x4bf537
mov edi, dword [ebp + 8]
mov dword [esi + 4], ebx
lea eax, [esi + 0x34]
lea ecx, [esi + 0xf8]
push 0x28
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edx, dword [esi + 0x60]
mov byte [esi + 0xd], 1
mov dword [esi + 0x1f0], 0x10
lea ecx, [esi + 0x1a0]
push edi
call fcn.004a4a59
pop eax
push 0x28
lea eax, [esi + 0xf8]
push eax
lea eax, [esi + 0x64]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edi, dword [esi + 0x2c]
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
push dword [esi + 0x1a8]
push dword [esi + 0x1a4]
push dword [edi + 0x1c]
push dword [edi + 0x18]
call fcn.004afca9
add esp, 0x10
cmp dword [edi + 8], 0
mov dword [esi + 0x10], eax
lea eax, [esi + 0x1a0]
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], eax
jne 0x4bf423
lea edx, [edi + 0x10]
mov ecx, edi
mov dword [esi + 0x1f0], 0x11
call fcn.00528153
mov edi, dword [esi + 0x2c]
mov edx, dword [edi + 4]
mov ecx, dword [edi]
lea eax, [esi + 0x18]
lea ebx, [esi + 0x158]
mov dword [esi + 0x1f0], 0x11
mov dword [ebx], eax
mov dword [ebx + 4], edi
push 0x4bcc4d
push ebx
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.00486d93
mov ebx, dword [esi + 0x2c]
add esp, 0x10
mov ecx, ebx
mov ebx, dword [ebx]
mov edi, edx
test eax, eax
je 0x4bf4d9
mov eax, dword [esi + 0x1a8]
movsd xmm0, qword [esi + 0x1a0]
lea ecx, [esi + 0x164]
mov dword [ecx - 4], eax
movsd qword [ecx - 0xc], xmm0
push 0x28
lea eax, [esi + 0x64]
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movzx eax, byte [ebx + edi]
mov edx, dword [esi + 0x2c]
mov ecx, dword [esi + 0x10]
and eax, 1
shr ecx, 0x19
sub dword [edx + 8], eax
lea eax, [edi - 0x10]
and eax, dword [edx + 4]
mov byte [ebx + edi], cl
neg edi
mov byte [ebx + eax + 0x10], cl
inc dword [edx + 0xc]
imul eax, edi, 0x34
lea eax, [ebx + eax - 0x34]
push 0x34
lea ecx, [esi + 0x158]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [esi + 0x164]
mov dword [eax - 0xc], 2
jmp 0x4bf515
neg edi
imul eax, edi, 0x34
lea edi, [ebx + eax - 0x28]
push 0x28
pop ebx
push ebx
push edi
lea eax, [esi + 0x158]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push ebx
lea eax, [esi + 0x64]
push eax
push edi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov ecx, dword [esi + 0x1a0]
mov edx, dword [esi + 0x1a4]
call fcn.00466c68
lea ecx, [esi + 0x158]
mov byte [esi + 0xd], 0
mov dword [esi + 0x1f0], 0x10
call fcn.004a0152
cmp dword [esi + 0x34], 2
mov ebx, dword [esi + 4]
jne 0x4bf546
or dword [esi + 0x1f0], 0xffffffff
lea ecx, [esi + 0x34]
call fcn.004afc1f
mov eax, dword [esi + 0x1e8]
mov dword fs:[0], eax
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret