Function at 0x411cc0
Capabilities:
Connect to http server
Create http request
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1a04
call fcn.004391d0
mov eax, dword [0x48f244]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1a04], ecx
lea ecx, [ebp - 0x19f8]
push edi
mov dword [ebp - 0x324], ebx
call fcn.00411c10
cmp dword [esi + 0x10], 0
mov byte [ebp - 0x19f9], 0
je 0x411fab
test ebx, ebx
je 0x411fab
lea eax, [ebp - 0x19f8]
push eax
push esi
call fcn.00413680
test al, al
je 0x411fab
mov eax, dword [ebp - 0x35c]
cmp eax, 4
je 0x411d39
cmp eax, 3
jne 0x411fab
push 0
push 0
push 0
push 0
push str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_122.0.0.0_Safari_537.36_Edg_122.0.0.0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, eax
test ebx, ebx
je 0x411f92
push 0
push 0
push 3
lea eax, [ebp - 0x16b8]
push eax
lea eax, [ebp - 0x17b8]
push eax
push dword [ebp - 0x350]
lea eax, [ebp - 0x19b8]
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x1a00], eax
test eax, eax
je 0x411f8f
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
lea ecx, [ebp - 0x328]
push 4
push ecx
push 0x49
push eax
mov dword [ebp - 0x328], 0x40
call esi
push 4
lea eax, [ebp - 0x328]
push eax
push 0x4a
push 0
call esi
cmp dword [ebp - 0x35c], 4
mov ecx, 0x80ccb300
push 0
mov eax, 0x804c8200
cmove eax, ecx
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x15b8]
push eax
push 0x483848
push dword [ebp - 0x1a00]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
test esi, esi
je 0x411f87
sub esp, 8
push 0
push 0
push esi
call fcn.004135b0
test al, al
je 0x411f84
push 0
lea eax, [ebp - 0x320]
mov dword [ebp - 0x31c], 0
push eax
lea eax, [ebp - 0x31c]
mov dword [ebp - 0x320], 4
push eax
push 0x20000013
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov eax, dword [ebp - 0x31c]
add eax, 0xffffff38
cmp eax, 0x63
ja 0x411efc
push 0x208
lea eax, [ebp - 0x318]
push 0
push eax
call fcn.00444b80
add esp, 0xc
mov dword [ebp - 0x320], 0x208
lea eax, [ebp - 0x320]
push 0
push eax
lea eax, [ebp - 0x318]
push eax
push 0x2a
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x411e98
xor al, al
jmp 0x411eb1
lea eax, [ebp - 0x318]
push str.bytes
push eax
call fcn.0044dcc4
add esp, 8
test eax, eax
sete al
mov ecx, dword [ebp - 0x1a04]
push dword [ebp - 0x324]
push esi
mov byte [ecx + 0x29], al
call fcn.00413510
test al, al
je 0x411f84
push esi
mov byte [ebp - 0x19f9], 1
call edi
push dword [ebp - 0x1a00]
call edi
push ebx
call edi
mov al, byte [ebp - 0x19f9]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004390b1
mov esp, ebp
pop ebp
ret 8
push 0x104
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.00444b80
add esp, 0xc
mov dword [ebp - 0x324], 0x104
lea eax, [ebp - 0x324]
push 0
push eax
lea eax, [ebp - 0x110]
push eax
push 0x14
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
push 0x104
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00444b80
add esp, 0xc
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp - 0x31c]
push eax
push eax
push str._status_:_d__data_:null__message_:__d__s_
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00414350
lea eax, [ebp - 0x218]
push eax
push str._s_r_n
call fcn.004142e0
add esp, 0x20
push esi
call edi
push dword [ebp - 0x1a00]
call edi
push ebx
call edi
mov al, byte [ebp - 0x19f9]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004390b1
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004390b1
mov esp, ebp
pop ebp
ret 8