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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x51f390
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x30]
push ebp
push esi
push edi
mov edi, ecx
test ebx, ebx
jl 0x4cd107
call fcn.004cf540
cmp ebx, eax
jge 0x4cd107
mov eax, dword [edi + 0xf8]
push 0
sub esp, 0x10
mov esi, dword [esp + 0x4c]
mov ecx, dword [eax + ebx*4]
mov eax, dword [esp + 0x54]
mov edx, esp
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x58]
push ebx
mov dword [edx], eax
mov eax, dword [esp + 0x60]
push esi
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x68]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, edi
call fcn.004d25b0
mov ebp, eax
mov eax, dword [edi + 0x174]
test eax, eax
mov al, byte [esp + 0x50]
mov dword [esp + 0x38], ebp
je 0x4ccc14
test al, al
je 0x4ccb32
mov edx, dword [edi + 0x58]
push 0x3fe00000
push 0
push edx
call fcn.004e1f00
mov edx, dword [edi + 0x74]
mov ebx, dword [edi + 0x60]
add esp, 0xc
mov dword [esp + 0x50], 1
jmp 0x4ccb5c
mov eax, dword [edi + 0x124]
cmp ebx, eax
jne 0x4ccb4c
cmp eax, 0xffffffff
je 0x4ccb4c
mov eax, dword [edi + 0x58]
mov edx, dword [edi + 0x78]
mov ebx, dword [edi + 0x64]
jmp 0x4ccb54
mov eax, dword [edi + 0x58]
mov edx, dword [edi + 0x6c]
xor ebx, ebx
mov dword [esp + 0x50], 4
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0x40], 0
je 0x4ccb76
mov eax, dword [edi + 0x58]
mov edx, dword [edi + 0x7c]
xor ebx, ebx
mov dword [esp + 0x50], 4
test ebp, ebp
je 0x4ccb8c
mov ecx, dword [edi + 0x31c]
neg ecx
sbb ecx, ecx
and ecx, 0xfffffffe
add ecx, 3
jmp 0x4ccb8e
xor ecx, ecx
mov ebp, dword [edi + 0x174]
push ecx
cmp ebp, 3
jg 0x4ccbb8
mov ebx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0x48]
mov eax, dword [ebx + 4]
push edx
push ebp
push eax
push ecx
push esi
mov ecx, edi
call fcn.004d2290
jmp 0x4ccbd0
push ebx
mov ebx, dword [esp + 0x18]
push edx
push eax
mov edx, dword [ebx + 4]
lea eax, [esp + 0x50]
push edx
push eax
push esi
mov ecx, edi
call fcn.004d1ff0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4ccbe6
mov eax, dword [edi + 0x320]
test eax, eax
je 0x4cd107
mov ecx, dword [ebx + 0x2c]
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x48]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x5c]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov edx, dword [esp + 0x50]
push edx
jmp 0x4cd0ff
test al, al
jne 0x4cce84
test ebp, ebp
jne 0x4ccddb
mov eax, dword [edi + 0x168]
test eax, eax
je 0x4ccd0c
mov eax, dword [edi + 0x124]
mov ebp, dword [edi + 0x58]
cmp ebx, eax
jne 0x4ccc42
mov ebp, dword [edi + 0x64]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x4ccc50
mov ebp, dword [edi + 0x68]
mov ecx, dword [edi + 0x90]
push ecx
push 1
push 0
lea ecx, [esp + 0x2c]
call fcn.0051673d
lea edx, [esp + 0x20]
mov ecx, esi
push edx
mov dword [esp + 0x34], 0
call fcn.00515d24
push ebp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x54], eax
call fcn.0051678d
lea eax, [esp + 0x18]
mov ecx, esi
push eax
mov byte [esp + 0x34], 1
call fcn.00515d24
test ebx, ebx
mov ebp, eax
jne 0x4ccca1
inc dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esi + 4]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_Rectangle]
mov eax, dword [esp + 0x50]
mov ecx, esi
push eax
call fcn.00515d24
push ebp
mov ecx, esi
call fcn.00515d24
mov ebp, 0x927a9c
mov dword [esp + 0x18], ebp
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 2
call fcn.00516727
mov dword [esp + 0x20], ebp
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 3
call fcn.00516727
mov dword [esp + 0x30], 0xffffffff
jmp 0x4ccde9
mov ecx, dword [edi + 0x40]
push ecx
push 1
push 0
lea ecx, [esp + 0x2c]
call fcn.0051673d
lea edx, [esp + 0x20]
mov ecx, esi
push edx
mov dword [esp + 0x34], 4
call fcn.00515d24
mov ecx, dword [esp + 0x40]
mov ebp, eax
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x18]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00516215
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
push eax
push ecx
mov ecx, esi
call fcn.00516261
push ebp
mov ecx, esi
call fcn.00515d24
test ebx, ebx
jne 0x4ccd6a
inc dword [esp + 0x44]
mov edx, dword [edi + 0x40]
mov eax, dword [edi + 0x4c]
push edx
lea ecx, [esp + 0x44]
push eax
push ecx
mov ecx, esi
call fcn.00518dab
push 0xffffffffffffffff
lea edx, [esp + 0x44]
push 0xffffffffffffffff
push edx
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [edi + 0x124]
mov eax, dword [edi + 0x58]
cmp ebx, ecx
jne 0x4ccd9d
mov eax, dword [edi + 0x64]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x40]
test edx, edx
je 0x4ccdab
mov eax, dword [edi + 0x68]
lea edx, [esp + 0x40]
push eax
push edx
mov ecx, esi
call fcn.00518d35
mov dword [esp + 0x20], 0x927a9c
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 5
call fcn.00516727
mov dword [esp + 0x30], 0xffffffff
jmp 0x4ccde9
mov eax, dword [edi + 0x31c]
test eax, eax
je 0x4cd0c8
cmp ebx, dword [edi + 0x124]
jne 0x4ccdf6
mov eax, dword [edi + 0x78]
jmp 0x4ccdf9
mov eax, dword [edi + 0x6c]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x40]
test edx, edx
je 0x4cce07
mov eax, dword [edi + 0x7c]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x30]
push 1
mov ecx, esi
call fcn.00515e00
lea ecx, [edi + 0x158]
mov ebp, eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x28]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x50]
mov eax, dword [edx + 4]
push eax
call fcn.0050f924
mov eax, dword [eax]
mov edx, dword [esi]
lea ecx, [esp + 0x40]
push 0x25
push ecx
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x40], 6
call dword [edx + 0x68]
lea ecx, [esp + 0x50]
mov dword [esp + 0x30], 0xffffffff
call fcn.0050f8b6
push ebp
mov ecx, esi
call fcn.00515e00
mov eax, dword [esp + 0x3c]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x28]
jmp 0x4cd0c4
test ebp, ebp
jne 0x4cd02f
mov eax, dword [edi + 0x168]
test eax, eax
je 0x4ccf58
mov ecx, dword [edi + 0x90]
push ecx
push 1
push ebp
lea ecx, [esp + 0x24]
call fcn.0051673d
lea edx, [esp + 0x18]
mov ecx, esi
push edx
mov dword [esp + 0x34], 7
call fcn.00515d24
mov ebp, eax
mov eax, dword [edi + 0x5c]
push eax
lea ecx, [esp + 0x24]
call fcn.0051678d
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 8
push ecx
mov ecx, esi
call fcn.00515d24
test ebx, ebx
mov dword [esp + 0x50], eax
jne 0x4cceed
inc dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esi + 4]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_Rectangle]
push ebp
mov ecx, esi
call fcn.00515d24
mov ecx, dword [esp + 0x50]
push ecx
mov ecx, esi
call fcn.00515d24
mov ebp, 0x927a9c
mov dword [esp + 0x20], ebp
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 9
call fcn.00516727
mov dword [esp + 0x18], ebp
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xa
call fcn.00516727
mov dword [esp + 0x30], 0xffffffff
jmp 0x4cd03d
mov edx, dword [edi + 0x40]
lea ecx, [esp + 0x20]
push edx
push 1
push 0
call fcn.0051673d
lea eax, [esp + 0x20]
mov ecx, esi
push eax
mov dword [esp + 0x34], 0xb
call fcn.00515d24
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov ebx, eax
inc edx
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
mov ecx, esi
call fcn.00516215
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
push ecx
push edx
mov ecx, esi
call fcn.00516261
push ebx
mov ecx, esi
call fcn.00515d24
mov edx, dword [esp + 0x44]
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x54]
inc edx
mov dword [esp + 0x44], edx
push eax
lea edx, [esp + 0x44]
push ecx
push edx
mov ecx, esi
call fcn.00518dab
mov ebx, dword [sym.imp.USER32.dll_InflateRect]
push 0xffffffffffffffff
lea eax, [esp + 0x44]
push 0xffffffffffffffff
push eax
call ebx
mov ecx, dword [edi + 0x58]
mov edx, dword [edi + 0x40]
push ecx
lea eax, [esp + 0x44]
push edx
push eax
mov ecx, esi
call fcn.00518dab
push 0xffffffffffffffff
lea ecx, [esp + 0x44]
push 0xffffffffffffffff
push ecx
call ebx
mov edx, dword [edi + 0x5c]
lea eax, [esp + 0x40]
push edx
push eax
mov ecx, esi
call fcn.00518d35
mov dword [esp + 0x20], 0x927a9c
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0xc
call fcn.00516727
mov dword [esp + 0x30], 0xffffffff
jmp 0x4cd03d
mov eax, dword [edi + 0x31c]
test eax, eax
je 0x4cd0c8
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 0x70]
mov edx, dword [ecx + 0x40]
test edx, edx
je 0x4cd04e
mov eax, dword [edi + 0x7c]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x30]
push 1
mov ecx, esi
call fcn.00515e00
lea ecx, [edi + 0x158]
mov ebx, eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x28]
mov edx, dword [esp + 0x10]
mov ebp, eax
lea ecx, [esp + 0x14]
mov eax, dword [edx + 4]
push eax
call fcn.0050f924
mov eax, dword [eax]
mov edx, dword [esi]
lea ecx, [esp + 0x40]
push 0x25
push ecx
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x40], 0xd
call dword [edx + 0x68]
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.0050f8b6
push ebx
mov ecx, esi
call fcn.00515e00
mov edx, dword [esi]
push ebp
mov ecx, esi
call dword [edx + 0x28]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
test ebp, ebp
je 0x4cd0d6
mov eax, dword [edi + 0x320]
test eax, eax
je 0x4cd107
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x2c]
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x48]
sub esp, 0x10
mov edx, esp
push ebx
mov dword [edx], eax
mov eax, dword [esp + 0x60]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x64]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
push esi
mov ecx, edi
call fcn.004d2900
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 0x1c