Function at 0x41ead0
Capabilities:
Create http request

Disassembly:
push 0xffffffffffffffff
push 0x487908
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4afe78]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x44]
push str.Proxy
lea eax, [esp + 0x48]
push 0x48e960
push eax
mov dword [ebp], 0
call fcn.0040d630
add esp, 0xc
mov ecx, dword [esp + 0x44]
cmp dword [ecx - 0xc], 0
mov dword [esp + 0x3c], 0
jne 0x41eb82
movzx edx, byte [0x4b134c]
mov eax, dword [esp + 0x48]
neg edx
sbb edx, edx
and edx, 0x10000000
push edx
push 0
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp], eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ed9a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41ed9a
lea ecx, [esp + 0x20]
call fcn.0044e082
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x48f91c
mov byte [esp + 0x44], 1
call fcn.00401bd0
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x24]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
mov byte [esp + 0x4c], 2
call fcn.00401660
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x48], 1
call fcn.00409b20
add esp, 0xc
cmp eax, 2
mov ebx, 3
jl 0x41ec3c
mov ecx, dword [esp + 0x28]
cmp ecx, 1
jg 0x41ebec
call fcn.0044d954
mov eax, dword [esp + 0x24]
test ecx, ecx
jg 0x41ebf9
call fcn.0044d954
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x4c]
push str.HTTPHTTP:___s:_s
push ecx
call fcn.00403ac0
movzx edx, byte [0x4b134c]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
add esp, 0x10
neg edx
sbb edx, edx
and edx, 0x10000000
push edx
push 0
push eax
push ebx
push ecx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp], eax
jmp 0x41ec53
push 0
push 0
push str.The_proxy_set_error_
call fcn.00452ea0
lea ecx, [esp + 0x44]
call fcn.004015a0
cmp dword [ebp], 0
jne 0x41ec88
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 0
call fcn.0044e25f
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov dword [esp + 0x3c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x41eb6d
mov ecx, dword [esp + 0x44]
cmp dword [ecx - 0xc], 0
je 0x41ec59
push str.ProxyUser
lea ecx, [esp + 0x18]
push 0x48e960
push ecx
call fcn.0040d630
add esp, 0xc
mov edx, dword [esp + 0x14]
cmp dword [edx - 0xc], 0
mov byte [esp + 0x3c], bl
je 0x41ed7a
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x28]
call fcn.0044e129
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push 0x48f1f4
call fcn.00401bd0
lea eax, [esp + 0x24]
push eax
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x4c], 4
call fcn.00401750
mov byte [esp + 0x48], bl
call fcn.00409b20
mov ebx, dword [sym.imp.WININET.dll_InternetSetOptionW]
mov edi, eax
add esp, 0xc
cmp edi, 1
jl 0x41ed3e
cmp dword [esp + 0x28], 0
jg 0x41ed19
call fcn.0044d954
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41ed24
mov ecx, dword [ebp]
sub eax, esi
sar eax, 1
inc eax
push eax
push edx
push 0x2b
push ecx
call ebx
cmp edi, 2
jl 0x41ed7a
cmp dword [esp + 0x28], 1
jg 0x41ed4f
call fcn.0044d954
mov edx, dword [esp + 0x24]
mov edx, dword [edx + 4]
mov eax, edx
lea esi, [eax + 2]
jmp 0x41ed60
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41ed60
sub eax, esi
sar eax, 1
inc eax
push eax
mov eax, dword [ebp]
push edx
push 0x2c
push eax
call ebx
lea ecx, [esp + 0x14]
call fcn.00401580
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 0
call fcn.0044e25f
lea ecx, [esp + 0x44]
call fcn.00401580
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 8