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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push 0x28
call fcn.004632a8
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xa
rep stosd dword es:[edi], eax
mov dword [ebx], 0xe6d1b5
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
push 1
push 0x1388
push 1
push 0x1388
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x98]
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x84]
push 1
push 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc4]
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xac]
push 0
push 0
push 0
push getpeername
push 0
push 0xe52b84
push getpeername
push 0
push str.User_Agent:_Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_116.0.0.0_Safari_537.36_Edg_116.0.1938.76_r_n
push 3
mov ebx, 0x464310
call fcn.004632ba
add esp, 0x28
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xb0]
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x419b09
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x419b05
imul eax, dword [ebx]
jmp 0x419afa
mov ecx, eax
test ecx, ecx
je 0x419b28
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x419b21
push ebx
push eax
call fcn.004632a2
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x419b0f
call fcn.004632a2
add esp, 4
mov eax, 0x500e25
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x8c]
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x419b5d
push ebx
call fcn.004632a2
add esp, 4
push 0
push 0x2f
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xd4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x419bab
push ebx
call fcn.004632a2
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov eax, 0xe52b84
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, str.location:
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00419757
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x419bfb
push ebx
call fcn.004632a2
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x419c0b
push ebx
call fcn.004632a2
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x419c1f
push ebx
call fcn.004632a2
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x500e25
push dword [ebp - 0xc]
call fcn.00401f44
add esp, 8
cmp eax, 0
jne 0x419c64
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x419c5a
push eax
mov ebx, eax
call fcn.00401839
inc eax
push eax
call fcn.004632a8
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x419c85
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x419c80
push eax
mov ebx, eax
call fcn.00401839
inc eax
push eax
call fcn.004632a8
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x419c85
push eax
mov ebx, dword [ebp - 4]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004632a2
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x419ca6
push ebx
call fcn.004632a2
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x419cb6
push ebx
call fcn.004632a2
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4