Function at 0x418850
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45aa01
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x474454]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x5c], 0
mov esi, 1
call fcn.00413f20
test al, al
je 0x41898f
push str.Using_proxy_configurations
lea ecx, [ebp - 0x48]
xor esi, esi
call fcn.00402280
push str.HttpRequest
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 1
call fcn.00402280
mov edx, dword [0x474238]
mov eax, dword [edx + 0xc]
mov ecx, 0x474238
mov byte [ebp - 4], 2
call eax
add eax, 0x10
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x58]
mov bl, 3
push eax
mov byte [ebp - 4], bl
call fcn.00422410
push esi
push eax
lea ecx, [ebp - 0x50]
push ecx
mov byte [ebp - 4], 4
call fcn.00406150
mov eax, dword [ebp - 0x58]
add eax, 0xfffffff0
add esp, 0x18
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x418926
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418949
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41896c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41898f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
push 0
push 0
push esi
push 0x45f4aa
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
test esi, esi
jne 0x4189bb
mov esi, dword [ebp - 0x54]
push str.__CR__FAILED_DOWNLOAD_READ__CR__
mov ecx, esi
call fcn.00402280
jmp 0x418bf0
push 0
lea ecx, [ebp - 0x6c]
call fcn.00426df0
mov ebx, 5
push 0x460bac
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call fcn.00426580
lea ecx, [ebp - 0x44]
push ecx
push str.method
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 6
call fcn.00428510
mov ecx, eax
call fcn.004281e0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call fcn.00426ef0
mov edx, dword [ebp - 0x34]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.00439f80
add esp, 8
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 7
call fcn.004265c0
lea ecx, [ebp - 0x44]
push ecx
push 0x460248
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 8
call fcn.00428510
mov ecx, eax
call fcn.004281e0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 7
call fcn.00426ef0
cmp dword [ebp - 0x18], 0x10
mov byte [ebp - 4], bl
jb 0x418a5b
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0043f2f0
add esp, 4
push 0x460ba8
lea ecx, [ebp - 0x44]
call fcn.00426580
lea eax, [ebp - 0x44]
push eax
push str.acceptedStatusCodes
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 9
call fcn.00428510
mov ecx, eax
call fcn.004284e0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call fcn.00426ef0
push 0x460ba4
lea ecx, [ebp - 0x44]
call fcn.00426580
lea ecx, [ebp - 0x44]
push ecx
push str.acceptTypes
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xa
call fcn.00428510
mov ecx, eax
call fcn.004281e0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call fcn.00426ef0
push str.Accept_Encoding:_gzip__deflate_r_n
lea ecx, [ebp - 0x44]
call fcn.00426580
lea edx, [ebp - 0x44]
push edx
push str.additionalRequestHeaders
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xb
call fcn.00428510
mov ecx, eax
call fcn.004281e0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call fcn.00426ef0
push 0
push 0
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x7c]
push esi
push edx
mov dword [ebp - 0x34], 0
call fcn.00414cf0
add esp, 0x18
push esi
mov byte [ebp - 4], 0xc
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push str.__CR__FAILED_DOWNLOAD_READ__CR__
lea ecx, [ebp - 0x30]
call fcn.00402280
push str.result
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xd
call fcn.00428510
mov ecx, eax
call fcn.00425ef0
test al, al
je 0x418b98
push str.result
lea ecx, [ebp - 0x7c]
call fcn.00428510
mov ecx, eax
call fcn.00426320
test al, al
je 0x418b98
push str.content
lea ecx, [ebp - 0x7c]
call fcn.00428510
mov ecx, eax
call fcn.00425f10
test al, al
je 0x418b98
push str.content
lea ecx, [ebp - 0x7c]
call fcn.00428510
mov ecx, eax
call fcn.00425e50
push eax
lea ecx, [ebp - 0x30]
call fcn.00402240
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
push eax
call fcn.004011e0
mov esi, dword [ebp - 0x54]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
add esp, 4
mov dword [ebp - 0x5c], 1
mov byte [ebp - 4], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418bd9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], bl
call fcn.00426ef0
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0
call fcn.00426ef0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043fdbf
mov esp, ebp
pop ebp
ret