Function at 0x421140
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.0046b513
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.0046ce00
add esp, 0x10
lea ecx, [ebx + 0x6c]
push esi
call fcn.00401a90
mov eax, dword [ebp + 8]
push edi
lea edi, [ebx + 0x60]
mov dword [ebx + 0x24], eax
mov ecx, edi
call fcn.00401a90
mov eax, dword [edi + 4]
test eax, eax
jne 0x421293
mov ecx, dword [edi]
test ecx, ecx
je 0x421288
cmp word [ecx], ax
je 0x421288
nop dword [eax]
inc eax
cmp word [ecx + eax*2], 0
jne 0x421280
mov dword [edi + 4], eax
test eax, eax
je 0x421391
push 2
push 1
push 1
push 1
push 0x49fab4
mov ecx, edi
mov byte [edi + 8], 1
call fcn.00402380
test eax, eax
jne 0x421391
mov esi, dword [edi + 4]
test esi, esi
jne 0x4212d0
mov eax, dword [edi]
test eax, eax
je 0x4212cd
cmp word [eax], si
je 0x4212cd
inc esi
cmp word [eax + esi*2], 0
jne 0x4212c5
mov dword [edi + 4], esi
cmp esi, 2
jl 0x421391
mov eax, dword [edi]
cmp word [eax + 2], 0x3a
jne 0x421391
mov byte [edi + 8], 0
xor eax, eax
nop dword [eax]
inc eax
cmp word [eax*2 + 0x49fabc], 0
jne 0x4212f0
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.0046b90c
mov edx, dword [edi]
add esp, 4
mov dword [ebp - 8], edx
mov ecx, eax
mov edx, 0x49fabc
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 0x421330
cmp dword [edi], 0
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 8]
je 0x421371
movzx eax, word [edx]
mov ebx, eax
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 4]
test ax, ax
je 0x421371
movzx eax, ax
nop
mov word [ecx], ax
lea edx, [edx + 2]
movzx eax, word [edx]
add ecx, 2
test ax, ax
jne 0x421360
xor eax, eax
mov word [ecx], ax
mov eax, dword [edi]
test eax, eax
je 0x421385
push eax
call fcn.0046b303
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
lea ecx, [ebx + 0x78]
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
call fcn.00401a90
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.00401a90
push 0
push 0
push ebx
push 0x4214b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + 0x3c], eax
test eax, eax
jne 0x421466
mov eax, dword [ebx + 0x84]
test eax, eax
je 0x4213ee
push eax
call fcn.0046b303
add esp, 4
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x4213fe
push eax
call fcn.0046b303
add esp, 4
mov eax, dword [ebx + 0x6c]
test eax, eax
je 0x42140e
push eax
call fcn.0046b303
add esp, 4
mov eax, dword [edi]
test eax, eax
je 0x42141d
push eax
call fcn.0046b303
add esp, 4
mov eax, dword [ebx + 0x54]
test eax, eax
je 0x42142d
push eax
call fcn.0046b303
add esp, 4
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x42143d
push eax
call fcn.0046b303
add esp, 4
mov eax, dword [ebx + 0x44]
test eax, eax
je 0x42144d
push eax
call fcn.0046b303
add esp, 4
push 0x90
push ebx
call fcn.0046b8fe
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 0x42149f
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 0x42149f
cmp eax, 0xffffffff
je 0x42149f
push 0
push eax
call edi
cmp eax, 0x102
jne 0x42149f
call fcn.00403920
test al, al
jne 0x421478
push 5
call esi
jmp 0x421478
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x14