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

Disassembly:
sub esp, 0x24
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
push esi
push edi
mov esi, ecx
push ebx
call fcn.004d96a0
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x4d6cf2
push eax
mov ecx, esi
call fcn.004daad0
test eax, eax
jne 0x4d6cf2
mov ecx, esi
call fcn.004d6c80
cmp eax, 0xffffffff
mov ecx, esi
jne 0x4d6ce1
call fcn.004dadc0
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4d6cf2
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 8
call fcn.004daaa0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 8
mov edx, dword [esi + 0x74]
xor eax, eax
cmp ebx, edx
setne al
test eax, eax
mov dword [esp + 0x3c], eax
je 0x4d6d30
mov eax, dword [esi + 0x21c]
test eax, eax
je 0x4d6d30
mov ecx, dword [esi + 0x328]
push ebx
push 2
push ecx
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 1
jne 0x4d6d30
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 8
mov eax, dword [esi + 0x78]
test eax, eax
je 0x4d6e18
mov eax, dword [esi + 0x7c]
test eax, eax
jne 0x4d6d74
push ebx
mov ecx, esi
call fcn.004d99b0
push ebx
mov ecx, esi
mov edi, eax
call fcn.004d9a10
test edi, edi
je 0x4d6d60
test eax, eax
je 0x4d6e18
push 0
mov ecx, esi
mov dword [esi + 0x84], ebx
call fcn.004d8c00
jmp 0x4d6e18
mov dword [esp + 0x38], 0
xor edi, edi
mov eax, dword [esi + 0x90]
test eax, eax
je 0x4d6d24
mov edx, dword [esi + 0x94]
sub edx, eax
mov eax, dword [esp + 0x38]
sar edx, 4
cmp eax, edx
jae 0x4d6d24
mov eax, dword [esi + 0x90]
xor edx, edx
add eax, edi
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4d6dc9
mov ebp, dword [eax + 8]
sub ebp, ecx
sar ebp, 2
cmp edx, ebp
jae 0x4d6dc9
cmp dword [ecx + edx*4], ebx
je 0x4d6dc0
inc edx
jmp 0x4d6da5
mov edx, dword [esp + 0x38]
cmp edx, 0xffffffff
jne 0x4d6dd7
mov ecx, dword [esp + 0x38]
inc ecx
add edi, 0x10
mov dword [esp + 0x38], ecx
jmp 0x4d6d7e
mov ecx, dword [esi + 0x90]
test ecx, ecx
jne 0x4d6de5
xor eax, eax
jmp 0x4d6df0
mov eax, dword [esi + 0x94]
sub eax, ecx
sar eax, 4
dec eax
cmp edx, eax
je 0x4d6e18
mov ecx, dword [esi + 0x90]
test ecx, ecx
jne 0x4d6e03
xor eax, eax
jmp 0x4d6e0e
mov eax, dword [esi + 0x94]
sub eax, ecx
sar eax, 4
dec eax
mov ecx, esi
push eax
push edx
call fcn.004d6f30
mov edi, dword [esi + 0x74]
mov ecx, esi
push edi
call fcn.004d96a0
test eax, eax
je 0x4d6e2e
mov ecx, eax
call fcn.004e6790
lea edx, [esp + 0x24]
mov ecx, esi
push edx
mov dword [esi + 0x74], ebx
call fcn.004d8a50
mov edx, dword [eax]
lea ecx, [esi + 0x1f8]
mov dword [esi + 0x1f8], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [esi + 0xbc], 0
mov dword [esi + 0xc0], 0xffffffff
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x208]
test eax, eax
je 0x4d6ed3
lea ecx, [edi - 1]
push ecx
mov ecx, esi
call fcn.004d96a0
test eax, eax
je 0x4d6e91
mov ecx, eax
call fcn.004dd190
inc edi
mov ecx, esi
push edi
call fcn.004d96a0
test eax, eax
je 0x4d6ea5
mov ecx, eax
call fcn.004dd190
mov edx, dword [esi + 0x74]
mov ecx, esi
dec edx
push edx
call fcn.004d96a0
test eax, eax
je 0x4d6ebc
mov ecx, eax
call fcn.004dd190
mov eax, dword [esi + 0x74]
mov ecx, esi
inc eax
push eax
call fcn.004d96a0
test eax, eax
je 0x4d6ed3
mov ecx, eax
call fcn.004dd190
mov ecx, esi
call fcn.004daaa0
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.004d7cb0
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
call fcn.004cc710
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4d6f18
mov eax, dword [esi + 0x21c]
test eax, eax
je 0x4d6f18
mov ecx, dword [esi + 0x328]
push 0
push 1
push ecx
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24
ret 8