Function at 0x415030
Capabilities:
Create http request

Disassembly:
push 0xffffffffffffffff
push 0x46e758
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x490d1c]
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 0x474ad4
push eax
mov dword [ebp], 0
call fcn.00408190
add esp, 0xc
mov ecx, dword [esp + 0x44]
cmp dword [ecx - 0xc], 0
mov dword [esp + 0x3c], 0
jne 0x4150e2
movzx edx, byte [0x4921f4]
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 0x4152fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4152fa
lea ecx, [esp + 0x20]
call fcn.0043b568
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x474e4c
mov byte [esp + 0x44], 1
call fcn.00401e60
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.00401920
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x48], 1
call fcn.00404aa0
add esp, 0xc
cmp eax, 2
mov ebx, 3
jl 0x41519c
mov ecx, dword [esp + 0x28]
cmp ecx, 1
jg 0x41514c
call fcn.0043ad73
mov eax, dword [esp + 0x24]
test ecx, ecx
jg 0x415159
call fcn.0043ad73
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.00402e00
movzx edx, byte [0x4921f4]
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 0x4151b3
push 0
push 0
push str.The_proxy_set_error_
call fcn.0043d2c4
lea ecx, [esp + 0x44]
call fcn.00401860
cmp dword [ebp], 0
jne 0x4151e8
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 0
call fcn.0043b745
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 0x4150cd
mov ecx, dword [esp + 0x44]
cmp dword [ecx - 0xc], 0
je 0x4151b9
push str.ProxyUser
lea ecx, [esp + 0x18]
push 0x474ad4
push ecx
call fcn.00408190
add esp, 0xc
mov edx, dword [esp + 0x14]
cmp dword [edx - 0xc], 0
mov byte [esp + 0x3c], bl
je 0x4152da
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x28]
call fcn.0043b60f
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push 0x474cb4
call fcn.00401e60
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.004019b0
mov byte [esp + 0x48], bl
call fcn.00404aa0
mov ebx, dword [sym.imp.WININET.dll_InternetSetOptionW]
mov edi, eax
add esp, 0xc
cmp edi, 1
jl 0x41529e
cmp dword [esp + 0x28], 0
jg 0x415279
call fcn.0043ad73
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 0x415284
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 0x4152da
cmp dword [esp + 0x28], 1
jg 0x4152af
call fcn.0043ad73
mov edx, dword [esp + 0x24]
mov edx, dword [edx + 4]
mov eax, edx
lea esi, [eax + 2]
jmp 0x4152c0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4152c0
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.00401990
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 0
call fcn.0043b745
lea ecx, [esp + 0x44]
call fcn.00401990
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