Function at 0x100012ec
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push VariantClear
push 0
mov eax, dword [0x100a91b4]
test eax, eax
jne 0x10001334
mov eax, 0x10083594
push eax
push 1
mov ebx, 0x10004ae0
call fcn.10003d89
add esp, 0x10
mov dword [ebp - 0x1c], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x1000135d
mov eax, 0x10083595
push eax
push 1
mov eax, 1
mov ebx, 0x1005ea70
call fcn.10003d9b
add esp, 0x10
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10001388
push ebx
call fcn.10003d7d
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1000139c
push ebx
call fcn.10003d7d
add esp, 4
pop eax
mov dword [ebp - 4], eax
push str.d41d8cd98f00b204e9800998ecf8427e
push dword [ebp - 4]
call fcn.100011cc
add esp, 8
cmp eax, 0
jne 0x100013c8
mov dword [0x100a91b0], 0
jmp 0x100019c4
push dword [ebp - 4]
push str.http:__www.hybrid_analysis.com_search_query
mov ecx, 2
call fcn.10001269
add esp, 8
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
push 1
push 5
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
push 1
mov eax, str.User_Agent:_Mozilla_5.0__Windows_NT_6.1__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_103.0.0.0_Safari_537.36
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10001ad5
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10001478
push ebx
call fcn.10003d7d
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x10001488
push ebx
call fcn.10003d7d
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x10001498
push ebx
call fcn.10003d7d
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x100014a8
push ebx
call fcn.10003d7d
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x100014b8
push ebx
call fcn.10003d7d
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x100014c8
push ebx
call fcn.10003d7d
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x100014d8
push ebx
call fcn.10003d7d
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x100014e8
push ebx
call fcn.10003d7d
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x100014f8
push ebx
call fcn.10003d7d
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x1000150b
mov eax, 0x10083595
push eax
push 1
mov ebx, 0x100049d0
call fcn.10003d89
add esp, 0x10
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x10001531
push ebx
call fcn.10003d7d
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10001545
push ebx
call fcn.10003d7d
add esp, 4
pop eax
mov dword [ebp - 8], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0
push 0
push 0
push VariantClear
push 0
push 0x10083666
push VariantClear
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x1000157a
mov eax, 0x10083594
push eax
push 4
mov ebx, 0x100040a0
call fcn.10003d89
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jg 0x10001673
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0
push 0
push 0
push VariantClear
push 0
push 0x1008366f
push VariantClear
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x100015cb
mov eax, 0x10083594
push eax
push 4
mov ebx, 0x100040a0
call fcn.10003d89
add esp, 0x34
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
jg 0x10001673
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0
push 0
push 0
push VariantClear
push 0
push str.403_Forbidden
push VariantClear
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x1000161c
mov eax, 0x10083594
push eax
push 4
mov ebx, 0x100040a0
call fcn.10003d89
add esp, 0x34
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
jg 0x10001673
push VariantClear
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x1000164f
mov eax, 0x10083594
push eax
push 1
mov ebx, 0x10003e30
call fcn.10003d89
add esp, 0x10
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x10001673
xor eax, eax
jmp 0x10001678
mov eax, 1
test eax, eax
je 0x1000168f
mov dword [0x100a91b0], 0xffffffff
jmp 0x100019c4
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push str.AV_Detection:
push VariantClear
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x100016c0
mov eax, 0x10083594
push eax
push 4
mov ebx, 0x100040a0
call fcn.10003d89
add esp, 0x34
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x100016ef
mov dword [0x100a91b0], 0
jmp 0x100019c4
fild dword [ebp - 0xc]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fadd qword [0x10083698]
fstp qword [ebp - 0x28]
push 0x80000301
push 0
push pe_nt_image_headers32
fld qword [ebp - 0x28]
call fcn.100012c5
push 0x80000301
push 0
push eax
push VariantClear
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x10001730
mov eax, 0x10083594
push eax
push 3
mov ebx, 0x10003ee0
call fcn.10003d89
add esp, 0x28
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1000175a
push ebx
call fcn.10003d7d
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x100836a0
push VariantClear
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x1000178f
mov eax, 0x10083594
push eax
push 4
mov ebx, 0x100040a0
call fcn.10003d89
add esp, 0x34
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x100017be
mov dword [0x100a91b0], 0
jmp 0x100019c4
fild dword [ebp - 0xc]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fsub qword [0x100836a2]
fstp qword [ebp - 0x28]
push 0x80000301
push 0
push 2
fld qword [ebp - 0x28]
call fcn.100012c5
push 0x80000301
push 0
push eax
push VariantClear
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x100017ff
mov eax, 0x10083594
push eax
push 3
mov ebx, 0x10003ee0
call fcn.10003d89
add esp, 0x28
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10001829
push ebx
call fcn.10003d7d
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x10001840
mov eax, 0x10083594
push eax
push 1
mov ebx, 0x10004580
call fcn.10003d89
add esp, 0x10
mov dword [ebp - 0x1c], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x10001869
mov eax, 0x10083594
push eax
push 1
mov ebx, 0x10004250
call fcn.10003d89
add esp, 0x10
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10001892
push ebx
call fcn.10003d7d
add esp, 4
fld qword [ebp - 0x24]
call fcn.100012c5
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x100018b6
mov dword [0x100a91b0], 0
jmp 0x100019c4
cmp dword [ebp - 0x18], 0x3c
jl 0x100018d4
mov dword [0x100a91b0], 0x5a
jmp 0x100019c4
cmp dword [ebp - 0x18], 0x3c
jge 0x100018ef
cmp dword [ebp - 0x18], 0x32
jle 0x100018ef
mov eax, 1
jmp 0x100018f4
mov eax, 0
test eax, eax
je 0x10001910
mov dword [0x100a91b0], 0x28
jmp 0x100019c4
cmp dword [ebp - 0x18], 0x32
jge 0x1000192b
cmp dword [ebp - 0x18], 0x1e
jle 0x1000192b
mov eax, 1
jmp 0x10001930
mov eax, 0
test eax, eax
je 0x1000194c
mov dword [0x100a91b0], 0x1e
jmp 0x100019c4
cmp dword [ebp - 0x18], 0x1e
jge 0x10001967
cmp dword [ebp - 0x18], 0xa
jle 0x10001967
mov eax, 1
jmp 0x1000196c
mov eax, 0
test eax, eax
je 0x10001988
mov dword [0x100a91b0], 0x14
jmp 0x100019c4
cmp dword [ebp - 0x18], 0xf
jge 0x100019a3
cmp dword [ebp - 0x18], 5
jle 0x100019a3
mov eax, 1
jmp 0x100019a8
mov eax, 0
test eax, eax
je 0x100019bf
mov dword [0x100a91b0], 0xa
jmp 0x100019c4
jmp 0x100019c4
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100019d4
push ebx
call fcn.10003d7d
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100019e4
push ebx
call fcn.10003d7d
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x100019f4
push ebx
call fcn.10003d7d
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10001a04
push ebx
call fcn.10003d7d
add esp, 4
mov esp, ebp
pop ebp
ret