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

Disassembly:
mov ecx, dword [0x99504c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5ec4dd
sub esp, 0x4c
mov eax, 0
mov dword [esp + 0x48], eax
mov byte [esp + 0x1f], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov eax, dword [esp + 0x50]
cmp word [eax + 0x28], 0x304
je 0x5ec4a1
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.005eb1b0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5ec48d
mov eax, dword [esp + 0xc]
lea ecx, [0x705ea0]
cmp eax, ecx
jne 0x5ec23d
mov edx, dword [esp + 0x10]
jmp 0x5ec242
mov edx, 0
jne 0x5ec3e8
mov eax, dword [esp + 0x50]
movzx ecx, byte [eax + 8]
test cl, cl
je 0x5ec3c7
mov ecx, dword [eax + 0x2c]
mov ecx, dword [ecx + 0xa8]
test ecx, ecx
je 0x5ec3a6
cmp ecx, 1
jne 0x5ec295
cmp dword [eax + 0x30], 1
jle 0x5ec29e
mov dword [esp], eax
mov byte [esp + 4], 0x64
call fcn.005e9f50
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
add esp, 0x4c
ret
cmp ecx, 2
jne 0x5ec366
lea ecx, [eax + 0x18]
mov dword [esp + 0x2c], ecx
mov dword [esp], ecx
call fcn.00472830
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
lea eax, [0x5ec4f0]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x48], eax
mov byte [esp + 0x1f], 1
mov eax, dword [esp + 0x50]
lea ecx, [eax + 0x14]
nop
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.0046d790
mov eax, dword [esp + 0x50]
mov dword [esp], eax
lea ecx, [0x7b23f0]
mov dword [esp + 4], ecx
lea ecx, [0x994f00]
mov dword [esp + 8], ecx
call fcn.005ef460
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x50]
mov dword [edx + 0x20], eax
mov eax, dword [0x995310]
test eax, eax
je 0x5ec33a
call fcn.00468e70
mov dword [edi], ecx
mov eax, dword [edx + 0x24]
mov dword [edi + 4], eax
mov dword [edx + 0x24], ecx
mov eax, dword [edx + 0x20]
test eax, eax
jne 0x5ec347
inc dword [edx + 0x30]
mov eax, dword [edx + 0x20]
mov ecx, dword [edx + 0x24]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
mov byte [esp + 0x1f], 0
mov edx, dword [esp + 0x48]
mov eax, dword [edx]
call eax
add esp, 0x4c
ret
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.005e9f50
lea eax, [0x701240]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x20
lea ecx, [0x746ab2]
mov dword [eax], ecx
lea ecx, [0x7b0bb8]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
add esp, 0x4c
ret
mov dword [esp], eax
mov byte [esp + 4], 0x64
call fcn.005e9f50
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
add esp, 0x4c
ret
mov dword [esp], eax
mov byte [esp + 4], 0x64
call fcn.005e9f50
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
add esp, 0x4c
ret
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
mov byte [esp + 4], 0xa
call fcn.005e9f50
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x3c], eax
lea eax, [0x705ea0]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x44], eax
lea eax, [0x751a0c]
mov dword [esp], eax
mov dword [esp + 4], 0x49
lea eax, [esp + 0x38]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c1f50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
add esp, 0x4c
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
add esp, 0x4c
ret
lea eax, [0x701240]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2d
lea ecx, [0x74c6b6]
mov dword [eax], ecx
lea ecx, [0x7b0bb8]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
add esp, 0x4c
ret
call fcn.00467a60
jmp fcn.005ec1c0