Function at 0x258065fd
Capabilities:
Create http request

Disassembly:
push 0x34
push 0x25820698
call fcn.2581ad00
xor eax, eax
mov word [ebp - 0x1c], ax
mov ecx, dword [0x25823c58]
cmp dword [ecx + 0x118], eax
je 0x25806623
inc eax
jmp 0x25806c0c
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 [0x25823c58]
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 0x25806712
test eax, eax
jne 0x2580673f
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [0x25823e2c]
mov esi, dword [eax + 0x1218]
mov ecx, esi
call dword [0x2581d220]
call esi
pop ecx
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x25806c08
mov eax, dword [0x25823c58]
cmp dword [eax + 0x118], 0
je 0x25806c08
call fcn.2580c842
test al, al
je 0x25806822
mov dword [ebp - 4], ebx
mov eax, dword [0x25823c58]
push dword [eax + 0x118]
mov eax, dword [0x25823e2c]
mov esi, dword [eax + 0x1248]
mov ecx, esi
call dword [0x2581d220]
call esi
pop ecx
movzx eax, al
mov word [ebp - 0x1c], ax
jmp 0x2580684b
mov dword [ebp - 4], 2
push fcn.25807030
mov eax, dword [0x25823c58]
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 0x25806911
test eax, eax
jne 0x2580693a
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [0x25823e2c]
mov esi, dword [eax + 0x1218]
mov ecx, esi
call dword [0x2581d220]
call esi
mov eax, dword [ebp - 0x24]
pop ecx
test eax, eax
je 0x25806947
cmp word [ebp - 0x1c], 0
je 0x25806947
mov word [ebp - 0x1c], bx
jmp 0x2580694d
xor eax, eax
mov word [ebp - 0x1c], ax
call fcn.2580c7ba
movzx eax, ax
test ax, ax
je 0x25806c08
push 4
push 0x10
push 4
mov eax, dword [0x25823c58]
add eax, 0x124
push eax
push 0x4a
call fcn.2580d299
push 2
push 0x10
push 4
mov eax, dword [0x25823c58]
add eax, 0x120
push eax
push 0x49
call fcn.2580d299
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 0x25806a75
test eax, eax
jne 0x25806aa2
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [0x25823e2c]
mov esi, dword [eax + 0x1218]
mov ecx, esi
call dword [0x2581d220]
call esi
pop ecx
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x25806c08
push dword [ebp - 0x28]
call fcn.258010a7
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 0x25806ba1
test eax, eax
jne 0x25806bca
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [0x25823e2c]
mov esi, dword [eax + 0x1218]
mov ecx, esi
call dword [0x2581d220]
call esi
pop ecx
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x25806bff
cmp dword [ebp - 0x2c], 0
je 0x25806bff
mov eax, dword [ebp - 0x30]
cmp dword [eax], 3
jne 0x25806bff
mov eax, dword [0x25823c58]
mov word [eax + 0x130], bx
push 4
push 0x10
push 4
mov eax, dword [0x25823c58]
add eax, 0x128
push eax
push 0x67
call fcn.2580d299
add esp, 0x14
push dword [ebp - 0x30]
call fcn.2581a784
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