Function at 0x41e820
Capabilities:
Create thread
Reference http user-agent string
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0x90
mov edi, edx
mov esi, ecx
call fcn.0048a123
mov ebx, eax
push 0x44
push 0
push ebx
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov byte [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x54], 0
mov byte [ebx + 0x5c], 1
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x60], 0
mov byte [ebx + 0x68], 1
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x6c], 0
mov byte [ebx + 0x74], 1
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x78], 0
mov byte [ebx + 0x80], 1
mov dword [ebp - 4], ebx
mov dword [ebx + 0x88], 0
mov dword [ebx + 0x84], 0
mov byte [ebx + 0x8c], 1
call fcn.0048ba10
add esp, 0x10
lea ecx, [ebx + 0x6c]
push esi
call fcn.00401860
mov eax, dword [ebp + 8]
push edi
lea edi, [ebx + 0x60]
mov dword [ebx + 0x24], eax
mov ecx, edi
call fcn.00401860
mov eax, dword [edi + 4]
test eax, eax
jne 0x41e973
mov ecx, dword [edi]
test ecx, ecx
je 0x41e968
cmp word [ecx], ax
je 0x41e968
nop dword [eax]
inc eax
cmp word [ecx + eax*2], 0
jne 0x41e960
mov dword [edi + 4], eax
test eax, eax
je 0x41ea71
push 2
push 1
push 1
push 1
push 0x4bfc34
mov ecx, edi
mov byte [edi + 8], 1
call fcn.004025a0
test eax, eax
jne 0x41ea71
mov esi, dword [edi + 4]
test esi, esi
jne 0x41e9b0
mov eax, dword [edi]
test eax, eax
je 0x41e9ad
cmp word [eax], si
je 0x41e9ad
inc esi
cmp word [eax + esi*2], 0
jne 0x41e9a5
mov dword [edi + 4], esi
cmp esi, 2
jl 0x41ea71
mov eax, dword [edi]
cmp word [eax + 2], 0x3a
jne 0x41ea71
mov byte [edi + 8], 0
xor eax, eax
nop dword [eax]
inc eax
cmp word [eax*2 + 0x4bfc3c], 0
jne 0x41e9d0
add esi, eax
xor ecx, ecx
mov edx, 2
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048a2cb
mov edx, dword [edi]
add esp, 4
mov dword [ebp - 8], edx
mov ecx, eax
mov edx, 0x4bfc3c
mov dword [ebp - 0xc], eax
mov ebx, 0x5c
sub edx, eax
mov word [ecx], bx
add ecx, 2
movzx eax, word [edx + ecx]
mov ebx, eax
test ax, ax
jne 0x41ea10
cmp dword [edi], 0
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 8]
je 0x41ea51
movzx eax, word [edx]
mov ebx, eax
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 4]
test ax, ax
je 0x41ea51
movzx eax, ax
nop
mov word [ecx], ax
lea edx, [edx + 2]
movzx eax, word [edx]
add ecx, 2
test ax, ax
jne 0x41ea40
xor eax, eax
mov word [ecx], ax
mov eax, dword [edi]
test eax, eax
je 0x41ea65
push eax
call fcn.00489f13
add esp, 4
mov eax, dword [ebp - 0xc]
mov dword [edi], eax
mov dword [edi + 4], esi
mov byte [edi + 8], 1
push str.https:__www.google.com_search
lea ecx, [ebx + 0x78]
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
call fcn.00401860
push str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_112.0.0.0_Safari_537.36
lea ecx, [ebx + 0x84]
call fcn.00401860
push 0
push 0
push ebx
push 0x41eb90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + 0x3c], eax
test eax, eax
jne 0x41eb46
mov eax, dword [ebx + 0x84]
test eax, eax
je 0x41eace
push eax
call fcn.00489f13
add esp, 4
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x41eade
push eax
call fcn.00489f13
add esp, 4
mov eax, dword [ebx + 0x6c]
test eax, eax
je 0x41eaee
push eax
call fcn.00489f13
add esp, 4
mov eax, dword [edi]
test eax, eax
je 0x41eafd
push eax
call fcn.00489f13
add esp, 4
mov eax, dword [ebx + 0x54]
test eax, eax
je 0x41eb0d
push eax
call fcn.00489f13
add esp, 4
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x41eb1d
push eax
call fcn.00489f13
add esp, 4
mov eax, dword [ebx + 0x44]
test eax, eax
je 0x41eb2d
push eax
call fcn.00489f13
add esp, 4
push 0x90
push ebx
call fcn.0048a2bd
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
test byte [ebp + 8], 1
je 0x41eb7f
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x41eb7f
cmp eax, 0xffffffff
je 0x41eb7f
push 0
push eax
call edi
cmp eax, 0x102
jne 0x41eb7f
call fcn.00403550
test al, al
jne 0x41eb58
push 5
call esi
jmp 0x41eb58
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x14