Function at 0x49b990
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 0x49be46
sub esp, 0x40
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x24]
mov edx, dword [ecx + 0xf4]
test edx, edx
je 0x49bd8f
mov dword [esp + 0x3c], ecx
lea edx, [ecx + 0xf4]
mov dword [esp + 0x38], edx
mov ebx, dword [eax + 0x18]
movzx ebp, byte [ecx + 0x12f]
mov dword [esp], edx
mov dword [esp + 4], ebx
xchg ebp, eax
mov byte [esp + 8], al
xchg ebp, eax
call fcn.0049b2e0
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x49bd73
mov edx, dword [esp + 0x48]
mov eax, dword [edx]
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov ebx, dword [esp + 8]
test eax, eax
je 0x49ba6c
mov eax, dword [esp + 4]
lea edx, [0x7b0b54]
cmp eax, edx
jne 0x49ba58
mov dword [esp + 0x24], ebx
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x7aff64]
mov dword [esp + 8], eax
call fcn.00404290
movzx eax, byte [esp + 0xc]
test al, al
je 0x49ba50
mov eax, dword [esp + 0x44]
jmp 0x49ba82
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ebx
add esp, 0x40
ret
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x24]
movzx ecx, byte [ecx + 0x12c]
test cl, cl
jne 0x49bd58
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0x3c]
movzx ebx, byte [edx + 0x12f]
mov ebp, dword [esp + 0x38]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov byte [esp + 8], bl
call fcn.0049b400
mov eax, dword [esp + 0xc]
test eax, eax
je 0x49bc95
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x24], ebx
lea ebp, [0x7b0e24]
cmp ecx, ebp
jne 0x49bb05
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x994f00]
mov dword [esp + 8], eax
call fcn.00404290
movzx eax, byte [esp + 0xc]
test al, al
jne 0x49bb6b
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
cmp dword [0x967238], ecx
jne 0x49bb3c
mov eax, dword [0x96723c]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00404290
movzx eax, byte [esp + 0xc]
test al, al
jne 0x49bb6b
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
cmp dword [0x967248], ecx
jne 0x49bddd
mov eax, dword [0x96724c]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00404290
movzx eax, byte [esp + 0xc]
test al, al
je 0x49bddd
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
call fcn.0047afa0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
je 0x49bbdf
lea eax, [0x7b0b54]
cmp ecx, eax
je 0x49bba3
mov ebx, 1
jmp 0x49bbe7
mov dword [esp + 0x34], edx
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x7aff6c]
mov dword [esp + 8], eax
call fcn.00404290
movzx eax, byte [esp + 0xc]
xor eax, 1
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov ebx, eax
lea eax, [0x7b0b54]
jmp 0x49bbe7
lea eax, [0x7b0b54]
xor ebx, ebx
test bl, bl
jne 0x49bdca
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx + 0xf4]
test ecx, ecx
je 0x49bc16
mov eax, dword [esp + 0x44]
mov edx, dword [eax + 0x18]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004645e0
lea eax, [0x7b0b54]
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + 0x1c]
test edx, edx
je 0x49bc7a
mov dword [esp], edx
call fcn.00409c30
mov eax, dword [esp + 4]
mov dword [esp + 0x28], eax
lea ecx, [0x7b0b54]
mov dword [esp], ecx
lea ecx, [0x7aff70]
mov dword [esp + 8], ecx
call fcn.00404290
movzx eax, byte [esp + 0xc]
test al, al
je 0x49bc5c
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
jmp 0x49bc66
lea eax, [0x7b0b54]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
add esp, 0x40
ret
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
add esp, 0x40
ret
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x49bd3d
mov dword [esp], ecx
call fcn.00409c30
mov eax, dword [esp + 4]
mov dword [esp + 0x28], eax
lea ecx, [0x7b0b54]
mov dword [esp], ecx
lea edx, [0x7aff3c]
mov dword [esp + 8], edx
call fcn.00404290
movzx eax, byte [esp + 0xc]
test al, al
jne 0x49bcfe
lea eax, [0x7b0b54]
mov dword [esp], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], ecx
lea edx, [0x7aff68]
mov dword [esp + 8], edx
call fcn.00404290
movzx eax, byte [esp + 0xc]
test al, al
je 0x49bd1f
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x4c], eax
lea eax, [0x7b0b54]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x54], eax
add esp, 0x40
ret
mov dword [esp + 0x4c], 0
lea eax, [0x7b0b54]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x54], eax
add esp, 0x40
ret
mov eax, dword [eax + 0x20]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
add esp, 0x40
ret
mov eax, dword [eax + 0x20]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
add esp, 0x40
ret
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
add esp, 0x40
ret
lea eax, [0x701240]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x36
lea ecx, [0x74f0bc]
mov dword [eax], ecx
mov dword [esp + 0x4c], 0
lea ecx, [0x7b0bb8]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
add esp, 0x40
ret
test ecx, ecx
je 0x49bdd1
mov ecx, dword [ecx + 4]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.00438b10
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x24]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x747a2a]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x22
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.00452120
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409d40
mov eax, dword [esp + 8]
lea ecx, [0x6f44e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00438b10
nop
call fcn.00467a60
jmp fcn.0049b990