Function at 0x413d80
Capabilities:
Create http request

Disassembly:
push 0xffffffffffffffff
push 0x47c728
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a3e28]
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 0x48398c
push eax
mov dword [ebp], 0
call fcn.004094b0
add esp, 0xc
mov ecx, dword [esp + 0x44]
cmp dword [ecx - 0xc], 0
mov dword [esp + 0x3c], 0
jne 0x413e32
movzx edx, byte [0x4a5674]
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 0x41404a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41404a
lea ecx, [esp + 0x20]
call fcn.0044169c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x483df4
mov byte [esp + 0x44], 1
call fcn.00401ab0
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.00401590
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x48], 1
call fcn.004053d0
add esp, 0xc
cmp eax, 2
mov ebx, 3
jl 0x413eec
mov ecx, dword [esp + 0x28]
cmp ecx, 1
jg 0x413e9c
call fcn.00441013
mov eax, dword [esp + 0x24]
test ecx, ecx
jg 0x413ea9
call fcn.00441013
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.004029f0
movzx edx, byte [0x4a5674]
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 0x413f03
push 0
push 0
push str.The_proxy_set_error_
call fcn.004433b9
lea ecx, [esp + 0x44]
call fcn.004014d0
cmp dword [ebp], 0
jne 0x413f38
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 0
call fcn.00441879
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 0x413e1d
mov ecx, dword [esp + 0x44]
cmp dword [ecx - 0xc], 0
je 0x413f09
push 0x486184
lea ecx, [esp + 0x18]
push 0x48398c
push ecx
call fcn.004094b0
add esp, 0xc
mov edx, dword [esp + 0x14]
cmp dword [edx - 0xc], 0
mov byte [esp + 0x3c], bl
je 0x41402a
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x28]
call fcn.00441743
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push 0x483b6c
call fcn.00401ab0
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.00401630
mov byte [esp + 0x48], bl
call fcn.004053d0
mov ebx, dword [sym.imp.WININET.dll_InternetSetOptionW]
mov edi, eax
add esp, 0xc
cmp edi, 1
jl 0x413fee
cmp dword [esp + 0x28], 0
jg 0x413fc9
call fcn.00441013
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 0x413fd4
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 0x41402a
cmp dword [esp + 0x28], 1
jg 0x413fff
call fcn.00441013
mov edx, dword [esp + 0x24]
mov edx, dword [edx + 4]
mov eax, edx
lea esi, [eax + 2]
jmp 0x414010
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x414010
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.00401430
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 0
call fcn.00441879
lea ecx, [esp + 0x44]
call fcn.00401430
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