Function at 0x4116e0
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e060
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x48b998]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov esi, ecx
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x48], esi
test eax, eax
je 0x411c12
cmp eax, 0xffffffff
je 0x411c12
test ebx, ebx
jne 0x411736
mov dword [ebp - 0x3c], ebx
jmp 0x411768
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jle 0x411751
mov dword [ebp - 0x3c], 0
jmp 0x411768
lea eax, [edi + edi]
call fcn.00453210
mov eax, esp
push 3
push edi
push ebx
push eax
call fcn.00410160
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
jne 0x411773
xor eax, eax
jmp 0x41179d
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jle 0x411789
xor eax, eax
jmp 0x41179d
lea eax, [edi + edi]
call fcn.00453210
mov eax, esp
push 3
push edi
push ebx
push eax
call fcn.00410160
xor ecx, ecx
cmp byte [esi + 0xdc], cl
push 0
setne cl
xor edx, edx
dec ecx
and ecx, 0x600000
cmp dword [esi + 0xa0], 2
setne dl
dec edx
and edx, 0x800000
or ecx, edx
mov edx, dword [esi + 8]
or ecx, 0x4000000
push ecx
mov ecx, dword [ebp - 0x3c]
push 0x48deb8
push ecx
push str.HTTP_1.0
push eax
push 0x47ce24
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [esi + 0xc], eax
test eax, eax
je 0x411bfd
cmp eax, 0xffffffff
je 0x411bfd
push 0xa0000000
push 0xd
push str.Accept:___r_n
push eax
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
test eax, eax
jne 0x41182b
push 0x486048
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x40], str.additional_header_failed...
call fcn.0044aada
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x41198f
push 0x32
call fcn.0042bcf8
mov edi, eax
push 0xa
push edi
push ebx
mov dword [ebp - 0x3c], edi
call fcn.004527fe
mov eax, str.Range:_bytes
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411856
sub eax, edx
mov ebx, eax
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411866
sub eax, edx
mov edx, eax
mov eax, 0x47cf00
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411880
sub eax, esi
add eax, edx
lea ecx, [eax + ebx + 1]
push ecx
call fcn.0042bcf8
mov ebx, eax
mov eax, str.Range:_bytes
mov edx, ebx
add esp, 4
mov dword [ebx], 0
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4118b0
mov eax, edi
mov esi, edi
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4118c0
mov edi, ebx
sub eax, esi
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4118d0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4118f0
mov dx, word [0x47cf00]
push ebx
lea ecx, [ebp - 0x38]
mov word [edi], dx
call fcn.00402720
mov dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0x10
mov eax, dword [ebp - 0x34]
jae 0x41191e
lea eax, [ebp - 0x34]
push 0x20000000
push 0xffffffffffffffff
push eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
jne 0x411960
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.HttpAddRequestHeaders_Failed__GetLastError___d_n
call fcn.00452544
add esp, 8
push 0x486048
lea edx, [ebp - 0x40]
push edx
mov dword [ebp - 0x40], str.additional_header_failed...
call fcn.0044aada
push ebx
push str.range___s_n
call fcn.00452544
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0042bced
push ebx
call fcn.0042bced
add esp, 0x10
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.00402790
mov esi, dword [ebp - 0x48]
cmp dword [esi + 0xd8], 0
jbe 0x411baf
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
mov dword [ebp - 4], 1
mov eax, dword [esi + 0xa0]
sub eax, 1
je 0x4119cc
sub eax, 1
jne 0x4119d9
push str.https:__
jmp 0x4119d1
push str.http:__
lea ecx, [ebp - 0x38]
call fcn.00408ee0
cmp dword [esi + 0x28], 0x10
jb 0x4119e4
mov eax, dword [esi + 0x14]
jmp 0x4119e7
lea eax, [esi + 0x14]
push eax
lea ecx, [ebp - 0x38]
call fcn.0040e0d0
mov eax, dword [esi + 0xa0]
cmp eax, 1
jne 0x411a04
cmp dword [esi + 0x9c], 0x50
je 0x411a49
cmp eax, 2
jne 0x411a15
cmp dword [esi + 0x9c], 0x1bb
je 0x411a49
mov edx, dword [esi + 0x9c]
push edx
xor eax, eax
push 0x47ced4
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
lea eax, [ebp - 0x1c]
xor ecx, ecx
push 0xa
push eax
mov word [ebp - 0x1c], cx
call fcn.0044d461
add esp, 0x10
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x38]
call fcn.0040e0d0
mov edx, dword [ebp - 0x40]
push edx
lea ecx, [ebp - 0x38]
call fcn.0040e0d0
mov eax, dword [esi + 0xd4]
mov eax, dword [eax]
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 0xc0]
mov dword [ebp - 0x44], eax
lea esp, [esp]
mov edi, dword [esi + 0xd4]
mov ecx, dword [esi + 0xc0]
test eax, eax
je 0x411a84
cmp eax, ecx
je 0x411a89
call fcn.0044c44a
cmp dword [ebp - 0x40], edi
je 0x411ba0
lea esi, [ebp - 0x44]
call fcn.00414070
mov ebx, dword [eax]
cmp dword [ebx + 0x34], 0x10
jb 0x411aa7
mov edi, dword [ebx + 0x20]
jmp 0x411aaa
lea edi, [ebx + 0x20]
test edi, edi
jne 0x411ab3
mov dword [ebp - 0x3c], edi
jmp 0x411ae5
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x411ace
mov dword [ebp - 0x3c], 0
jmp 0x411ae5
lea eax, [esi + esi]
call fcn.00453210
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00410160
mov dword [ebp - 0x3c], eax
cmp dword [ebx + 0x18], 0x10
jb 0x411af0
mov edi, dword [ebx + 4]
jmp 0x411af3
lea edi, [ebx + 4]
test edi, edi
jne 0x411afb
xor ebx, ebx
jmp 0x411b27
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x411b11
xor ebx, ebx
jmp 0x411b27
lea eax, [esi + esi]
call fcn.00453210
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00410160
mov ebx, eax
cmp dword [ebp - 0x20], 0x10
jb 0x411b38
mov edi, dword [ebp - 0x34]
test edi, edi
jne 0x411b3b
xor eax, eax
jmp 0x411b65
lea edi, [ebp - 0x34]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x411b51
xor eax, eax
jmp 0x411b65
lea eax, [esi + esi]
call fcn.00453210
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00410160
mov ecx, dword [ebp - 0x3c]
push ecx
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetSetCookieW]
test eax, eax
je 0x411b8b
lea edi, [ebp - 0x1c]
lea esi, [ebp - 0x44]
call fcn.004140a0
mov eax, dword [ebp - 0x44]
mov esi, dword [ebp - 0x48]
jmp 0x411a70
push 0x486048
lea edx, [ebp - 0x40]
push edx
mov dword [ebp - 0x40], str.add_cookie_failed...
call fcn.0044aada
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.00402790
mov eax, dword [esi + 0xc]
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x411bda
push 0x486048
lea ecx, [ebp - 0x48]
push ecx
mov dword [ebp - 0x48], str.request_failed...
call fcn.0044aada
mov al, 1
lea esp, [ebp - 0x58]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044b1f7
mov esp, ebp
pop ebp
ret 0xc
push 0x486048
lea edx, [ebp - 0x40]
push edx
mov dword [ebp - 0x40], str.request_failed...
call fcn.0044aada
push 0x486048
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x40], str.handle_not_opened...
call fcn.0044aada
int3