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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ba5f
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x20d8
call fcn.004391d0
mov eax, dword [0x48f244]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x958], 0
mov byte [ebp - 0x20c1], 1
mov dword [ebp - 0x944], 0xf
mov dword [ebp - 0x948], 0
mov byte [ebp - 0x958], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x91c], 0
mov word [ebp - 0x918], 0
mov byte [ebp - 0x916], 0
push 0x400
lea eax, [ebp - 0x830]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.00444b80
add esp, 0xc
mov dword [ebp - 0x860], 0
xor eax, eax
mov dword [ebp - 0x850], 0
lea ecx, [ebp - 0x860]
mov dword [ebp - 0x84c], 7
mov word [ebp - 0x860], ax
push 0x1d
push 0x483cf4
call fcn.004049f0
mov dword [ebp - 0x89c], 0
mov byte [ebp - 4], 3
xorps xmm0, xmm0
cmp dword [ebp - 0x850], 0
movlpd qword [ebp - 0x20e8], xmm0
je 0x40e09b
lea eax, [ebp - 0x8c0]
push eax
lea ecx, [ebp - 0x940]
call fcn.004137e0
lea ecx, [ebp - 0x20c0]
mov esi, 8
call fcn.00411c10
cmp dword [ebp - 0x850], 0
mov byte [ebp - 0x833], 0
je 0x40e08e
cmp dword [ebp - 0x84c], esi
lea ecx, [ebp - 0xa30]
push ecx
push 0
lea eax, [ebp - 0x860]
cmovae eax, dword [ebp - 0x860]
push 0
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x40e08e
mov edx, dword [ebp - 0x9fc]
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40dd90
sub ecx, edi
sar ecx, 1
je 0x40ddb5
push edx
push 0x824
push dword [ebp - 0xa04]
call fcn.004617b1
add esp, 0xc
mov eax, dword [ebp - 0xa24]
cmp eax, 4
je 0x40ddc9
cmp eax, 3
jne 0x40e08e
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 edi, eax
test edi, edi
je 0x40e08e
push 0
push 0
push 3
lea eax, [ebp - 0x1d80]
push eax
lea eax, [ebp - 0x1e80]
push eax
push dword [ebp - 0xa18]
lea eax, [ebp - 0x2080]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x20c8], eax
test eax, eax
je 0x40e01d
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
lea ecx, [ebp - 0x844]
push 4
push ecx
push 0x49
push eax
mov dword [ebp - 0x844], 0x40
call esi
push 4
lea eax, [ebp - 0x844]
push eax
push 0x4a
push 0
call esi
cmp dword [ebp - 0xa24], 4
mov ecx, 0x80ccb300
push 0
mov eax, 0x804c8200
cmove eax, ecx
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x1c80]
push eax
push 0x483848
push dword [ebp - 0x20c8]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
test esi, esi
je 0x40e00a
sub esp, 8
push 0
push 0
push esi
call fcn.004135b0
test al, al
je 0x40dfff
push 0
lea eax, [ebp - 0x840]
mov dword [ebp - 0x848], 0
push eax
lea eax, [ebp - 0x848]
mov dword [ebp - 0x840], 4
push eax
push 0x20000013
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov eax, dword [ebp - 0x848]
mov dword [ebp - 0x838], eax
add eax, 0xffffff38
cmp eax, 0x63
ja 0x40df77
push 0x208
lea eax, [ebp - 0x430]
push 0
push eax
call fcn.00444b80
add esp, 0xc
mov dword [ebp - 0x838], 0x208
lea eax, [ebp - 0x838]
push 0
push eax
lea eax, [ebp - 0x430]
push eax
push 0x2a
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x40df28
xor al, al
jmp 0x40df41
lea eax, [ebp - 0x430]
push str.bytes
push eax
call fcn.0044dcc4
add esp, 8
test eax, eax
sete al
mov byte [ebp - 0x917], al
lea ecx, [ebp - 0x940]
lea eax, [ebp - 0x20e8]
push eax
push esi
call fcn.00413510
test al, al
je 0x40dfff
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [ebp - 0x833], 1
call esi
jmp 0x40e010
push 0x104
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.00444b80
add esp, 0xc
mov dword [ebp - 0x83c], 0x104
lea eax, [ebp - 0x83c]
push 0
push eax
lea eax, [ebp - 0x120]
push eax
push 0x14
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
push 0x104
lea eax, [ebp - 0x228]
push 0
push eax
call fcn.00444b80
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
mov eax, dword [ebp - 0x838]
push eax
push eax
push str._status_:_d__data_:null__message_:__d__s_
lea eax, [ebp - 0x228]
push 0x104
push eax
call fcn.00414350
lea eax, [ebp - 0x228]
push eax
push str._s_r_n
call fcn.004142e0
add esp, 0x20
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
jmp 0x40e010
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x20c8]
call esi
mov esi, 8
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp byte [ebp - 0x833], 0
je 0x40e08e
cmp byte [ebp - 0x917], 0
je 0x40e03f
cmp byte [ebp - 0x916], 0
jne 0x40e044
mov esi, 1
push esi
push dword [ebp - 0x20e4]
lea eax, [ebp - 0x830]
push dword [ebp - 0x20e8]
lea ecx, [ebp - 0x940]
push 0x3ff
push eax
lea eax, [ebp - 0x860]
push eax
call fcn.00412610
lea ecx, [ebp - 0x8c0]
test al, al
jne 0x40e080
call fcn.0040dbb0
jmp 0x40e09b
call fcn.0040dbb0
mov byte [ebp - 0x833], 1
jmp 0x40e0a2
lea ecx, [ebp - 0x8c0]
call fcn.0040dbb0
jmp 0x40e09b
mov byte [ebp - 0x833], 0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x84c]
cmp edx, 8
jb 0x40e0e6
mov ecx, dword [ebp - 0x860]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e0dc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e6b2
push edx
push ecx
call fcn.00439095
add esp, 8
cmp byte [ebp - 0x833], 0
je 0x40e66c
lea eax, [ebp - 0x834]
push eax
call fcn.00442b92
add esp, 4
lea eax, [ebp - 0x9f0]
push 0x70
push 0
push eax
call fcn.00444b80
add esp, 0xc
lea eax, [ebp - 0x834]
lea ecx, [ebp - 0x9f0]
push eax
call fcn.00440f44
xorps xmm0, xmm0
mov byte [ebp - 4], 5
push 0
lea ecx, [ebp - 0x910]
movq qword [ebp - 0x8f0], xmm0
movups xmmword [ebp - 0x910], xmm0
movups xmmword [ebp - 0x900], xmm0
call fcn.0043ecce
push 1
lea eax, [ebp - 0x910]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x431]
push eax
lea eax, [ebp - 0x830]
push eax
lea ecx, [ebp - 0x9f0]
call fcn.00441f8a
test al, al
jne 0x40e18e
lea ecx, [ebp - 0x910]
call fcn.00440543
test al, al
je 0x40e637
push str.code
lea ecx, [ebp - 0x910]
call fcn.0043f142
mov esi, eax
mov ecx, esi
call fcn.004404bb
test al, al
je 0x40e64f
mov ecx, esi
call fcn.0043fa12
test eax, eax
jne 0x40e64f
push str.data
lea ecx, [ebp - 0x910]
call fcn.0043f142
mov edi, eax
mov ecx, edi
mov dword [ebp - 0x838], edi
call fcn.00440543
test al, al
je 0x40e637
lea eax, [ebp - 0x854]
mov ecx, edi
push eax
call fcn.00440241
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x854]
mov eax, dword [ebp - 0x850]
mov dword [ebp - 0x20c8], esi
mov dword [ebp - 0x840], eax
cmp esi, eax
je 0x40e62c
nop word [eax + eax]
xorps xmm0, xmm0
lea ecx, [ebp - 0x8c0]
push 0x4837fa
movups xmmword [ebp - 0x8c0], xmm0
movups xmmword [ebp - 0x8b0], xmm0
movq qword [ebp - 0x8a0], xmm0
call fcn.0043ec53
lea eax, [ebp - 0x8c0]
mov byte [ebp - 4], 8
push eax
xorps xmm0, xmm0
lea eax, [ebp - 0x8e8]
push esi
push eax
mov ecx, edi
movq qword [ebp - 0x8c8], xmm0
movups xmmword [ebp - 0x8e8], xmm0
movups xmmword [ebp - 0x8d8], xmm0
call fcn.004401ba
mov edx, str.enable
mov byte [ebp - 4], 9
mov ecx, esi
call fcn.0040d9d0
test al, al
je 0x40e2b8
lea ecx, [ebp - 0x8e8]
call fcn.00440440
test al, al
je 0x40e2b8
lea ecx, [ebp - 0x8e8]
call fcn.0043f6ff
test al, al
sete byte [ebp - 0x20c1]
jmp 0x40e5fd
mov edx, 0x483d48
mov ecx, esi
call fcn.0040d9d0
test al, al
je 0x40e5fd
lea ecx, [ebp - 0x8e8]
call fcn.00440543
test al, al
je 0x40e5fd
lea eax, [ebp - 0x86c]
push eax
lea ecx, [ebp - 0x8e8]
call fcn.00440241
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x868]
mov edi, dword [ebp - 0x86c]
mov dword [ebp - 0x83c], eax
cmp edi, eax
je 0x40e5ec
nop
xorps xmm0, xmm0
lea ecx, [ebp - 0x980]
push 0x4837fa
movups xmmword [ebp - 0x980], xmm0
movups xmmword [ebp - 0x970], xmm0
movq qword [ebp - 0x960], xmm0
call fcn.0043ec53
lea eax, [ebp - 0x980]
mov byte [ebp - 4], 0xb
push eax
xorps xmm0, xmm0
lea eax, [ebp - 0x898]
push edi
push eax
lea ecx, [ebp - 0x8e8]
movq qword [ebp - 0x878], xmm0
movups xmmword [ebp - 0x898], xmm0
movups xmmword [ebp - 0x888], xmm0
call fcn.004401ba
mov edx, 0x483d4c
mov byte [ebp - 4], 0xc
mov ecx, edi
call fcn.0040d9d0
test al, al
je 0x40e45f
lea ecx, [ebp - 0x898]
call fcn.0044054b
test al, al
je 0x40e45f
lea ecx, [ebp - 0x898]
call fcn.0043f797
mov edx, eax
mov dword [ebp - 0x20e0], 0
mov ecx, edx
mov dword [ebp - 0x20d0], 0
mov dword [ebp - 0x20cc], 0xf
mov byte [ebp - 0x20e0], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40e3d2
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x20e0]
call fcn.00405800
mov byte [ebp - 4], 0xd
call fcn.0040cb30
lea ecx, [eax + 0x7c]
lea eax, [ebp - 0x20e0]
cmp ecx, eax
je 0x40e418
cmp dword [ebp - 0x20cc], 0x10
push dword [ebp - 0x20d0]
cmovae eax, dword [ebp - 0x20e0]
push eax
call fcn.00405800
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x20cc]
cmp edx, 0x10
jb 0x40e5bd
mov ecx, dword [ebp - 0x20e0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e450
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e6b2
push edx
push ecx
call fcn.00439095
add esp, 8
jmp 0x40e5bd
mov edx, 0x483d50
mov ecx, edi
call fcn.0040d9d0
test al, al
je 0x40e54d
lea ecx, [ebp - 0x898]
call fcn.0044054b
test al, al
je 0x40e54d
lea ecx, [ebp - 0x898]
call fcn.0043f797
mov edx, eax
mov dword [ebp - 0x20e0], 0
mov ecx, edx
mov dword [ebp - 0x20d0], 0
mov dword [ebp - 0x20cc], 0xf
mov byte [ebp - 0x20e0], 0
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40e4c0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x20e0]
call fcn.00405800
mov byte [ebp - 4], 0xe
call fcn.0040cb30
lea ecx, [eax + 0x94]
lea eax, [ebp - 0x20e0]
cmp ecx, eax
je 0x40e509
cmp dword [ebp - 0x20cc], 0x10
push dword [ebp - 0x20d0]
cmovae eax, dword [ebp - 0x20e0]
push eax
call fcn.00405800
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x20cc]
cmp edx, 0x10
jb 0x40e5bd
mov ecx, dword [ebp - 0x20e0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e541
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e6b2
push edx
push ecx
call fcn.00439095
add esp, 8
jmp 0x40e5bd
mov edx, str.interval_d
mov ecx, edi
call fcn.0040d9d0
test al, al
je 0x40e586
lea ecx, [ebp - 0x898]
call fcn.004404bb
test al, al
je 0x40e586
lea ecx, [ebp - 0x898]
call fcn.0043fa12
mov esi, eax
call fcn.0040cb30
mov dword [eax + 0xac], esi
jmp 0x40e5bd
mov edx, 0x483d60
mov ecx, edi
call fcn.0040d9d0
test al, al
je 0x40e5bd
lea ecx, [ebp - 0x898]
call fcn.004405a7
test al, al
je 0x40e5bd
lea ecx, [ebp - 0x898]
call fcn.0043fdf0
mov esi, eax
call fcn.0040cb30
mov dword [eax + 0xb0], esi
lea ecx, [ebp - 0x898]
call fcn.0043eea4
lea ecx, [ebp - 0x980]
mov byte [ebp - 4], 0xa
call fcn.0043eea4
add edi, 0x18
cmp edi, dword [ebp - 0x83c]
jne 0x40e310
mov esi, dword [ebp - 0x20c8]
lea ecx, [ebp - 0x86c]
call fcn.0040d6f0
mov edi, dword [ebp - 0x838]
lea ecx, [ebp - 0x8e8]
call fcn.0043eea4
lea ecx, [ebp - 0x8c0]
mov byte [ebp - 4], 7
call fcn.0043eea4
add esi, 0x18
mov dword [ebp - 0x20c8], esi
cmp esi, dword [ebp - 0x840]
jne 0x40e220
lea ecx, [ebp - 0x854]
call fcn.0040d6f0
lea ecx, [ebp - 0x910]
call fcn.0043eea4
lea ecx, [ebp - 0x9f0]
call fcn.0040d440
jmp 0x40e66c
lea ecx, [ebp - 0x910]
call fcn.0043eea4
lea ecx, [ebp - 0x9f0]
call fcn.0040d440
mov byte [ebp - 0x20c1], 1
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x91c]
test ecx, ecx
je 0x40e68e
mov esi, dword [ecx]
lea eax, [ebp - 0x940]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov al, byte [ebp - 0x20c1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004390b1
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004480ba
int3