Function at 0x2580651d
Capabilities:
Create http request

Disassembly:
push 0x34
push 0x25820668
call fcn.2581aaa0
xor eax, eax
mov word [ebp - 0x1c], ax
mov ecx, dword [0x25823c50]
cmp dword [ecx + 0x118], eax
je 0x25806543
inc eax
jmp 0x25806b2c
mov dword [ebp - 4], eax
push 0x10000000
push eax
push eax
push eax
push dword [ecx + 0x134]
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ecx, dword [0x25823c50]
mov dword [ecx + 0x118], eax
xor ebx, ebx
inc ebx
mov eax, ebx
mov dword [ebp - 0x24], eax
push 0xfffffffffffffffe
pop edi
mov dword [ebp - 4], edi
jmp 0x25806632
test eax, eax
jne 0x2580665f
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [0x25823e24]
mov esi, dword [eax + 0x1218]
mov ecx, esi
call dword [0x2581d220]
call esi
pop ecx
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x25806b28
mov eax, dword [0x25823c50]
cmp dword [eax + 0x118], 0
je 0x25806b28
call fcn.2580c739
test al, al
je 0x25806742
mov dword [ebp - 4], ebx
mov eax, dword [0x25823c50]
push dword [eax + 0x118]
mov eax, dword [0x25823e24]
mov esi, dword [eax + 0x1248]
mov ecx, esi
call dword [0x2581d220]
call esi
pop ecx
movzx eax, al
mov word [ebp - 0x1c], ax
jmp 0x2580676b
mov dword [ebp - 4], 2
push fcn.25806f50
mov eax, dword [0x25823c50]
push dword [eax + 0x118]
call dword [sym.imp.WININET.dll_InternetSetStatusCallback]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov word [ebp - 0x1c], cx
mov eax, ebx
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], edi
jmp 0x25806831
test eax, eax
jne 0x2580685a
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [0x25823e24]
mov esi, dword [eax + 0x1218]
mov ecx, esi
call dword [0x2581d220]
call esi
mov eax, dword [ebp - 0x24]
pop ecx
test eax, eax
je 0x25806867
cmp word [ebp - 0x1c], 0
je 0x25806867
mov word [ebp - 0x1c], bx
jmp 0x2580686d
xor eax, eax
mov word [ebp - 0x1c], ax
call fcn.2580c6ba
movzx eax, ax
test ax, ax
je 0x25806b28
push 4
push 0x10
push 4
mov eax, dword [0x25823c50]
add eax, 0x124
push eax
push 0x4a
call fcn.2580d190
push 2
push 0x10
push 4
mov eax, dword [0x25823c50]
add eax, 0x120
push eax
push 0x49
call fcn.2580d190
add esp, 0x28
mov dword [ebp - 0x28], 0xc
mov dword [ebp - 4], 3
lea eax, [ebp - 0x28]
push eax
push 0
push 0x26
push 0
call dword [sym.imp.WININET.dll_InternetQueryOptionA]
mov eax, ebx
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], edi
jmp 0x25806995
test eax, eax
jne 0x258069c2
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [0x25823e24]
mov esi, dword [eax + 0x1218]
mov ecx, esi
call dword [0x2581d220]
call esi
pop ecx
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x25806b28
push dword [ebp - 0x28]
call fcn.25802400
mov esi, eax
mov dword [ebp - 0x30], esi
push dword [ebp - 0x28]
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
and dword [ebp - 0x2c], 0
mov dword [ebp - 4], 4
lea eax, [ebp - 0x28]
push eax
push esi
push 0x26
push 0
call dword [sym.imp.WININET.dll_InternetQueryOptionA]
mov dword [ebp - 0x2c], eax
mov eax, ebx
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], edi
jmp 0x25806ac1
test eax, eax
jne 0x25806aea
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [0x25823e24]
mov esi, dword [eax + 0x1218]
mov ecx, esi
call dword [0x2581d220]
call esi
pop ecx
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x25806b1f
cmp dword [ebp - 0x2c], 0
je 0x25806b1f
mov eax, dword [ebp - 0x30]
cmp dword [eax], 3
jne 0x25806b1f
mov eax, dword [0x25823c50]
mov word [eax + 0x130], bx
push 4
push 0x10
push 4
mov eax, dword [0x25823c50]
add eax, 0x128
push eax
push 0x67
call fcn.2580d190
add esp, 0x14
push dword [ebp - 0x30]
call fcn.2581a534
pop ecx
mov ax, word [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret